summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Gaffney <agaffney@gentoo.org>2009-12-26 18:22:39 -0600
committerAndrew Gaffney <agaffney@gentoo.org>2009-12-26 18:22:39 -0600
commit390a62bafdf6f917e64f5b2377c842629673cc74 (patch)
tree0e5383721658640ca95438b6164ff8cf1c76141c
parentRemove x-setup and mkxf86config stuff since they're not needed with modern xo... (diff)
downloadlivecd-tools-390a62bafdf6f917e64f5b2377c842629673cc74.tar.gz
livecd-tools-390a62bafdf6f917e64f5b2377c842629673cc74.tar.bz2
livecd-tools-390a62bafdf6f917e64f5b2377c842629673cc74.zip
Unmute Speaker control (for Gentoo bug #292437)
-rw-r--r--ChangeLog3
-rwxr-xr-xautoconfig3
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index bbba5a8..ec394f4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,9 @@
# Copyright 1999-2009 Gentoo Foundation; 2008-2009 Various authors (see AUTHORS)
# Distributed under the GPL v2
+ 27 Dec 2009; Andrew Gaffney <agaffney@gentoo.org> autoconfig:
+ Unmute Speaker control (for Gentoo bug #292437)
+
27 Dec 2009; Andrew Gaffney <agaffney@gentoo.org> autoconfig, -x-setup,
-x-setup.init:
Remove x-setup and mkxf86config stuff since they're not needed with modern
diff --git a/autoconfig b/autoconfig
index af3aa92..df96d59 100755
--- a/autoconfig
+++ b/autoconfig
@@ -617,6 +617,9 @@ start() {
[ -n "$(grep PCM /etc/amixer)" ] \
&& amixer -c $i -q set PCM 95% unmute \
>/dev/null 2>&1
+ [ -n "$(grep Speaker /etc/amixer)" ] \
+ && amixer -c $i -q set Speaker 95% unmute \
+ >/dev/null 2>&1
[ -n "$(grep Mic /etc/amixer)" ] \
&& amixer -c $i -q set Mic 95% mute cap \
>/dev/null 2>&1