On Fri, 2015-06-12 at 15:22 +0200, Krzysztof Opasiak wrote: > > On 06/12/2015 03:10 PM, Oliver Neukum wrote: > > Some drivers (BT, CDC ACM, ...) require multiple interfaces > > The authorization must be given atomically or probing will > > fail. > > > > Please correct me if I'm wrong but this: > > echo 1 > $(DATA_INTF)/authorized > echo 1 > $(CONTROL_INTF)/authorized > > should also work fine even if driver needs more than one interface. The > only issue is that you should authorize interface for which driver is > probing as last one. Exactly. And that information may depend on the driver version. It would be a bad idea to expose this. Regards Oliver -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html