Re: [PATCH 2/2] samples: rust: add a USB driver sample

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



(Sorry for sending this again. I forgot to hit reply all, since I'm pretty new to this.)

On 09.09.25 14:14, Greg Kroah-Hartman wrote:

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 🙁
AFAIK it's not actually SCSI, but some custom USB protocol, that doesn't work on blocks, but files and directories directly. It also allows taking screenshots and performing firmware updates.
Odd are this would be a much simpler userspace program instead, as you
can control USB devices directly from userspace, no kernel driver
needed.

Yes, a userspace program using FUSE would probably be simpler, since there's already exists "libnspire" for interacting with nspire calculators in userspace.

As I said, it's gimmicky.


Greetings

Simon




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux