Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Type ControlExists
Control "name='rt1318-1 DAC Switch'"
}
- True {
- FixedBootSequence [
- exec "-/sbin/modprobe snd_ctl_led"
- sysw "-/class/sound/ctl-led/speaker/card${CardNumber}/attach:rt1318-1 DAC Switch"
- ]
- }
+ True.Macro[{ SetLED { LED="speaker" Action="attach" CtlId="rt1318-1 DAC Switch" } }]
}
If.twoAmps {
Type ControlExists
Control "name='rt1318-2 DAC Switch'"
}
- True {
- FixedBootSequence [
- sysw "-/class/sound/ctl-led/speaker/card${CardNumber}/attach:rt1318-2 DAC Switch"
- ]
- }
+ True.Macro[{ SetLED { LED="speaker" Action="attach" CtlId="rt1318-2 DAC Switch" } }]
}