Wolfgang M�es wrote:

What is the recommended way of using a device with 2 configurations in configuration #2?

I have run into the same trouble - that set_configuration is not usable inside probe(). I have looked at the hotplug scripts, but I have found no example for doing this. The usb hotplug scripts seems not to know about different configurations?

You could write device-specific hotplug scripts, but nobody's gotten into doing any of those yet.

Given that the old model (driver sets config directly) was such
trouble inside usbcore, I suspect the best solution here will
be to give drivers a hook into the config selection code... like
that dev_setup().  I originally described a choose_config(), but
changed its name to include more typical "load firmware" cases too
(which include USB resets).

- Dave



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idG21&alloc_id040&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to