AsahiLinux / linux

Linux kernel source tree
Other
2.16k stars 85 forks source link

3.5mm headset microphone detection failure #294

Open j-o-h-n-g opened 1 month ago

j-o-h-n-g commented 1 month ago

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