Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My suspend did not correctly since I installed a USB 3 extension card in my PC. Instead of going to S3, the computer just woke up instantly. dmesg gave the hint "usb_dev_suspend+0x0/0x20 returns -2" so I rmmod'ed the "xhci_hcd" module which did the trick.

Is there a good way for me to work around this? The builds from the Kernel Mainline PPA did not help, unfortunately, and blacklisting the module is not my favorite option. Where is the best place for me to report this issue?

share|improve this question
more information -> – hhlp Feb 21 '11 at 18:50
up vote 2 down vote accepted

This is a known bug:

From there:

If SUSPEND_MODULES="xhci" is added to /etc/pm/config.d/unload_module then the system can suspend normally.

And a comment on there also points at Post #7 of this thread:

Similar stuff and lots of people saying it works. Hopefully it will.

share|improve this answer

In addition to what Oli said in that post, there are known troubles if you have a built-in media card reader or if you have mounted USB (flash or rotating) storage at the time of the suspend request.

Add a script /etc/pm/sleep.d/ and make it owned by root and executable. This script should perform umount on any mounted media-card and USB storage. On Ubuntu, they are mounted at /mnt/media/* by default.

I made considerable progress removing module "usb_storage" after un-mount.

There are other known troubles with USB connected devices like cameras and such. The above would handle any storage components of those devices, but you would need to de-activate the other parts somehow separately.

Bonne chance, ~~~ 0;-Dan

share|improve this answer

See Maco's answer to this question, which outlines how to blacklist (well, remove really) the module when you suspend, then reload it when you resume.

As a follow up, you can you see my specific edit to the /etc/default/acpi-support file in this answer.

No guarantees with this stuff though. You might have to experiment a bit to get it all working. In some cases, (a Sony Viao WLAN card), I can't get the hardware to resume at all after suspend, regardless of how I edit this file.

Good luck.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.