]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
HDA: improve init.conf (Capture volume, switches)
authorJaroslav Kysela <perex@perex.cz>
Thu, 2 Dec 2021 13:49:10 +0000 (14:49 +0100)
committerJaroslav Kysela <perex@perex.cz>
Fri, 3 Dec 2021 08:25:39 +0000 (09:25 +0100)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/HDA/init.conf

index 6310eb34973a211634ce207eba53c9aaf2da39fc..a190e981ccd5a0ccf868c998d143b14010cefb6f 100644 (file)
@@ -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%"
        ]
 }