alsa-project/alsa-ucm-conf

Broken microphone switch on mtk-rt5650

jenneron opened this issue · 2 comments

The problem is that both headphones and mic use JackControl "Headset Jack" When there are headphones without mic connected it switches to external mic which is not present.

In kernel there appears to be only one switch https://github.com/torvalds/linux/blob/3c8b5861850c734add65233e538d4a8c2dff95d9/sound/soc/mediatek/mt8173/mt8173-rt5650.c#L130-L135 responsible for handling both headphone and microphone. So, how is userspace supposed to distinguish connection of headset and headphones?