Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1A06AC433EF for ; Thu, 13 Jan 2022 19:08:52 +0000 (UTC) Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.94.2) (envelope-from ) id 1n85Ss-0008OS-0X for kernelnewbies@archiver.kernel.org; Thu, 13 Jan 2022 14:08:50 -0500 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by shelob.surriel.com with esmtps (TLS1.2) tls TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1n85RC-0006Q9-Lh for kernelnewbies@kernelnewbies.org; Thu, 13 Jan 2022 14:07:07 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 7ADA33200FA9; Thu, 13 Jan 2022 14:07:03 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Thu, 13 Jan 2022 14:07:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kroah.com; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=SG3kY+pALIUZqiCqylQeRHnBeN4 Z6g1R8Ulyk1ii/eU=; b=pUhbHMOPWEZwptFlXydz6bxd2NUF5fAkPjNrdJf8fwX EU32oc2zh6mxIR+udULRCv0WUlYuRwz3huUpHMFvXYImEriReQ9oxV/Pr8e6mtuy WQ+saiYcTmaUQNjVl7F/X1B4P9M7sqgxsHyQjcV1iFFxpgU5UafIAUzCzqcHc9si 37bis5bN8fV3X28zUUEXomK3zP0DSG2Of5lSxzHb5lJ+W8mM/vSHul15edTJg/T5 yXo471pSFCy3KGn89W6xlgnj6OahYdS2GQ/rbYyY/1M13r12ZbFk9kSKkk7DRm4r 6I+TqEG2oFsxLbQlEXrQekmKYh7uzReszXbt7S4nkbg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=SG3kY+ pALIUZqiCqylQeRHnBeN4Z6g1R8Ulyk1ii/eU=; b=NKyUL4bK0LAz756HysE0Nu eUyuLxlxaB9rIl1aNL7C5OFi+USNzy2K41wFySpR8KyacawvyREmi6waC3vtgDDl msr1jqN4fTv3dxgeV1iyr8zeiDNeEbik7TRPvyhOvNOccggtQQr2GPXkUm8xJOle qKzfp5wQg0k4D20tnfsjyEp+aai2Pf6j89P64M7slUwacH8Yo9G7wuYF1K5xiOpU CiKHbijoqgYI28yDSAVxVcqCnEj4xb3GQvANxKN9nTsjJ7DiEECGsMw4AC/UhssG LMq7z1pHIBdFYysSAA46e2n2GJLUXXsOrrL5ziZxVdlNPn2bD8DXtQDe/gGZtDEQ == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrtdefgdduvdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpefirhgvghcu mffjuceoghhrvghgsehkrhhorghhrdgtohhmqeenucggtffrrghtthgvrhhnpeevueehje fgfffgiedvudekvdektdelleelgefhleejieeugeegveeuuddukedvteenucevlhhushht vghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehgrhgvgheskhhrohgrhh drtghomh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 13 Jan 2022 14:07:02 -0500 (EST) Date: Thu, 13 Jan 2022 20:07:00 +0100 From: Greg KH To: Philipp Hortmann Subject: Re: Where to find the information how to write a state of the art USB driver? Message-ID: References: <28e1c700-da54-8793-8c60-4ec3697fe35d@gmail.com> <03a58466-9f0f-cf77-4809-06a28dadd1c7@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Cc: kernelnewbies@kernelnewbies.org X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kernelnewbies-bounces+kernelnewbies=archiver.kernel.org@kernelnewbies.org On Thu, Jan 13, 2022 at 08:01:04PM +0100, Greg KH wrote: > On Thu, Jan 13, 2022 at 07:54:19PM +0100, Philipp Hortmann wrote: > > On 1/13/22 4:33 PM, Greg KH wrote: > > > On Thu, Jan 13, 2022 at 07:39:38AM +0100, Philipp Hortmann wrote: > > > > On 1/12/22 10:54 AM, Greg KH wrote: > > > > > That driver tried to be an example for an unknown device, doing multiple > > > > > different things that no single driver/device would probably ever need. > > > > > Also it can almost always just be replaced with a simple userspace > > > > > program using libusb, as I bet your driver could be replaced with as > > > > > well, right? > > > > Yes it can be replaced by a userspace program but even this is not required. > > > It is an issue if you are trying to write a new driver. We do not take > > > new drivers into the kernel tree if they can be in the kernel instead. > > > > > > > Sorry I did not clearly express what I plan to do. I plan to do maintenance > > and bug fixes on the kernel. > > That's wonderful, try starting out in drivers/staging/*/TODO for lots of > things that need work. And, there are USB drivers in there as well, if that is what you are interested in working on. _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies