alsa-ucm-conf/ucm2/codecs/rt722/init.conf
Aaron Ma 7fd1a77ddb ucm2: rt722: add speaker mute LED and PlaybackSwitch for FU06
Attach rt722 FU06 Playback Switch to the speaker mute LED via SetLED
in init.conf, and declare PlaybackSwitch in the Speaker device so
PipeWire can toggle hardware mute.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/753
Link: https://lore.kernel.org/linux-sound/20260423101338.1040131-1-aaron.ma@canonical.com/
Signed-off-by: Aaron Ma <aaron.ma@canonical.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2026-05-04 11:23:47 +02:00

29 lines
748 B
Text

# RT722-sdca specific volume control settings
BootSequence [
cset "name='rt722 ADC 24 Mux' 'DMIC1'"
cset "name='rt722 ADC 25 Mux' 'DMIC2'"
cset "name='rt722 ADC 22 Mux' 'MIC2'"
cset "name='rt722 FU1E Capture Volume' 63"
cset "name='rt722 FU06 Playback Volume' 60"
cset "name='rt722 FU05 Playback Volume' 87"
cset "name='rt722 FU0F Capture Volume' 63"
]
If.spk_init_rt722 {
Condition {
Type String
Needle "rt722"
Haystack "${var:SpeakerCodec1}"
}
True.Macro [{ SetLED { LED="speaker" Action="attach" CtlId="rt722 FU06 Playback Switch" } }]
}
If.mic_init_rt722 {
Condition {
Type String
Needle "rt722"
Haystack "${var:MicCodec1}"
}
True.Macro [{ SetLED { LED="mic" Action="attach" CtlId="rt722 FU1E Capture Switch" } }]
}