OSDN Git Service
(root)
/
android-x86
/
external-alsa-ucm-conf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f994991
)
rt715: add mic led support
author
Jaroslav Kysela
<perex@perex.cz>
Tue, 18 May 2021 17:17:48 +0000
(19:17 +0200)
committer
Jaroslav Kysela
<perex@perex.cz>
Tue, 18 May 2021 17:22:53 +0000
(19:22 +0200)
Fixes: https://github.com/alsa-project/alsa-ucm-conf/pull/67
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/codecs/rt715/init.conf
patch
|
blob
|
history
diff --git
a/ucm2/codecs/rt715/init.conf
b/ucm2/codecs/rt715/init.conf
index
2baa105
..
2bbff07
100644
(file)
--- a/
ucm2/codecs/rt715/init.conf
+++ b/
ucm2/codecs/rt715/init.conf
@@
-18,3
+18,14
@@
If.adcxx {
cset "name='rt715 ADC 07 Capture Volume' 58"
]
}
+
+If.capturesw {
+ Condition {
+ Type ControlExists
+ Control "name='rt715 Capture Switch'"
+ }
+ True.FixedBootSequence [
+ exec "-/sbin/modprobe snd_ctl_led"
+ sysw "-/class/sound/ctl-led/mic/card${CardNumber}/attach:rt715 Capture Switch"
+ ]
+}