On Mon, 4 Apr 2005, Johannes Berg wrote: > On Fri, 2005-04-01 at 11:47 -0500, Alan Stern wrote: > > > There's a very simple explanation. In 2.6.10 and earlier the > > wMaxPacketSize value is stored in native byte order, whereas in 2.6.11 and > > later it's stored in little-endian byte order. So your code is getting > > the correct value under 2.6.11 and a byte-reversed value under 2.6.10. > > Uh, ok. Thanks. Not that the value is correct anyway, the trackpad > reports a bogus value. So I guess I'll just hard-code 81. > > Now, can anyone explain to me why I get an 81 byte interrupt transfer? > Isn't 64 supposed to be the upper limit?
For full-speed devices that's right. For low-speed devices the upper limit is 8, and for high-speed it's 1024. What makes you think the value should be 81? Didn't your previous email say it was 64? Alan Stern ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel