On Friday 08 September 2006 07:30, Alan Stern wrote: > On Thu, 7 Sep 2006, Iñaky Pérez-González wrote: > > usb: introduce usb_reenumerate_device() > > > > I don't understand the point of this patch. Is it simply to export an > interface to hub_port_logical_disconnect()?
Kind of, yes > What's wrong with using usb_reset_device()? You say it will "bring the > device back to full reset state"; I'm not sure what that means. Do you > want to avoid issuing a port reset? This patch won't help, because > hub_port_locical_disconnect() will also cause a port reset. In fact, the > USB stack can't reenumerate a device without resetting it. Yep, the initial reset that brings the device back to default state/addr0 always happens. However, it seems like that is not affecting my device as 'badly' (so to speak) as a direct reset with the port enabled. I'd say the internal logic is considering two different resets: one with the port disabled, than simply moves in to enable and the one with the port enabled, that is interpreted as hard-core reset. I wonder if this is common behavior, and I'll try to check with the USB spec guys tomorrow. In any case, I am on my way to confirm all this in a CATC. Greg, would you please hold out that patch until we clarify the issue further? Thanks, ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel