From: Jaroslav Kysela Date: Thu, 2 Dec 2021 13:49:10 +0000 (+0100) Subject: HDA: improve init.conf (Capture volume, switches) X-Git-Tag: v1.2.6~2 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=9de93b08a41e3d04abde9ca00e893b4505cf9c38;p=alsa-ucm-conf.git HDA: improve init.conf (Capture volume, switches) Signed-off-by: Jaroslav Kysela --- diff --git a/ucm2/HDA/init.conf b/ucm2/HDA/init.conf index 6310eb3..a190e98 100644 --- a/ucm2/HDA/init.conf +++ b/ucm2/HDA/init.conf @@ -26,6 +26,7 @@ If.speaker { } True.BootSequence [ cset "name='Speaker Playback Volume' 60%" + cset "name='Speaker Playback Switch' off" ] } @@ -36,5 +37,16 @@ If.headphone { } True.BootSequence [ cset "name='Headphone Playback Volume' 60%" + cset "name='Headphone Playback Switch' off" + ] +} + +If.capture { + Condition { + Type ControlExists + Control "name='Capture Volume'" + } + True.BootSequence [ + cset "name='Capture Volume' 60%" ] }