linux usb gadget - mass storage

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

 



Hi,

I would like to ask a few questions about the Linux USB Gadget
project, more specifically about the mass storage gadget itself.
Currently it is possible to emulate a CD reader with an iso image
file, which works okay, and has been around for some time.
My use-case would be to use a Raspberry PI Zero, to emulate an optical
drive through an iso file and boot a desktop machine with it.
Unfortunately I also noticed that there were attempts a number of
years ago to contribute support for DVD reader emulation, but
unfortunately those efforts did not get into the mainline kernel.

To be more specific I am referring to these:
http://linuxehacking.ovh/2013/07/12/how-to-emulatore-dvd-rom-hardware-usb/
https://lkml.org/lkml/2015/3/7/388

In an effort to explore the possibilities, I took Tiziano Bacocco's
patch (the first of the two) and ported it (in a trivial way) to the
current Raspberry PI kernel versions (both 4.19.118 and 5.4.44) and
compiled the kernel and modules.
The code compiled cleanly after a few minor changes, but when I tried
to use it on an 11 GB CentOS iso image, the module crashed.
I would need some help and guidance to resolve any of the possible
issues, and hopefully to make DVD-ROM emulation finally a thing in the
mass storage gadget.
I can add further details later on if there will be anyone interested.
Also, if this is not the correct forum to ask questions about the
Linux USB Gadget codebase, then please let me know also.

Thank you!

Best Regards,
János Szigetvári
--
Janos SZIGETVARI
RHCE, License no. 150-053-692

LinkedIn: linkedin.com/in/janosszigetvari

__@__˚V˚
Make the switch to open (source) applications, protocols, formats now:
- windows -> Linux, iexplore -> Firefox, msoffice -> LibreOffice
- msn -> jabber protocol (Pidgin, Google Talk)
- mp3 -> ogg, wmv -> ogg, jpg -> png, doc/xls/ppt -> odt/ods/odp




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

  Powered by Linux