hi, thanks for the reply.
after the timeout, if i call usb_clear_halt(), it works fine. is there any better method? am suspecting some D0/D1 toggle problem. is there some known issues? would a patch be available for preferably 2.4.20-18? am afraid have to stick to 2.4 itself.. rgds, prageeth -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 29, 2003 12:11 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [linux-usb-devel] timeout on uhci 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 __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree ------------------------------------------------------- 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
