On 8/4/20 4:56 AM, Bastien Nocera wrote:
Hey,
The front audio jack on my newly purchased (but not new) Lenovo m720s doesn't make a microphone output appear in PulseAudio when a headset is plugged in. The headphone part works correctly though. The "sof-hda-dsp Front Headphone" evdev device will switch the state of SW_HEADPHONE_INSERT as expected.
I would first try with the HDaudio legacy driver to separate variables. This will likely prevent your internal DMICs from working but will help you test without UCM.
options snd_intel_dspcfg dsp_driver=1
That way you'll be able to see if the jack detection actually works.
If it doesn't, it's a codec configuration/driver issue. It it does, it's somehow a PulseAudio/UCM issue. If indeed the information is reported as an event then I am leaning to a UCM issue with the wrong mixer being used.
Does anyone know whether the headphones/headset switching is supposed to be automatic, or would that trigger a "what did you plug in" dialogue as on some Dell machines I've worked with?
I couldn't find any quirks in sound/pci/hda that would be directly related to this problem (eg. Lenovo, ALC233 and mic presence), so I'm a bit stumped.
I've attached the pinout information from alsa-info.
Any ideas?
Cheers