OSDN Git Service

rt715-scda (rt714) - add mic led support
authorJaroslav Kysela <perex@perex.cz>
Tue, 18 May 2021 17:21:07 +0000 (19:21 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 18 May 2021 17:22:53 +0000 (19:22 +0200)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/codecs/rt715-sdca/init.conf

index 8506de1..3578b33 100644 (file)
@@ -1,4 +1,4 @@
-+# RT715-sdca (aka RT714) specific volume control settings
+# RT715-sdca (aka RT714) specific volume control settings
 
 BootSequence [
        cset "name='rt714 FU0A Capture Switch' 0"
@@ -7,3 +7,8 @@ BootSequence [
        cset "name='rt714 FU02 Capture Switch' 1"
        cset "name='rt714 FU02 Capture Volume' 124"
 ]
+
+FixedBootSequence [
+       exec "-/sbin/modprobe snd_ctl_led"
+       sysw "-/class/sound/ctl-led/mic/card${CardNumber}/attach:rt714 FU02 Capture Switch"
+]