From 42ae1e6f1b874da090abe065c781a4f7b91ba67c Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Tue, 28 Apr 2009 11:19:48 +0200 Subject: [PATCH] alsactl: init rules - fix HDA Conexact codec PCM initialization --- alsactl/init/default | 2 ++ 1 file changed, 2 insertions(+) diff --git a/alsactl/init/default b/alsactl/init/default index e2dcfd6..7afbefc 100644 --- a/alsactl/init/default +++ b/alsactl/init/default @@ -59,6 +59,7 @@ CTL{reset}="mixer" CTL{name}="PCM Playback Volume",PROGRAM!="__ctl_search",GOTO="pcm0_end" # exception - some HDA codecs have shifted dB range CTL{dBmin}=="-34.50dB",CTL{dBmax}=="12.00dB",CTL{values}="0dB",GOTO="pcm0_end" +CTL{dBmin}=="-30.00dB",CTL{dBmax}=="0dB",CTL{values}="0dB",GOTO="pcm0_end" CTL{values}="$env{volume}",RESULT!="0",CTL{values}="75%" LABEL="pcm0_end" CTL{name}="PCM Playback Switch",PROGRAM=="__ctl_search", \ @@ -69,6 +70,7 @@ CTL{name}="PCM Playback Volume",CTL{index}="1",PROGRAM!="__ctl_search", \ GOTO="pcm1_end" # exception - some HDA codecs have shifted dB range CTL{dBmin}=="-34.50dB",CTL{dBmax}=="12.00dB",CTL{values}="0dB",GOTO="pcm1_end" +CTL{dBmin}=="-30.00dB",CTL{dBmax}=="0dB",CTL{values}="0dB",GOTO="pcm1_end" CTL{values}="$env{volume}",RESULT!="0",CTL{values}="75%" LABEL="pcm1_end" CTL{name}="PCM Playback Switch",CTL{index}="1",PROGRAM=="__ctl_search", \