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 69BE7C433F5 for ; Thu, 13 Jan 2022 15:37:44 +0000 (UTC) Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.94.2) (envelope-from ) id 1n82AV-0005q8-Nx; Thu, 13 Jan 2022 10:37:39 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by shelob.surriel.com with esmtps (TLS1.2) tls TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1n82AR-0005q2-SZ for kernelnewbies@kernelnewbies.org; Thu, 13 Jan 2022 10:37:35 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 96DFF5C0214; Thu, 13 Jan 2022 10:37:35 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Thu, 13 Jan 2022 10:37:35 -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=0pdiTPTg/rhvPQ79YFGHKopOdTa ECuQyPJ9d+SiiUVg=; b=aYmak/WAPdRqNfx5qgIAF343AmOJzlwK8R5cAIob40S 6EAz0jnnkD7orafuQ9OCN+SRKKPKmFKQubKzQA6r5vg6odWSqDmNSiqv3TxqjhCp JGjA+cb25Spigk1TQDhrsCAtgU3SKOH918QVAFh9B2mqOhmlpV2Lo+MnR3rvf11S GhmM3KV5h8aNS/Jp4noipzWnVES9LldZG7hQfypjIHd1wJK8///B6XkrWmy+OcL4 TElW6yqpHUjj/qvTpjLKaiw2uHB9/FRq3HPGRcd46Sb7xAl0K+8O5qSuatMfsYi6 R84SX24XoyrGEp9vvPZaQbX560D9wLj+vMsYJddK6Xg== 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=0pdiTP Tg/rhvPQ79YFGHKopOdTaECuQyPJ9d+SiiUVg=; b=jHwDm2AvuQOcQ1xRVOE6vc Ufpg4dMME90jaHoUZYTcVmzhl+pCk0E3dD7S3/Ay8WtOOPSx8Og3pAPVAQAESuAy C9BCvIB+e7tKE1S4U3vTfd/Sac623nX2E8FFz9iC3rE535LHE4xTZWTFHOXoDUHq v67tZ8glJJHBTaTQgSPiEV7zxjL6+4LeNpi9xNhfL+O4n89bIIt3sTHmiBkCYIZz zLJB+XllyMIqXrtyoKE3qt5csdVquxvu6LteSbT8vj/5y86cdVWhhrtYN4Y6Uphq fZDIKkEbKQP422A0obsIOuOpMFh7Qnicm6wfst0v4+D4YOIzjyPRHSB2NAN6gnIA == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrtdefgdejkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggujgesthdtredttddtvdenucfhrhhomhepifhrvghgucfm jfcuoehgrhgvgheskhhrohgrhhdrtghomheqnecuggftrfgrthhtvghrnhepveeuheejgf ffgfeivddukedvkedtleelleeghfeljeeiueeggeevueduudekvdetnecuvehluhhsthgv rhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepghhrvghgsehkrhhorghhrd gtohhm X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 13 Jan 2022 10:37:34 -0500 (EST) Date: Thu, 13 Jan 2022 16:37:32 +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> 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.org On Thu, Jan 13, 2022 at 04:33:50PM +0100, 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. That should be: if they can be written in userspace instead. _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies