On Thu, 27 Jan 2005, Orjan Friberg wrote: > I did some testing with different count and size settings, and it turns out > that > testusb -t 14 runs fine for count 1 - 2 and size 2 - 64 bytes (with vary 1). > For size 1 I get error 22;
That error occurs whenever size <= vary. I'm not sure why the test isn't size < vary. > for count > 2 I get error 74 (and "ctrl_out verify > failed" in the kernel log). That error occurs when the data read back in is not equal to the data that was written out. > Anyone know what the problem might be or where to start digging? You can add more debugging statements to the ctrl_out() routine in drivers/usb/misc/usbtest.c. For instance, you could print out the data that was sent and the data that was received, so you can see how they differ. Beyond that (this probably won't be very useful advice) the problem might lie in the EZ-USB device, its firmware, your host controller, or the host controller driver. Start digging into whichever component you feel is least reliable. Alan Stern ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel