Comment 15 for bug 291300

Revision history for this message
Geoff Goehle (goehle) wrote :

Just to elaborate on the above. I found that Antonio's advice (thanks!) only worked for me if I also removed the ohci_hcd module. Also, the /usr/lib/pm-utils/defaults file says not to edit it manually. You can, and it works fine, but I imagine that the following method is more compatible with the update process. All you do is create a file in /etc/pm/config.d with the configuration line you need. So in my case I created a file

/etc/pm/config.d/usb_suspend_workaround

with the line

SUSPEND_MODULES="ehci_hcd uhci_hcd ohci_hcd usbcore"

(Actually, I didn't include uhci_hcd and usbcore but they may help this be a more general solution). Now suspend works fine.

** The only caveat, and it might help you from being confused, is that this disables the ability for your kernel to listen to usb devices. I.E. You can't resume from suspend using the keyboard. You'll have to use your computers power button or whatever.

P.S. If some more talented person wanted to write a single command in one of those nifty code boxes which creates the appropriate file, that would be cool. Sudo doesn't interact with echo and > like I hoped it would and I'm too lazy to figure it out.