[PATCH] Make sleep/wakeup work with USB on powerbooks

Colin Leroy colin at colino.net
Fri Mar 18 01:20:39 EST 2005


On 17 Mar 2005 at 18h03, Benjamin Herrenschmidt wrote:

Hi, 

> > Would it be the "proper" patch I was looking for in the thread named
> > "[PATCH] Re-power USB ports on wakeup" ?
> > 
> > Or does it fix different issues ? Mine fixed, with a hack I think,
> > the fact that USB ports kept being powered down after one wakeup
> > out of two. I never got any machine check, however.
> 
> Test please, your patch shouldn't be necessary.

Just did so, it's not enough. My patch seems necessary so that usb
ports are powered at each wakeup (the second one, that doesn't touch
anything at sleep and sets power unconditionnaly at wakeup, works fine).
With Paul's patch, (dis)connecting USB devices during sleep isn't a
problem anymore.
-- 
Colin



More information about the Linuxppc-dev mailing list