Am Donnerstag, 25. Januar 2007 01:21 schrieb Oleg Verych:
> On 12/15/06, Alan Stern <[EMAIL PROTECTED]> wrote:
> > It isn't exported because, generally speaking, drivers can't use it. If
> > your driver called usb_set_configuration() from within its probe routine,
> > it would hang. That's because usb_set_configuration would unregister the
> > interface being probed by your driver, so it would try to call your
> > driver's disconnect routine, but first it would have to wait for the probe
> > to finish -- deadlock.
>
> Ehh... USB, Devices are designed to change configurations, linux-usb isn't.
> Without much technical details -- this is a bed design. No?
It is designed to change configurations through sysfs or usbfs. It's not
designed for a driver to change configurations. Drivers are for interfaces.
Interfaces have no configurations, they have settings. These a driver can
change.
Regards
Oliver
-------------------------------------------------------------------------
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
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel