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