Greg: I just noticed your new usb_get/put_intf() functions. Creating them is a tacit admission that drivers will need to continue using interfaces after their disconnect() routine has returned. Is this wise?
The current assumption in usbcore is that when disconnect() returns the driver will have relinquished its interface and no URBs will be active. The core is then free to bind another driver to that interface. If the old driver is still using the interface, it's liable to cause problems. At the moment, so far as I am aware, the only way to get at an interface with no driver bound to it is via usbfs (which then binds it) or by pinning a sysfs attribute file (which doesn't need usb_get_intf). 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