Comment 115 for bug 1286552

Revision history for this message
Felix (h-mlil-c) wrote :

Following works for me for my Sony Vaio (even when enabling energy saving option for ath9k driver). I collected the script information from various sources - the last missing thing for my Vaio seemed to be the timeout parameter. Since I added the timeout parameter it works:

case "$1" in

hibernate|suspend)
  nmcli nm sleep true
  sleep 1
  modprobe -rf ath9k
;;

thaw|resume)
  nmcli nm sleep true
  modprobe -rf ath9k
  nmcli nm sleep false --timeout 10
  modprobe ath9k
  killall wpa_supplicant
;;

*) exit $NA
;;
esac