The avs rt5663 board driver registers its headset mic jack pin as
"Headset Mic", so the jack control is "Headset Mic Jack". The profiles
named "Headset Mic", which doesn't exist: PipeWire logs
'Invalid JackControl value: "Headset Mic"' and headset mic detection
can't work.
Same fix as
02f4fb7 for avs_nau8825.
Tested on a Google Pixelbook (Eve) with snd_soc_avs.obsolete_card_names=1:
the warning is gone and the Headphones, Headset Microphone and Digital
Microphone devices still come up. HP Soraka uses the same board driver.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/866
Signed-off-by: Sergey Tiraspolsky <stiraspo@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Value {
CapturePCM "hw:${CardId},1"
CaptureMixerElem "Headset Mic"
- JackControl "Headset Mic"
+ JackControl "Headset Mic Jack"
}
EnableSequence [
cset "name='Headset Mic Switch' on"
Value {
CapturePCM "hw:${CardId},1"
CaptureMixerElem "Headset Mic"
- JackControl "Headset Mic"
+ JackControl "Headset Mic Jack"
}
EnableSequence [
cset "name='Headset Mic Switch' on"