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

3.5mm headset microphone detection failure #294

Open
j-o-h-n-g opened this issue May 13, 2024 · 0 comments
Open

3.5mm headset microphone detection failure #294

j-o-h-n-g opened this issue May 13, 2024 · 0 comments

Comments

@j-o-h-n-g
Copy link

My 3.5mm headphones work reliably but the microphone is often not detected. I can sometimes get this to be detected after many removals and inserts. Then it works fine until I next reboot. This seems to be at the kernel level rather than anything in userspace. dmesg output below. This has been occurring since I first installed asahi (everything works fine in MacOS). Reporting now as recently upgraded to fc40 and still occurring.

[Mon May 13 14:45:49 2024] cs42l84 2-004b: Plug event
[Mon May 13 14:45:50 2024] cs42l84 2-004b: Detected bare headphone (no mic)
[Mon May 13 14:45:51 2024] cs42l84 2-004b: Unplug event
[Mon May 13 14:45:52 2024] cs42l84 2-004b: Plug event
[Mon May 13 14:45:52 2024] cs42l84 2-004b: Detected bare headphone (no mic)
[Mon May 13 14:45:52 2024] cs42l84 2-004b: Unplug event
[Mon May 13 14:45:53 2024] cs42l84 2-004b: Plug event
[Mon May 13 14:45:53 2024] cs42l84 2-004b: Detected bare headphone (no mic)
[Mon May 13 14:45:54 2024] cs42l84 2-004b: Unplug event
[Mon May 13 14:45:54 2024] cs42l84 2-004b: Plug event
[Mon May 13 14:45:55 2024] cs42l84 2-004b: Detected bare headphone (no mic)
[Mon May 13 14:45:55 2024] cs42l84 2-004b: Unplug event
[Mon May 13 14:45:56 2024] cs42l84 2-004b: Plug event
[Mon May 13 14:45:56 2024] cs42l84 2-004b: Detected open circuit on HS4
[Mon May 13 14:45:56 2024] cs42l84 2-004b: Detected bare headphone (no mic)
[Mon May 13 14:45:57 2024] cs42l84 2-004b: Unplug event
[Mon May 13 14:45:58 2024] cs42l84 2-004b: Plug event
[Mon May 13 14:45:58 2024] cs42l84 2-004b: Detected open circuit on HS4
[Mon May 13 14:45:58 2024] cs42l84 2-004b: Detected bare headphone (no mic)
[Mon May 13 14:45:59 2024] cs42l84 2-004b: Unplug event
[Mon May 13 14:46:00 2024] cs42l84 2-004b: Plug event
[Mon May 13 14:46:00 2024] cs42l84 2-004b: Detected open circuit on HS4
[Mon May 13 14:46:00 2024] cs42l84 2-004b: Detected bare headphone (no mic)
[Mon May 13 14:46:01 2024] cs42l84 2-004b: Plug event
[Mon May 13 14:46:01 2024] cs42l84 2-004b: Detected open circuit on HS4
[Mon May 13 14:46:01 2024] cs42l84 2-004b: Detected bare headphone (no mic)
[Mon May 13 14:46:02 2024] cs42l84 2-004b: Unplug event
[Mon May 13 14:46:02 2024] cs42l84 2-004b: Unplug event
[Mon May 13 14:46:03 2024] cs42l84 2-004b: Plug event
[Mon May 13 14:46:03 2024] cs42l84 2-004b: Detected open circuit on HS4
[Mon May 13 14:46:03 2024] cs42l84 2-004b: Detected bare headphone (no mic)
[Mon May 13 14:46:04 2024] cs42l84 2-004b: Unplug event
[Mon May 13 14:46:05 2024] cs42l84 2-004b: Plug event
[Mon May 13 14:46:05 2024] cs42l84 2-004b: Detected mic

Device information

Model:          Apple MacBook Pro (16-inch, M1 Max, 2021)
Compatible:     apple,j316c apple,t6001 apple,arm-platform

Firmware versions

iBoot1:         iBoot-10151.101.3
iBoot2:         iBoot-8422.141.2
SFR:            unknown
OS firmware:    13.5
m1n1 stage 2:   v1.4.12
U-Boot:         2024.04
jannau added a commit that referenced this issue Oct 3, 2024
There are user reports of unreliable headset detection on Macbooks with
cs42l84 jack codecs like in #294. One way to reproduce this is to insert
a headset jack not fully but only until tip sense tiggers. The
headset/mic detection fails and is not retried once the jack is fully
inserted.
This might not be related to the issue the user sees. Another
possiblility is that the headset detection parameters / algorithm
differs from macos and doesn't detect this particular headset reliably.

Signed-off-by: Janne Grunau <j@jannau.net>
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

1 participant