2006/3/16, Pete Zaitcev <[EMAIL PROTECTED]>: > On Thu, 16 Mar 2006 12:56:24 -0500 (EST), Alan Stern <[EMAIL PROTECTED]> > wrote: > > > > ep2 - OUT len = 31 > > > ep1 - IN len = 36 > > > ep1 - IN len = 13 > > > ep1 - IN *** STUCK *** > > > You've identified the problem: that third ep1-IN request. The question > > is: Why does the host send that packet? It's a violation of the Bulk-only > > Mass Storage protocol. > > I am not going to make any violation pronouncements, because IMHO the > right thing is the one which works. Both usb-storage and ub can retry > their CSW-in phase if contents of CSW they receive is out of spect. > Most of the time it's zero length. The 13 above might be the length > host is expecting, not the one it's actually receiving. If host received > zero length, it will retry. And I again, I do not care spec or no spec. > It's the only thing which works. I used to have ub without it, and > it turned out unrealistic not to retry IN 13. >
These lengths are the lengths actually _received_ by the host... Thanks -- Franck ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel