ok Alan, thanks... but how do I change the USB Gadget configuration? Where can I find a "how to" on building and loading the drivers? I have already read the content of www.linux-usb.or/gadget and donwloaded the source codes.
On Wed, 17 Nov 2004 17:26:26 -0500 (EST), Alan Stern <[EMAIL PROTECTED]> wrote: > On Wed, 17 Nov 2004, Sara Fonseca wrote: > > > > > Hi, > > > > > > What is the sequence of SCSI commands issued by the initiator when a > > mass storage SCSI compliant Block Device(such as in file_storge.c) is > > plugged on the USB? > > Where can I find this? > > It depends on the SCSI host. (The initiator itself doesn't generate > commands, it only sends commands coming from the host to the SCSI bus.) > > You can find out the sequence of commands used by Linux by experimenting > with the file_storage gadget. In the USB Gadget configuration, select the > dummy_hcd device controller and the file-storage gadget controller. Edit > the file_storage.c source file to change the three #undef's (for DEBUG, > VERBOSE, and DUMP_MSGS) into #define's. After you have build the drivers, > you can do > > modprobe dummy-hcd > modprobe g-file-storage removable=y > > and you will see in the system log a complete record of all the commands. > > Alan Stern > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel