Re: [linux-usb-devel] Reorganization of devicereset,configchange,connect,disconnect

2003-06-04 Thread Oliver Neukum
2. Reset should not mean disconnecting the other interfaces. The properties internal to the drivers of the other interfaces should be retained and restored. Suspend/resume is the correct model, not disconnect/probe. Kicking off all drivers but restoring the altsettings like we do is

Re: [linux-usb-devel] Reorganization of devicereset,configchange,connect,disconnect

2003-06-03 Thread David Brownell
Oliver Neukum wrote: And now for the additional things. 1. Reset currently puts the burden of disconnecting the other interfaces on the driver. This is wrong. Usbcore should do it with proper locking. Certainly. 2. Reset should not mean disconnecting the other interfaces. The properties

Re: [linux-usb-devel] Reorganization of devicereset,configchange,connect,disconnect

2003-06-03 Thread David Brownell
Alan Stern wrote: So the question is this: If disabling a port fails, should we reset the entire hub (and thereby reset all the other devices attached to it), or should we power down just that one port (which will make it useless until the entire hub is reset)? Just power down that one port --