User:ManiacTwister/cinergy-suspend: Difference between revisions
Jump to navigation
Jump to search
(Created page with "This script can be used on systemd systems. This makes the Terratec Cinergy T Dual card working after suspend/hibernation. /usr/lib/systemd/system-sleep/unload-cinergydrivers.sh...") |
No edit summary |
||
Line 7: | Line 7: | ||
case $1 in |
case $1 in |
||
pre) |
pre) |
||
# Uncomment the next line if you're using kaffeine. |
# Uncomment the next two line if you're using kaffeine. |
||
# If not you should add pkill <yourtvsoftware> here. |
# If not you should add pkill <yourtvsoftware> here. |
||
#pkill kaffeine |
#pkill kaffeine |
||
sleep 2 |
# sleep 2 |
||
rmmod cx23885 cx25840 |
rmmod cx23885 cx25840 |
||
;; |
;; |
Latest revision as of 18:22, 15 January 2014
This script can be used on systemd systems. This makes the Terratec Cinergy T Dual card working after suspend/hibernation.
/usr/lib/systemd/system-sleep/unload-cinergydrivers.sh
#!/bin/bash case $1 in pre) # Uncomment the next two line if you're using kaffeine. # If not you should add pkill <yourtvsoftware> here. #pkill kaffeine # sleep 2 rmmod cx23885 cx25840 ;; post) modprobe cx25840 modprobe cx23885 ;; esac
chmod a+x /usr/lib/systemd/system-sleep/unload-cinergydrivers.sh