On Thu, 19 Jul 2012, Oliver Neukum wrote: > On Thursday 19 July 2012 18:58:38 Ming Lei wrote: > > On Thu, Jul 19, 2012 at 5:33 PM, Oliver Neukum <oneukum@xxxxxxx> wrote: > > > > Yes. That's how reset_resume() works. > > > > If reset_resume flag is set, usbcore will try to reset the device first > > during resume, and no disconnect will be involved if reset completes > > successfully. > > The code path still has to be coded. Basically usb_resume() > must be extended to resume devices from a state analogous to D3cold. More importantly, if the device needs to have firmware installed then the reset _won't_ complete successfully. Since the firmware was lost when the bus power was turned off, after the reset the device will have different descriptors and so will appear to be a new device. Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html