Advertisement
Guest User

Untitled

a guest
May 4th, 2014
511
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #####################
  2. #!/bin/sh
  3. # File: "/etc/pm/sleep.d/05_sound".
  4. # according to post from  Jimmy Capizzi from https://plus.google.com/+PedroLarroy/posts/6CgQypQukMa
  5. #
  6. case "${1}" in
  7.     hibernate|suspend)
  8.         # Unbind ehci for preventing error
  9.         echo -n "0000:00:1d.0" | tee /sys/bus/pci/drivers/ehci-pci/unbind
  10.         ;;
  11.     resume|thaw)
  12.         # Bind ehci for preventing error
  13.         echo -n "0000:00:1d.0" | tee /sys/bus/pci/drivers/ehci-pci/unbind
  14.         ;;
  15. esac
  16. #################
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement