From mboxrd@z Thu Jan 1 00:00:00 1970 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 DC49EC433EF for ; Thu, 13 Jan 2022 19:01:21 +0000 (UTC) Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.94.2) (envelope-from ) id 1n85LX-0005Nv-2a; Thu, 13 Jan 2022 14:01:15 -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 1n85LT-0005Np-D3 for kernelnewbies@kernelnewbies.org; Thu, 13 Jan 2022 14:01:12 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id D6FB03200946; Thu, 13 Jan 2022 14:01:07 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Thu, 13 Jan 2022 14:01:08 -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=EkoTeZcKghZBe5FuRu2qjf1Hccb uXfHMybZSLavKdBQ=; b=iFNl8inJcF6paSmzNXTS3xoy0p5hvKAYXiQs0tzbMVi 4R/m6KxwdIDs5gVLgfYAwhKjM/8I1ssmJA12T4ubH4YDV3v19jtR6bL3Tr3spTgF NKf7hRCAdwgWC5u59Sg6tGWc9+Yzg7AVmrNTPKz+YyATp/3XLhwLBIh2c1i23xhB +U2+m0hVsCyMQQ3O7GGGtiklmQONXh7RO1sTRn0tfEH+5A/37zytUvvT6giPyJds NjRgReXUrgiHLU/i1mywB+lwFI16FyUhxfPMhVIAFx6H3soGjSpGghyygFwbfjpC ARX6/dQ9LiVShdQETYnB702owc2Rgr3jCMukyLvjQnw== 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=EkoTeZ cKghZBe5FuRu2qjf1HccbuXfHMybZSLavKdBQ=; b=EvAYgfW5800QB8RDxBv4kP gn2jJCQGcxlqljmfp/19LaFFZhYUMVHIZyJMzCy5YMtK56WJ57OQt5Mu8XRFdjWP 0TMgEC6qFjtyw5Mw8eQOWHd9kZGoamQDwwzs8zY2yLMBsrNzJP+X3PoYClhNco+d plg7Pb8UN2pBov44eiUgI0IrOqDMR/MTskOxolS13Sn/JK1iAxMk05cxCjqLL2zQ 7CTP3ZK8Q7X+lsymo6hLQGmEW5NO+mUIdxhMzQQoxMVGnhJ34OFMrXFyZ65UK56A nLPX96CmjcQ90cMOLy7mokaa+HZWNXG+3h6pa73EFv01e1FeqyXooZh2Z8PqANyA == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrtdefgdduudelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpefirhgvghcu mffjuceoghhrvghgsehkrhhorghhrdgtohhmqeenucggtffrrghtthgvrhhnpeevueehje fgfffgiedvudekvdektdelleelgefhleejieeugeegveeuuddukedvteenucevlhhushht vghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehgrhgvgheskhhrohgrhh drtghomh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 13 Jan 2022 14:01:06 -0500 (EST) Date: Thu, 13 Jan 2022 20:01:04 +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: <03a58466-9f0f-cf77-4809-06a28dadd1c7@gmail.com> 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.org 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. Messing around with old USB drivers that "just work" and you don't have the hardware for, might be a tough thing to work on as a beginning task. No need to touch things that no one is complaining about if you can help it :) thanks, greg k-h _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies