Suspend fails and I know the module causing it. What can I do?

Solution 1:

This is a known bug: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/522998

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: http://ubuntuforums.org/showthread.php?t=1444822

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

Solution 2:

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/00_fixMounted.sh 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