The following script works for me (saved as /etc/pm/sleep.d/5_quick-fix-drivers)
NB: The atl1c module is there because otherwise the ethernet controller didn't 
work after a resume. Remove it from the list if you aren't experiencing that 
problem.

-----
#!/bin/sh

PATH=/sbin:/usr/sbin:/bin:/usr/bin

MODS="xhci_hcd atl1c"

case "${1}" in
        suspend|hibernate)
                for m in $MODS
                do
                        modprobe -r $m
                done
                ;;
        resume|thaw)
                for m in $MODS
                do
                        modprobe $m
                done
                ;;
esac

-- 
system does not power off
https://bugs.launchpad.net/bugs/557072
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to