Comment 66 for bug 1173952

Revision history for this message
mlaverdiere (mlaverdiere) wrote : Re: Suspend and hibernate not working in 13.04 with alx module

I'm on Ubuntu 13.10 (Saucy) with kernel 3.11 on an Asus S400CA notebook and I do experience this problem, i.e. suspending/resuming works once, but on the second time I get an hard freeze on suspending that can't be recover. Unloading alx module before suspend solves the problem.

Let me know if I should open a new bug report for 13.10.

In case it might be helpful for someone, my workaround for this bug is to put a file (script) named 00_alx_suspend in /etc/pm/sleep.d, with the following content:

#!/bin/sh

case "$1" in
  suspend|hibernate)
    /sbin/rmmod alx
    ;;
  resume|thaw)
    /sbin/rmmod alx
    /sbin/modprobe alx
    ;;
esac
exit 0

In order to make this script executable, just issue this command in a terminal:

sudo chmod 755 /etc/pm/sleep.d/00_alx_suspend