From: Jaroslav Kysela Date: Wed, 7 Dec 2022 09:18:04 +0000 (+0100) Subject: ucm2: sof-hda-dsp: Update Mic LED settings X-Git-Tag: v1.2.9~49 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=79a8ec44d3dcf097f4a4492c506cbcf338324175;p=alsa-ucm-conf.git ucm2: sof-hda-dsp: Update Mic LED settings 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 --- diff --git a/ucm2/Intel/sof-hda-dsp/sof-hda-dsp.conf b/ucm2/Intel/sof-hda-dsp/sof-hda-dsp.conf index e6a8a15..9e85914 100644 --- a/ucm2/Intel/sof-hda-dsp/sof-hda-dsp.conf +++ b/ucm2/Intel/sof-hda-dsp/sof-hda-dsp.conf @@ -9,7 +9,17 @@ If.devdmic { Haystack "${CardComponents}" Needle "cfg-dmics:" } - True.Define.DeviceDmic "Mic1" + True { + Define.DeviceDmic "Mic1" + FixedBootSequence [ + # + # 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 + # + sysw "-/class/sound/ctl-led/mic/card${CardNumber}/detach:Capture Switch" + ] + } True.Define.DeviceMic "Mic2" }