Alan Stern wrote:

Sorry, I misspoke in my original message. I didn't mean usb_reset_config(); I was thinking about drivers that want to change to a different configuration during their probe(). How do you plan to accomodate that?

As I said earlier on a different thread: by adding a new "struct usb_driver" method that returns the "right" config:

u8 configure (struct usb_device *dev);

Multi-configuration devices would get an additional enumeration
step:  scan the drivers that match its device descriptor, and
which have a configure() method, asking them what config to use.

Presumably the same thing could happen in certain "modprobe"
scenarios, after enumeration.  Details TBD.

- Dave




------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to