Here goes what I did: 

[EMAIL PROTECTED]:/home/knoppix# modprobe dummy_hcd 
[EMAIL PROTECTED]:/home/knoppix# modprobe g_file_sotrage removable=y
[EMAIL PROTECTED]:/home/knoppix# scsi_info /dev/sda
SCSI_ID="0,0,0"
MODEL="Linux File-Stor Gadget"
FW_REV="0302"
[EMAIL PROTECTED]:/home/knoppix# dd /dev/sda if=/dev/sda bs=512 count=1
dd: opening `/dev/sda': No medium found



On Tue, 30 Nov 2004 15:53:54 -0500 (EST), Alan Stern
<[EMAIL PROTECTED]> wrote:
> On Tue, 30 Nov 2004, Sara Fonseca wrote:
> 
> 
> 
> > > > I managed to build and load the drivers, but how do I start testing
> > > > read and write operations for example?
> > >
> > > Just do reads and writes to the device corresponding to your gadget.  For
> > > instance, if the gadget shows up as /dev/sda, then do reads and writes to
> > > /dev/sda.  Example:  dd if=/dev/sda bs=512 count=1
> >
> > When I do that i get a "medium not found". By looking at scsi_info
> > answer, everything seems ok. What is missing???
> 
> How should I know?  Tell me exactly everything you did and what the
> results were.  Include a session recording using the "script" program.
> 
> 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

Reply via email to