Advertisement
Guest User

Untitled

a guest
Aug 29th, 2016
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. sudo su
  2. echo 1 > /sys/bus/pci/rescan
  3.  
  4. #! /bin/sh
  5.  
  6. # This script rescans the PCI bus after resume from suspend to fix
  7. # broken WiFi, wired ethernet, and the card reader on the Alienware 15 R2.
  8.  
  9. case $1 in
  10. resume|thaw)
  11. echo 1 > /sys/bus/pci/devices/0000:00:1c.4/rescan
  12. echo 1 > /sys/bus/pci/devices/0000:00:1c.5/rescan
  13. echo 1 > /sys/bus/pci/devices/0000:00:1c.6/rescan
  14. ;;
  15. esac
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement