OSDN Git Service

rt715: add mic led support
[android-x86/external-alsa-ucm-conf.git] / ucm2 / codecs / rt715 / init.conf
1 # RT715 specific volume control settings
2
3 BootSequence [
4         cset "name='rt715 DMIC3 Boost' 2"
5         cset "name='rt715 DMIC4 Boost' 2"
6         cset "name='rt715 ADC 24 Mux' 3"
7         cset "name='rt715 ADC 25 Mux' 4"
8 ]
9
10 If.adcxx {
11         Condition {
12                 Type ControlExists
13                 Control "name='rt715 ADC 07 Capture Switch'"
14         }
15         True.BootSequence [
16                 cset "name='rt715 ADC 27 Capture Switch' 1"
17                 cset "name='rt715 ADC 07 Capture Switch' 1"
18                 cset "name='rt715 ADC 07 Capture Volume' 58"
19         ]
20 }
21
22 If.capturesw {
23         Condition {
24                 Type ControlExists
25                 Control "name='rt715 Capture Switch'"
26         }
27         True.FixedBootSequence [
28                 exec "-/sbin/modprobe snd_ctl_led"
29                 sysw "-/class/sound/ctl-led/mic/card${CardNumber}/attach:rt715 Capture Switch"
30         ]
31 }