Folks:
Below is the source for the first version of my File-backed Storage Gadget
driver. The driver acts as a USB Mass Storage device using either a
regular file or a block device file to provide backing storage. Operation of the driver and module parameters are explained in comments
near the start of the file.
This is way cool! I look forward to trying it out.
In a followup email, I will send my revised version of the dummy_hcd driver. The one included in the usb-gadget distribution won't work with the FSG driver because it's missing several crucial features (such as the ability for the host to clear endpoint halts!). Use of dummy_hcd has been absolutely crucial to the development of my driver, since I had no other way to test it. Thanks for providing such a useful tool, David!
You're welcome ... and thanks for those updates!! :)
I used dummy_hcd to get started too. Now you've taught it enough to help get more substantial drivers going.
Still to come: I intend to write a sister gadget driver, a Scsi-backed
Storage Gadget. Instead of appearing as a direct-access storage device
using a regular file for backing storage, SSG will act as a transparent
SCSI bridge. It will pass requests received from the USB host directly to
a local SCSI device driver and pass the replies back to the host. Thus it
will be able to appear as any kind of SCSI device, not just a disk drive.
Yes, that sounds like it'll be useful.
- Dave
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel