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 :) > Hmm ... if you call usb_set_configuration() today, nothing updates > driverfs to know that the previous configuration's interfaces just > became irrelevant. Only the default config ever shows in driverfs?? Add another thing to the bug list... > >4. May I split usb_disconnect() into an interface and a usb_device part ? > > That needs other work too ... like, shouldn't the driver model core be > handling children-first disconnect, which includes both interface > shutdown and (for hubs) port shutdown? We do child-first disconnect today. Are you not seeing this happen? thanks, greg k-h ------------------------------------------------------- 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
