From 79a8ec44d3dcf097f4a4492c506cbcf338324175 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Wed, 7 Dec 2022 10:18:04 +0100 Subject: [PATCH] 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 --- ucm2/Intel/sof-hda-dsp/sof-hda-dsp.conf | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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" } -- 2.47.1