On Tue, 23 Aug 2005, craig qu wrote:

> > The log shows everything worked okay (if you ignore
> > the problem of the 
> > illegal status codes) until the computer tried to do
> > a 127 KB write.  Some 
> > devices don't like to transfer more than 120 KB at a
> > time, maybe that's 
> > the problem you're seeing here.
> 
> The read operation is ok since I have read 80MB file
> many times, the status is always 0x08, 0x80 and 0x00. 

I saw an entry in your log where the status was 0xcd.  It was for the 
second READ_10 command.

> Many transactions having the DataTransferLength=127K
> transferred data successfully. Also, I have tried on a
> PCI card and my PC with the same usb key, it works
> just fine(no status=0x80 or 0x08, of course). 
> 
> At this point, I think there is something fishy inside
> our HCD.

Or maybe something fishy inside the integrated host controller.  Errors
like you saw with that WRITE can sometimes be caused by irregular signal
timing on the USB bus (caused by substandard hardware in the host
controller).  It's possible that putting a high-speed hub between the host
and the device will clean up the signal.

Alan Stern



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to