USB does not work after resuming from STR
Bug #13964 reported by
Martin Pitt
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-source-2.6.15 (Ubuntu) |
Fix Released
|
Medium
|
Martin Pitt |
Bug Description
After my iBook G4 resumes from suspend-to-RAM, USB drives do not work any more.
Also, my USB WLAN adapter only works after suspending/resuming again.
I found an easy workaround by creating two scripts:
$ cat /etc/power/
#!/bin/sh
rmmod ohci_hcd
rmmod ehci_hcd
$ cat /etc/power/
#!/bin/sh
modprobe ohci_hcd
modprobe ehci_hcd
I CC'ed some other ppc-using folks; does this happen for you as well? If so, I'd
like to include this fix into the official pbbuttonsd package.
To post a comment you must log in.
Removing the host controller driver is usually not a good idea. They are part of
the suspend process and if you remove them, you'll probably consume more power
than expected. However, unplugging the devices should help.
There are various issues with USB and sleep in linux. I'm trying to find a
solution with the USB folks, but it's not a simple problem.