The File Backed USB Storage Gadget seems to be fully working with my SuperH UDC driver when attached to a host running a 2.6.0-test5 Linux kernel.
Is that the 2.4 or 2.6 version of the file_storage driver?
I've seen both working, but with minor delays while the host driver (Linux or Windows) binds to the device. After hiccups, it seems to mount just fine; I can write to the exported disk with no trouble.
(Which I think is totally cool, considering Alan was able to do this without access to "real hardware"!)
But when I attach the gadget to a 2.4.20 Linux host the usb-storage driver on the host hangs during initialisation. Things appear to go wrong as soon as the host sends some commands on endpoint 1. I don't expect this is a difficult problem to track down ...
On a 2.4.23-pre3 host (and 2.6.0-test7 file_storage) I saw a message about READ_CAPACITY failing. Like you, I didn't have a chance to track down any problems.
When attaching to a Windows 2000 host problems are more fundamental. Windows doesn't enumerate the device properly. It just does a sequence of Bus Reset then request of the Device Descriptor three times. The UDC/Gadget seem to be responding with a correct 18 byte descriptor (at least Linux likes it!) but Windows ignores it.
Does Windows enumeration work OK for you otherwise? That sounds like some sort of problem with your SuperH code. Windows seems to set the device address later than Linux, fetching descriptors using address zero.
I've done very limited windows testing (only ancient Windos sitting around), but both "goku_udc" and "net2280" got farther than that.
- Dave
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
