We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef7c31f commit 19bb72fCopy full SHA for 19bb72f
ucm2/codecs/rt1318/init.conf
@@ -5,22 +5,13 @@ If.oneAmp {
5
Type ControlExists
6
Control "name='rt1318-1 DAC Switch'"
7
}
8
- True {
9
- FixedBootSequence [
10
- exec "-/sbin/modprobe snd_ctl_led"
11
- sysw "-/class/sound/ctl-led/speaker/card${CardNumber}/attach:rt1318-1 DAC Switch"
12
- ]
13
- }
+ True.Macro[{ SetLED { LED="speaker" Action="attach" CtlId="rt1318-1 DAC Switch" } }]
14
15
16
If.twoAmps {
17
Condition {
18
19
Control "name='rt1318-2 DAC Switch'"
20
21
22
23
- sysw "-/class/sound/ctl-led/speaker/card${CardNumber}/attach:rt1318-2 DAC Switch"
24
25
+ True.Macro[{ SetLED { LED="speaker" Action="attach" CtlId="rt1318-2 DAC Switch" } }]
26
0 commit comments