Comment 42 for bug 53310

Revision history for this message
nestoklon (nestoklon) wrote :

Found solution.
Problems can be solved
1) by hands: check if this helps then go to 2)
After "sudo pm-suspend"
  sudo rmmod ath_pci
  sudo modprobe ath_pci
  sudo /etc/init.d/NetworkManager restart
Network appears. If so, automate this
2)
  sudo vim /etc/pm/config.d/modules:
> SUSPEND_MODULES="ath_pci"
  sudo vim /usr/lib/pm-utils/sleep.d/10NetworkManager
> case "$1" in
> hibernate|suspend)
> /etc/init.d/NetworkManager stop
> ;;
> thaw|resume)
> /etc/init.d/NetworkManager start
> ;;
>*) exit $NA
> ;;
> esac

Gotcha.
Maybe Ubuntu ACPI Team could make this behaviour default? It looks like most of wireless modules should be unloaded before suspend.