On Tue, 28 Oct 2003, Prageeth wrote: > hi all, > > am facing the following problem: > -i do a usb_submit_urb to read some data from device > -if the device do not respond fast, a timeout occurs > -ECONNABORTED is returned for the urb > -further reads from the device gives bad data > -a protocol analyzer shows device outputs correct data > > am running 2.4.20-18.8 on an uhci system. could it > possibly be any uhci driver problem? > > any suggestions are welcome. > > rgds, > prageeth
Try doing your development under 2.6 to begin with, if you can. Once your driver is working, port it back to 2.4. In 2.6, uhci-hcd doesn't issue ECONNABORTED errors. And usb_submit_urb() will only return an -ETIMEDOUT error if the device fails to respond to a packet within the time limits given in the USB 2.0 specification. That only applies when the device doesn't give any response at all; a long string of NAKs won't cause an error. Alan Stern ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
