Hi Oliver, > sysfs strikes again. Could someone please summarize how to correctly claim > and _disclaim_ a second interface from inside a driver. I am about to give > up on sysfs.
For devices with a primary interface and secondary interfaces associated with the primary one, youcan call usb_driver_claim_interface() with -1 as the last argument for secondary interfaces, and completely ignore the disconnect() call when its interface pointer is -1. Not sure if that's the best way to handle multiple interfaces (or even just a good way), but it seems to work. Laurent Pinchart ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel