From 9de93b08a41e3d04abde9ca00e893b4505cf9c38 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Thu, 2 Dec 2021 14:49:10 +0100 Subject: [PATCH] HDA: improve init.conf (Capture volume, switches) Signed-off-by: Jaroslav Kysela --- ucm2/HDA/init.conf | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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%" ] } -- 2.47.1