Greg KH wrote:
> On Wed, Oct 09, 2002 at 10:28:49PM -0700, David Brownell wrote:
> 
>>>3. Where in the generic device model is the configuration stored
>>>   and how can it be manipulated ?
>>
>>There's a readonly driverfs attribute that usb adds to the model.
>>
>>Arguably it should get writable, calling usb_set_configuration().
>>In such a case I'd consider it a bug if this didn't forcibly
>>disconnect() each driver from its interface:  the sysadmin clearly
>>said what to do, and usb should just do it.
> 
> 
> Hm, that's a good idea for how to do this.  Better make that value
> writable by root only :)

Yep!  In fact I think it'd be good to have this facility, and for
us to see if Linux really _needs_ more than this ... that is, if
real multi-configuration devices need it to work with Linux.  So
far I haven't seen evidence that we'd need more, but maybe we'll
see some.

Plus, once that forcibly disconnects/reconnects driver, and driverfs
reflects the new configuration, I suspect most of those bugs in the
set_configuration() area will be gone.  Now I'll look at Oliver's
patch, which starts that bugfixing ... :)

- Dave




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to