On Thu, 7 Sep 2006, Iñaky Pérez-González wrote: > usb: introduce usb_reenumerate_device() > > This function implements a logical reset which will cause the device > to be reenumerated in the USB stack, without physically being > disconnected from the bus. > > This is useful for device-firmware-upload cases where we can't use > usb_reset_device() as it would bring the device back to full reset > state.
> + parent_hub = hdev_to_hub(parent_hdev); > + hub_port_logical_disconnect(parent_hub, usb_dev->portnum); I don't understand the point of this patch. Is it simply to export an interface to hub_port_logical_disconnect()? 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. Alan Stern ------------------------------------------------------------------------- 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