]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
rt722: add mic led support
authorShuming Fan <shumingf@realtek.com>
Wed, 25 Sep 2024 02:16:27 +0000 (10:16 +0800)
committerJaroslav Kysela <perex@perex.cz>
Tue, 15 Oct 2024 13:26:33 +0000 (15:26 +0200)
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/443
Signed-off-by: Shuming Fan <shumingf@realtek.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/codecs/rt722/init.conf

index 7eee08b0083fb1a1f5f5bca79493e06e32c5f3ea..9212c40738c71df56098eae62c427c6ff0a6f722 100644 (file)
@@ -9,3 +9,8 @@ BootSequence [
        cset "name='rt722 FU05 Playback Volume' 35"
        cset "name='rt722 FU0F Capture Volume' 63"
 ]
+
+FixedBootSequence [
+       exec "-/sbin/modprobe snd_ctl_led"
+       sysw "-/class/sound/ctl-led/mic/card${CardNumber}/attach:rt722 FU1E Capture Switch"
+]