On Mon, 12 Apr 2004, Greg KH wrote: > No, we need to make synchronous unlink work properly so that it is > simple to use and it works for all host controllers. Right now only > uhci is where the problem is, correct? How about fixing this up in that > driver and then everyone will be happy. If you need to do your "sleep > until we are finished with the urb" hack, that's fine with me. > > And a fix like that would be welcomed in a stable kernel series.
Okay, I'll dig up and dust off that old patch. It doesn't address synchronous unlinks per se; what it does is wait for the driver's state to go away during unbinding (hence during config changes or disconnection). That state includes all in-flight URBs for the affected endpoints, so the end result is the same as a synchronous unlink. But it only applies during those special circumstances. Of course, those are generally the circumstances where it matters most. Alan Stern ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel