[linux-usb-devel] [PATCH] Make sleep/wakeup work with USB on powerbooks
Alan Stern
stern at rowland.harvard.edu
Fri Mar 18 05:47:12 EST 2005
On Thu, 17 Mar 2005, Paul Mackerras wrote:
> I am currently using this patch on my powerbook to fix the problems
> that USB was causing with sleep and wakeup. Basically one of the USB
> controllers was getting a spurious wakeup immediately when put it
> into the suspend state. This would cause the resume routine to be run
> after we had turned off the device, causing a machine check.
Is this just a hardware glitch or does it go deeper?
> Also we had some races where we would turn off the clock to the apple
> OHCI cell(s) and then try to access them. With this patch, sleep and
> wakeup are quite reliable. The patch is against 2.6.11.
Aside from the ppc-specific portions, the changes you made to hcd-pci.c
resemble those I just posted in
http://lists.osdl.org/pipermail/linux-pm/2005-March/000616.html
(meant for the gregkh-2.6 USB development tree).
Alan Stern
More information about the Linuxppc-dev
mailing list