Re: [linux-usb-devel] Re: Suggested reorganization of usb_reset_device()etc.

2003-08-14 Thread David Brownell
Oliver Neukum wrote: Am Sonntag, 10. August 2003 17:40 schrieb Alan Stern: That makes sense. What about if the set-config message fails? Go ahead and rebind anyway, using the old configuration? Yes, what else is there to do? Invoke disconnect processing, and force re-enumeration. You _know_

Re: [linux-usb-devel] Re: Suggested reorganization of usb_reset_device() etc.

2003-08-14 Thread Oliver Neukum
I'm not sure about your first example. Configuration changes would take place immediately under my scheme, but unbinding the old interface drivers and probing the new interfaces would be deferred. Is anything wrong with That is deadly. Drivers would work on the wrong interfaces. You

[linux-usb-devel] Re: Suggested reorganization of usb_reset_device() etc.

2003-08-10 Thread Alan Stern
On Sat, 9 Aug 2003, David Brownell wrote: Alan Stern wrote: I've got a plan for reorganizing usb_reset_device(), usb_set_configuration(), and parts of the hub driver and core. .. Before doing any real programming, I wanted to get some feedback to see if this plan makes any sense.

Re: [linux-usb-devel] Re: Suggested reorganization of usb_reset_device()etc.

2003-08-10 Thread Oliver Neukum
Am Sonntag, 10. August 2003 17:40 schrieb Alan Stern: On Sat, 9 Aug 2003, Oliver Neukum wrote: I'm not sure about your first example. Configuration changes would take place immediately under my scheme, but unbinding the old interface drivers and probing the new interfaces would be

[linux-usb-devel] Re: Suggested reorganization of usb_reset_device() etc.

2003-08-09 Thread David Brownell
Alan Stern wrote: I've got a plan for reorganizing usb_reset_device(), usb_set_configuration(), and parts of the hub driver and core. .. Before doing any real programming, I wanted to get some feedback to see if this plan makes any sense. Well, please let me submit some chunks of that