On Fri, 26 Mar 2010, Sriram V wrote: > I tried the following: > > 1) Added a Quirk for the root-hub for ehci host controller > { USB_DEVICE(0x1d6b, 0x0002), .driver_info = USB_QUIRK_RESET_RESUME }, > > 2) In suspend - I put PHY in reset by doing a making USB_PHY_RESET_GPIO = 0. > 3) In resume - I bring PHY out of reset in resume by doing a > USB_PHY_RESET_GPIO = 1. > > But, I still get the following prints and the devices get > re-enumerated and i am able to access them after resume. > pm_op(): usb_dev_resume+0x0/0x18 returns -19 > PM: Device 1-2.1 failed to resume: error -19 > > I also tried doing a reset for the hub and i get the same result. > Trying to figure out what is happening and why this error occurs. It would help to see a dmesg log showing the suspend and resume from a kernel built with CONFIG_USB_DEBUG enabled. 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