you also need pulseaudio know the jack is can be retasked as headphone or mic by user if the codec cannot differentiate the headphone and mic when plugged
https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/log/sound/pci/hda?qt=grep&q=HEADPHONE+MIC
you also need pulseaudio know the jack is can be retasked as headphone or mic by user if the codec cannot differentiate the headphone and mic when plugged
https:/ /git.kernel. org/cgit/ linux/kernel/ git/tiwai/ sound.git/ log/sound/ pci/hda? qt=grep& q=HEADPHONE+ MIC