[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [PATCH] Re-power USB ports on wakeup



> Hi list,
>
> Most of us have problems with USB unresponsive after one out of two
> wakeups. This patch fixes it for me; it looks like the port status
> isn't automatically updated (to ~PORT_POWER) when sleeping...
>
> So this patch just unpowers the ports manually at the end of ehci_suspend.
> I don't know if it's really correct: Ben & Greg, I'd like your comments. if
> it's fine, can you push it upstream?

It works only if the device on the port (cordless mouse, in my case) is
unplugged before sleep. With the device plugged in, it briefly powers up
then powers down again on wakeup. No idea if the device being in use
prevents your code from taking effect.

Pre-2005 PB G4 17" 1.5 GHz in case it matters.

	Michael



Reply to: