SHOW:
|
|
- or go back to the newest paste.
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 | - | /sbin/rmmod cyapa |
8 | + | |
9 | - | #sleep 1 |
9 | + | |
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 | ################# |