alsactl: add ca0106 initialization file

This file was created using alsa-info.sh database on www.alsa-project.org
without any real tests.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Jaroslav Kysela 2009-05-05 11:10:35 +02:00
parent 4818e2701b
commit 13ba4383d8
2 changed files with 33 additions and 0 deletions

View file

@ -31,6 +31,7 @@ RESULT=="skip", GOTO="init_end"
# real ALSA configuration database
CARDINFO{driver}=="HDA-Intel", INCLUDE="hda", GOTO="init_end"
CARDINFO{driver}=="CA0106", INCLUDE="ca0106", GOTO="init_end"
CARDINFO{driver}=="Test", INCLUDE="test", GOTO="init_end"
LABEL="init_end"

32
alsactl/init/ca0106 Normal file
View file

@ -0,0 +1,32 @@
# Configuration for CA0106 driver
CTL{reset}="mixer"
CTL{name}="Master Playback Volume", CTL{value}="-20dB"
CTL{name}="Master Playback Switch", CTL{value}="on"
CTL{name}="Analog Front Playback Volume", CTL{value}="0dB"
CTL{name}="Analog Front Playback Switch", CTL{value}="on"
CTL{name}="Analog Rear Playback Volume", CTL{value}="0dB"
CTL{name}="Analog Rear Playback Switch", CTL{value}="on"
CTL{name}="Analog Center/LFE Playback Volume", CTL{value}="0dB"
CTL{name}="Analog Center/LFE Playback Switch", CTL{value}="on"
CTL{name}="Analog Side Playback Volume", CTL{value}="0dB"
CTL{name}="Analog Side Playback Switch", CTL{value}="on"
CTL{name}="IEC958 Front Playback Volume", CTL{value}="0dB"
CTL{name}="IEC958 Rear Playback Volume", CTL{value}="0dB"
CTL{name}="IEC958 Center/LFE Playback Volume", CTL{value}="0dB"
# capture
CTL{name}="Analog Source Capture Enum", CTL{value}="Mic"
CTL{name}="Mic Capture Volume", CTL{value}="6dB"
CTL{name}="Shared Mic/Line in Capture Switch", CTL{value}="Mic in"
RESULT="true", EXIT="return"
#
# some variants have also AC97 mixer
#
CTL{reset}="mixer"
CTL{name}="AC97 Line Capture Volume",PROGRAM!="__ctl_search",GOTO="ac97_end"
CTL{name}="Analog Source Capture Enum", CTL{value}="AC97 in"
CTL{name}="AC97 Mic Capture Switch", "on"
CTL{name}="AC97 Mic Capture Value", "6dB"
LABEL="ac97_end"