alsa-utils/alsactl/init/hda
Jaroslav Kysela c5b022e621 alsactl: init/ca0106, init/hda - use CTL{values} instead CTL{value}
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2016-03-22 16:54:05 +01:00

39 lines
1.5 KiB
Text

# Configuration for HDA Intel driver (High Definition Audio - Azalia)
CARDINFO{mixername}=="Realtek ALC880", \
ATTR{subsystem_vendor}=="0x1025", ATTR{subsystem_device}=="0x0070", \
GOTO="Acer Travelmate 8100"
CARDINFO{mixername}=="Analog Devices AD1984", \
ATTR{subsystem_vendor}=="0x17aa", ATTR{subsystem_device}=="0x20ac", \
GOTO="Lenovo T61"
RESULT="false", EXIT="return"
LABEL="Acer Travelmate 8100"
# playback
CTL{reset}="mixer"
CTL{name}="Master Playback Volume", CTL{values}="-21dB"
CTL{name}="Master Playback Switch", CTL{values}="on"
CTL{name}="Headphone Playback Switch", CTL{values}="on"
CTL{name}="Front Playback Volume", CTL{values}="-29dB"
CTL{name}="Front Playback Switch", CTL{values}="on"
CTL{name}="PCM Playback Volume", CTL{values}="0dB"
# capture
CTL{name}="Input Source", CTL{value}="Mic"
CTL{name}="Capture Volume", CTL{values}="20dB"
CTL{name}="Capture Switch", CTL{values}="on"
RESULT="true", EXIT="return"
LABEL="Lenovo T61"
# playback
CTL{reset}="mixer"
CTL{name}="Master Playback Volume", CTL{values}="-13.5dB"
CTL{name}="Master Playback Switch", CTL{values}="on"
CTL{name}="Headphone Playback Switch", CTL{values}="on"
CTL{name}="Speaker Playback Switch", CTL{values}="on"
CTL{name}="PCM Playback Volume", CTL{values}="0dB"
# capture
CTL{name}="Input Source", CTL{value}="Internal Mic"
CTL{name}="Internal Mic Boost", CTL{values}="1"
CTL{name}="Capture Volume", CTL{values}="9dB"
CTL{name}="Capture Switch", CTL{values}="on"
RESULT="true", EXIT="return"