From: Shuming Fan Date: Fri, 2 Oct 2026 05:56:12 +0000 (+0800) Subject: ucm2: rt712: add mic led support X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=3edc2fc219d5a981ecdb6628806144c46caaa122;p=alsa-ucm-conf.git 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 --- 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" } } + ] + } }