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 B5A2EC433EF for ; Thu, 13 Jan 2022 18:54:49 +0000 (UTC) Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.94.2) (envelope-from ) id 1n85Ev-0004Cz-6J; Thu, 13 Jan 2022 13:54:25 -0500 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]) by shelob.surriel.com with esmtps (TLS1.2) tls TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1n85Es-0004Ct-SZ for kernelnewbies@kernelnewbies.org; Thu, 13 Jan 2022 13:54:22 -0500 Received: by mail-wr1-x42f.google.com with SMTP id a5so11857242wrh.5 for ; Thu, 13 Jan 2022 10:54:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=PxYwT0LOGGpmDuGd/85HoxD7QdPXshGSzSGQBwy1Sj0=; b=dccybjt9O+kPuWH3F4dRK0WN9HTVKnzEb7AacmYBaEk7OybAYA7nzZMvqt2QDIBy4V 6DlxaXMl9SyOVLx8JfLb3utzCsCxUbzjLgDaB2Foma4Ez3pdYjOCEt3WXarf0s6sFTpM 3fhWjba/f/3JOjdspi7EgmB9BwO/gdGBUBg5f0AFXvf5ijPDq23SLr/2q8vYFK/VWvF6 Jf/xomv2ysPXFfBXrRRFMG7/wmlWuKDsIBMGzYofHAoEZR1wKrhFHoFqKimB1nb7znVZ Z2CJ0PnCSqgGLA+WdQQfLbli+MlQVGlG2VTN0M7ZQ4O7P869cWfGF9TDd8EkvmvbBAcw CQng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=PxYwT0LOGGpmDuGd/85HoxD7QdPXshGSzSGQBwy1Sj0=; b=nBtimB9vvHph6n4j9NxPGMVuBJQMjSGkX94NCMv13qnu8GqY0wn2NTVPfpXu3ErJ7I 9qNe/FbIgyOxpSPXZrP/e+qC1fV/lp7uglx0rwhiysyBzByAOBoojaoOYMmXcwUr8VCP e9Ya/HvnodqAha1Pjb2s8Tb6XbRl/ugqdNqw3fGv/tipF5Lw8a+g0ZFtvJbxqxsYlb4c n4GEVeNjHsIaGPVLvy2eH4OfsYCVP8eHzgiBmnyGAmpC9Z9egzgMI7R7uTRPnBtmhs8D 3pxZooXuH0SEVMlpQylXVaySzQrOs7ifQOs8yOpDOJVtY9UHejBrg8Pk2s33fHlU3Zfy ZbiQ== X-Gm-Message-State: AOAM533+8XKbfdLogTba/KLMO47awDDNo/eUMDGOrqw2i07Ea2UDi9tL WsA+KQdhEvisjDmuSY3TKvxl7xKgSiI= X-Google-Smtp-Source: ABdhPJw1HdMv4lAKCVE1rbyuplTuKIFJg4Kbepjx+Uf5jj+66O1IHaNAv74O3DfhaUOy31TT2BvV3w== X-Received: by 2002:a05:6000:168c:: with SMTP id y12mr5449995wrd.389.1642100060934; Thu, 13 Jan 2022 10:54:20 -0800 (PST) Received: from ?IPv6:2003:c7:8f4e:611:af86:8ef9:e38d:2e7b? (p200300c78f4e0611af868ef9e38d2e7b.dip0.t-ipconnect.de. [2003:c7:8f4e:611:af86:8ef9:e38d:2e7b]) by smtp.gmail.com with ESMTPSA id f13sm55362wri.35.2022.01.13.10.54.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 13 Jan 2022 10:54:20 -0800 (PST) Subject: Re: Where to find the information how to write a state of the art USB driver? To: Greg KH References: <28e1c700-da54-8793-8c60-4ec3697fe35d@gmail.com> From: Philipp Hortmann Message-ID: <03a58466-9f0f-cf77-4809-06a28dadd1c7@gmail.com> Date: Thu, 13 Jan 2022 19:54:19 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US 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-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: kernelnewbies-bounces@kernelnewbies.org 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. I am writing on drivers only for my personal education. No new drivers for the kernel. Thanks for your quick and long replies. Bye Philipp _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies