This script now solves the problem (although does cause a delay before
wifi connection):

$ cat /etc/pm/sleep.d/alienware_pci_rescan 
#! /bin/sh

# This script rescans the PCI bus after resume from suspend to fix
# broken WiFi, wired ethernet, and the card reader on the Alienware 15 R2.

case $1 in
     resume|thaw)
        echo 1 > /sys/bus/pci/devices/0000\:00\:1c.4/rescan
        echo 1 > /sys/bus/pci/devices/0000\:00\:1c.5/rescan
        echo 1 > /sys/bus/pci/devices/0000\:00\:1c.6/rescan
        ;;
esac

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

Title:
  WiFi + wired ethernet broken after suspend on Alienware 15 R2

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

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

Reply via email to