]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
ucm2: HDA: Update Mic LED settings for ACP DMIC
authorJaroslav Kysela <perex@perex.cz>
Wed, 7 Dec 2022 14:00:35 +0000 (15:00 +0100)
committerJaroslav Kysela <perex@perex.cz>
Wed, 7 Dec 2022 14:00:42 +0000 (15:00 +0100)
Users expect to turn the LED on when only internal mic is off, but
it makes sense to turn this LED when all internal inputs are off.

This configuration may be changed when the affected applications
are updated.

BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=2134824
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/HDA/HDA.conf

index 64ffe83621361fc965f7013c83feaf9f3f25f020..47dfc058379bc3e920fb146fb0ce1f674618e3f2 100644 (file)
@@ -55,6 +55,7 @@ If.use {
                                        cset-new "name='Mic ACP LED Capture Switch' type=bool,count=1 off"
                                        exec "-/sbin/modprobe snd_ctl_led"
                                        sysw "-/class/sound/ctl-led/mic/card${CardNumber}/attach:Mic ACP LED Capture Switch"
+                                       sysw "-/class/sound/ctl-led/mic/card${CardNumber}/detach:Capture Switch"
                                ]
                        }
                }