I don't think it would be appropriate for usb-uhci nor uhci to re-try in -ENXIO cases, but your driver could do that. However retrying doesn't really solve the problem.
I think I can backport the control queueing into the 2.4 uhci driver; I'm not as familiar with the usb-uhci driver (as it's not in 2.5 anymore). On Mon, 13 Jan 2003, Ilya Lifshits wrote: >Hi there, > >I'm releasing the alpha and free to play around this issue. Using 2.5 is >not an option >for me since it's not released yet, i will make sure that my driver will >work on 2.6 when it will be released. >For now if somebody can guide me a little bit i would like to fix ENXIO >issue, on 2.4 kernels. The complete >back ports seems to much work to me, but sort of retry on submit can be an >option. I will take an >usb-uhci as start point it seems to be a more common ( at least in most >distribution this one installed by >default) . >Is retry is enough if i found queued urb ? should i check recipient, >seems like only device is valid recipient for >retry ? Any over input in subject ? > >Regards Ilya. > >At 17:54 12/12/2002 +0100, Oliver Neukum wrote: > >> > ENXIO errors are unique to the UHCI drivers in all 2.4 and 2.5 upto >> > 2.5.43 (?). It's because the UHCI driver's didn't allow queued >> > Control URBs, and when you get that some other driver has a URB in >> > progress on the DCP. >> > >> > Find out what other driver is talking to your device. Keep in mind >> > that the initial driver binding process can many seconds (I think >> > there is a 2 or 3 second sleep in the hotplug script...). >> > >> > Or, try the latest 2.5 kernel, it should work great. >> >>That is not a satisfactory answer. A device may have several >>interfaces, which may all legitimately send control requests at >>the same time. Returning ENXIO is simply a bug under these >>circumstances. >> >>Now the correct fix would be to backport the 2.5 UHCI driver. >>Failing that, usbcore must retry on ENXIO. >>While we are at it, how about a complete backport? >> >> Regards >> Oliver > > > >------------------------------------------------------- >This SF.NET email is sponsored by: FREE SSL Guide from Thawte >are you planning your Web Server Security? Click here to get a FREE >Thawte SSL guide and find the answers to all your SSL security issues. >http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en >_______________________________________________ >[EMAIL PROTECTED] >To unsubscribe, use the last form field at: >https://lists.sourceforge.net/lists/listinfo/linux-usb-devel > -- Dan Streetman [EMAIL PROTECTED] --------------------- 186,272 miles per second: It isn't just a good idea, it's the law! ------------------------------------------------------- This SF.NET email is sponsored by: Take your first step towards giving your online business a competitive advantage. Test-drive a Thawte SSL certificate - our easy online guide will show you how. Click here to get started: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0027en _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
