On Mon, 22 Mar 2004, David Brownell wrote:
Alan Stern wrote:
Perhaps even worse, if there are interfaces claimed by usbfs then calling usb_set_configuration() will result in deadlock.
This makes me think that if _any_ interfaces are claimed, then this call should be rejected.
That might be a good idea. I wonder how gphoto2 would react, though?
Not to mention that the test is prone to races.
Only because usb_set_configuration() grabs dev->serialize internally, unlike usb_reset_configuration() ... I'll have to dig out my path resolving that issue.
- Dvae
------------------------------------------------------- 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