From 3edc2fc219d5a981ecdb6628806144c46caaa122 Mon Sep 17 00:00:00 2001 From: Shuming Fan Date: Fri, 2 Oct 2026 13:56:12 +0800 Subject: [PATCH] ucm2: rt712: add mic led support Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/864 Signed-off-by: Shuming Fan Signed-off-by: Jaroslav Kysela --- ucm2/codecs/rt712/init.conf | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/ucm2/codecs/rt712/init.conf b/ucm2/codecs/rt712/init.conf index ab9b080..3c5b1b5 100644 --- a/ucm2/codecs/rt712/init.conf +++ b/ucm2/codecs/rt712/init.conf @@ -26,11 +26,16 @@ If.rt712vb_init { Regex "=(rt712(-sdca)?)=" String "=${var:MicCodec1}=" } - True.BootSequence [ - # RT712-VB integrated with DMIC - cset "name='rt712 FU1E Capture Switch' 1" - cset "name='rt712 FU1E Capture Volume' 47" - cset "name='rt712 ADC 0A Mux' 'DMIC1'" - cset "name='rt712 ADC 0B Mux' 'DMIC2'" - ] + True { + BootSequence [ + # RT712-VB integrated with DMIC + cset "name='rt712 FU1E Capture Switch' 1" + cset "name='rt712 FU1E Capture Volume' 47" + cset "name='rt712 ADC 0A Mux' 'DMIC1'" + cset "name='rt712 ADC 0B Mux' 'DMIC2'" + ] + Macro [ + { SetLED { LED="mic" Action="attach" CtlId="rt712 FU1E Capture Switch" } } + ] + } } -- 2.52.0