On Mon, Jan 29, 2007 at 11:52:07AM -0500, Alan Stern wrote: > On Mon, 29 Jan 2007, Oleg Verych wrote: > > > Maybe i'm wrong with fast solution proposing. I want them, because > > it seems, that current binding of device (with IDs,#confs,#interfs) to > > (USB interface) driver is done after guessing device's setup (default > > is conf#1, interface#1, i think). > > Probing and binding of the USB interface drivers is done while installing > a device configuration, yes. (Before a configuration is selected > there are no interfaces -- hence no need for interface drivers!)
Sure, > However probing and binding of the USB device driver is done before > installing the configuration. In fact, it is the USB device driver's job > to choose and install a configuration. That's what "generic" does. of course. > > What if one-prupose device, like ti-usb-serial require its one operation > > in different setup, and driver's author know it? I would like to have > > such _option_, as device driver _have_ option to choose device it can > > talk to -- ID tables. > > You _do_ have the option -- you can call usb_driver_set_configuration(). > Alternatively, you can try to write a new USB device driver in place of > the "generic" one. Or you can add special-case code to the > choose_configuration() routine in generic.c. So, if i will quickly invent `wc' (working configuration ;) module parameter for A driver, near vID:dID, i will not have any luck getting it changed in USB-Core, before running USB interface specific stuff? There must be Something pretty wrong. ____ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel