From a0c92daabf4fdc0a636f445ec2312c1b4fe04421 Mon Sep 17 00:00:00 2001
From: Bastien Nocera <hadess@hadess.net>
Date: Wed, 14 Sep 2011 12:13:04 +0100
Subject: [PATCH] Unmute MacBookAir4,1 speakers
---
alsactl/init/default | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/alsactl/init/default b/alsactl/init/default
index 7f8ec4c..198a306 100644
--- a/alsactl/init/default
+++ b/alsactl/init/default
@@ -174,6 +174,16 @@ CTL{name}="AC97 Playback Volume",CTL{do_search}=="1", \
CTL{name}="AC97 Playback Switch",CTL{do_search}=="1", \
CTL{values}="on"
+CTL{reset}="mixer"
+# With, and without typo, see
+# http://thread.gmane.org/gmane.linux.alsa.devel/89179
+CTL{name}="Surround Speaker Playback Volum",CTL{do_search}=="1", \
+ CTL{values}="$env{pvolume}",RESULT!="0",CTL{values}="100%"
+CTL{name}="Surround Speaker Playback Volume",CTL{do_search}=="1", \
+ CTL{values}="$env{pvolume}",RESULT!="0",CTL{values}="100%"
+CTL{name}="Surround Speaker Playback Switch",CTL{do_search}=="1", \
+ CTL{values}="on"
+
#
# Powermacs
#
--
1.7.6.2