diff options
-rw-r--r-- | blacklist-gobook-xr1-sound.conf | 2 | ||||
-rwxr-xr-x | gobook-xr1-sound | 34 | ||||
-rwxr-xr-x | gobook-xr1.sh | 2 |
3 files changed, 0 insertions, 38 deletions
diff --git a/blacklist-gobook-xr1-sound.conf b/blacklist-gobook-xr1-sound.conf index 172fab9..3cca97f 100644 --- a/blacklist-gobook-xr1-sound.conf +++ b/blacklist-gobook-xr1-sound.conf @@ -1,3 +1 @@ -blacklist snd_hda_codec -blacklist snd_hda_codec_si3054 blacklist snd_hda_codec_realtek diff --git a/gobook-xr1-sound b/gobook-xr1-sound deleted file mode 100755 index df8e63d..0000000 --- a/gobook-xr1-sound +++ /dev/null @@ -1,34 +0,0 @@ -#! /bin/sh -### BEGIN INIT INFO -# Provides: gobook-xr1-sound -# Required-Start: $syslog $remote_fs -# Required-Stop: $syslog $remote_fs -# Should-Start: -# Should-Stop: -# X-Start-Before: -# X-Stop-After: -# Default-Start: 2 3 4 5 -# Default-Stop: 1 -# Short-Description: GoBook XR-1 Sound -# Description: Does a little dance with sound modules -### END INIT INFO - -PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin -SCRIPTNAME=gobook-xr1-touchscreen - -case "$1" in - start) - modprobe snd_hda_codec_realtek - rmmod snd_hda_intel - modprobe snd_hda_intel - rmmod snd_hda_intel - rmmod snd_hda_codec_realtek - modprobe snd_hda_intel - ;; - *) - echo "Usage: $SCRIPTNAME {start}" >&2 - exit 3 - ;; -esac - -exit 0 diff --git a/gobook-xr1.sh b/gobook-xr1.sh index 738d7f7..4720922 100755 --- a/gobook-xr1.sh +++ b/gobook-xr1.sh @@ -16,5 +16,3 @@ fi # Fix sound sudo install -m 644 blacklist-gobook-xr1-sound.conf /etc/modprobe.d/ -sudo install -m 755 gobook-xr1-sound /etc/init.d/ -sudo update-rc.d gobook-xr1-sound defaults |