Re: [linux-usb-devel] Reorganization of device reset,config change,connect, disconnect

2003-05-30 Thread David Brownell
Alan Stern wrote: On Wed, 28 May 2003, David Brownell wrote: Right now there's one great big usb_new_device() routine that mixes up two very different stages - set address, fetch device and config descriptors - set configuration, update sysfs The update sysfs should be part of

Re: [linux-usb-devel] Reorganization of device reset, config change,connect,disconnect

2003-05-29 Thread David Brownell
Alan Stern wrote: (1) We don't want connect processing (registering interfaces in the driver model and probing device drivers, maybe other things too) and/or disconnect processing (detaching drivers and deregistering interfaces, etc.) to occur simultaneously in different threads. Why not?

Re: [linux-usb-devel] Reorganization of device reset, config change,connect, disconnect

2003-05-27 Thread David Brownell
Alan Stern wrote: I want to propose a reorganization of the way the USB core handles device resets, configuration changes, connects, and disconnects. The motivation for this is to fix a number of weaknesses in the way device resets and configuration changes are currently being handled. A good

Re: [linux-usb-devel] Reorganization of device reset, config change,connect, disconnect

2003-05-27 Thread Oliver Neukum
Am Dienstag, 27. Mai 2003 22:35 schrieb David Brownell: Alan Stern wrote: I want to propose a reorganization of the way the USB core handles device resets, configuration changes, connects, and disconnects. The motivation for this is to fix a number of weaknesses in the way device resets

Re: [linux-usb-devel] Reorganization of device reset,config change,connect, disconnect

2003-05-27 Thread David Brownell
Reset and config changes are inherently ugly because they are a break in a model of interfaces by being operations on devices. Firmware downloading belongs into the same category. Altsetting changes don't break it, but I don't know of any particular issues there any more either. Someone should