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
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)
modprobe -r $m
done
resume| thaw)
modprobe $m
done
for m in $MODS
do
;;
for m in $MODS
do
;;
esac