Am Freitag, 12. Mai 2006 18:40 schrieb Alexander V. Lukyanov: > On Tue, May 09, 2006 at 11:52:36PM +0200, Oliver Neukum wrote: > > > In the `n1' case the second attempt of at&v results in a duplicated line. > > > `n16' produces lots of small dups. `old' produces no dups. > > > > Could you please remobe "#undef DEBUG" from the driver and rerun the n=1 > > test? > > Typescript and debug log are attached. Interesting thing is that duplicated > data reside with correct data in the same buffer/urb. I have added print-out > of buffer contents so it can be easier to find duped data.
Very good. It seems that all corrupted buffers have a length of 128. Could you remove the multiplicator "*2" from this line: readsize = le16_to_cpu(epread->wMaxPacketSize)*2; and retest? Regards Oliver ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel