I've achieved script to work now.

1. sudo apt-get install pm-utils
2. sudo touch /usr/lib/pm-utils/sleep.d/01alxdriver
3. sudo chmod +x  /usr/lib/pm-utils/sleep.d/01alxdriver
4. sudo vim / nano or your favourite text editor and paste:

#!/bin/sh

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1213009

Title:
  alx driver is not working after system resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1213009/+subscriptions

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

Reply via email to