2005/9/16, Alan Stern <[EMAIL PROTECTED]>: > On Wed, 14 Sep 2005, xiu zhanyu wrote: > > > Alan Stern: > > I report debug-log, this log track that I copy a file from Host to > > Device . > > > > I looked at your log, but I can't tell what the problem is. Each time the > host sends a WRITE command, the first 512 bytes get written okay but then > the next thing in the log shows the gadget being reset. I guess something > caused the gadget to crash, but I don't know what. > > Have you tried writing to /dev/mtdblock/3 yourself, directly from a shell > prompt? Does that work okay?
Yes, I write something to /dev/mtdblock/3 is okay! > > Can you try connecting the gadget to a Linux host? If you turn on USB > Mass Storage verbose debugging in the host's configuration > (CONFIG_USB_STORAGE_DEBUG), then the system log will show what happens > from the host's point of view. I connect the Gadget to Windows XP , In Windows XP , do_write() crashed very much! so I can't write file to the gadget accurately !! but, I had a test that connecting the gadget to Windows 2K yesterday ,Great! The Wadget work ok! do_write() crashed a few ! writing file to the gadget is Ok! that is inexplicable! what's wrong? > > Alan Stern > > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
