Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken microphone switch on mtk-rt5650 #336

Closed
jenneron opened this issue Jul 20, 2023 · 2 comments
Closed

Broken microphone switch on mtk-rt5650 #336

jenneron opened this issue Jul 20, 2023 · 2 comments

Comments

@jenneron
Copy link
Contributor

jenneron commented Jul 20, 2023

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?

@perexg
Copy link
Member

perexg commented Aug 29, 2023

You may try ask original authors torvalds/linux@0f83f92 . I removed JackControl lines, because in this case, user must select the correct output device manually.

@perexg perexg closed this as completed in eb22326 Aug 29, 2023
@jenneron
Copy link
Contributor Author

sarnold pushed a commit to VCTLabs/alsa-ucm-conf that referenced this issue Nov 30, 2023
We cannot judge which device should be activated in this case.

Fixes: alsa-project#336
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants