From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D6C4D32F775; Tue, 9 Sep 2025 12:14:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757420060; cv=none; b=ABwRLwkTNkn/t8o3qDxYNKoJiAoTnzUF0E5Wy6SayN9s2/ZAzVBuc1gvME2b+25icVkiN9KtLHQ0xBt5HUM9uu7F5G/ZfaePr6Tq9aWjO7SQeTFWRoqbGNFc/0Pc68j45kaVgY3ImKmVgg8EbS9CXBuqKKuc5K8M71J1lh/VnOc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757420060; c=relaxed/simple; bh=nfO6Qip4wT2nqsDYDR/PKlg64uG9rndsPou4q5q7/AM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Ve8asKqQ9ZUwXTgHfiu4nKANNDvg05OoPsxRqNnn2ittlow5ce/nA1qgGaVn7btP0AX+JjixCoFNlBo2ufe4Un7FazM1O8b2YTaUYJjpUx42kEzC6g3pjImFBNdLdOrfGfroASlLlQOLGJY0XknPRtc51FD4CGwp3ojJDbQKAV4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=tMr2axex; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="tMr2axex" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AAA92C4CEF7; Tue, 9 Sep 2025 12:14:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1757420059; bh=nfO6Qip4wT2nqsDYDR/PKlg64uG9rndsPou4q5q7/AM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=tMr2axexlrFj5gL9A5wx0Pm7Zq/Y5C2R915B/D1ID5hwZs1w5i55e/R1gqXyDFoKa aEdpr+MCr+XI+VwdTGdvIzXtoaB0zx4kSNQ1i+Set8uNLjFS24RS9FTTGXQQpco5OB nOD/LoJaq3ADDiRQO8QYtOQKbBjMqrXkRjlZFabc= Date: Tue, 9 Sep 2025 14:14:15 +0200 From: Greg Kroah-Hartman To: Simon Neuenhausen Cc: Daniel Almeida , Danilo Krummrich , Miguel Ojeda , Alex Gaynor , Boqun Feng , Gary Guo , =?iso-8859-1?Q?Bj=F6rn?= Roy Baron , Benno Lossin , Andreas Hindborg , Alice Ryhl , Trevor Gross , Michal Wilczynski , Igor Korotin , linux-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org, linux-usb@vger.kernel.org Subject: Re: [PATCH 2/2] samples: rust: add a USB driver sample Message-ID: <2025090916-dill-elated-3d68@gregkh> References: <20250825-b4-usb-v1-2-7aa024de7ae8@collabora.com> <2025090618-smudgy-cringing-a7a4@gregkh> <2025090601-iron-glitter-c77d@gregkh> <831C4AE2-6964-4699-9E74-E4B721B87B17@collabora.com> <9657C897-087E-4544-849B-964E99D95A50@collabora.com> <85B643A9-1657-43ED-BE98-BE7E502D08DA@collabora.com> <3aca9e74-b67c-4bfe-a206-9a6eecdf76ab@rwth-aachen.de> Precedence: bulk X-Mailing-List: rust-for-linux@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3aca9e74-b67c-4bfe-a206-9a6eecdf76ab@rwth-aachen.de> On Tue, Sep 09, 2025 at 01:19:12PM +0200, Simon Neuenhausen wrote: > Hi, > > > On 06.09.25 17:46, Daniel Almeida wrote: > > > As I said to Greg above, I’m here to help if anyone wants to write a USB > > driver. Those interested > are free to reach out to me and we will work together to merge the required > abstractions with a real user in mind. Hopefully this encourages others to > join in this work :) > I had planned on writing a USB driver for TI nspire calculators, that would > make them mountable as USB mass storage devices, since they use a > proprietary USB protocol, that usually requires paid software from TI. At > the time I gave up on that, due to the lack of USB support in RFL, but I > could revive the effort using this. usb-storage is really just SCSI, so if you want to try to do this, you are going to have to write a scsi driver for the calculator. Not something you probably really want to do :( Odd are this would be a much simpler userspace program instead, as you can control USB devices directly from userspace, no kernel driver needed. thanks, greg k-h