]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
ucm2: rt712: add mic led support
authorShuming Fan <shumingf@realtek.com>
Fri, 2 Oct 2026 05:56:12 +0000 (13:56 +0800)
committerJaroslav Kysela <perex@perex.cz>
Fri, 9 Oct 2026 09:01:14 +0000 (11:01 +0200)
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/864
Signed-off-by: Shuming Fan <shumingf@realtek.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/codecs/rt712/init.conf

index ab9b080d10ca22f6728ac06f48a67d74d3e1e108..3c5b1b586a61359a0e77fa3f564a085e188bcee3 100644 (file)
@@ -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" } }
+               ]
+       }
 }