From: Alan S. <st...@ro...> - 2010-01-31 02:54:22
|
On Sun, 31 Jan 2010, Pete Batard wrote: > Works fine on my end too! > > On 2010.01.31 02:35, Alan Stern wrote: > > (Notice, by the way, that the Mass-Storage Reset at the beginning of > > xusb's testing does _not_ reset the firmware!) > > That's probably the reason why my tests failed when I tested with length > 31. I probably uncommented the reset code when I did, instead of > replugging the device as I should have. > > I'll be committing the change later on, but many thanks too you guys for > helping with the mass storage test. There are still minor errors in the program. For example, look at the output from Xiaofan's INQUIRY command: > libusb:debug [bulk_transfer_cb] actual_length=36 > received 36 bytes > VID:PID:REV "SanDisk Cruzer Micro 6.51":"Cruzer Micro 6.51":"6.51" As I mentioned earlier, the strings aren't NUL-terminated. Consequently the VID printout also includes the PID and REV strings, and the PID prinntout also includes the REV string. Alan Stern |