davidjo / snd_hda_macbookpro

Kernel audio driver for Macs with 8409 HDA chip + MAX98706/SSM3515 amps
GNU General Public License v2.0
282 stars 60 forks source link

iMac 18,3 Fedora sound and mic stop working when plugging in headphones #113

Open aean0x opened 9 months ago

aean0x commented 9 months ago

Currently on Fedora 39, kernel 6.6.4-200. But similar behaviour on Pop OS kernel 6.5.6, kernel 6.2 (from Ubuntu), and Ubuntu.

Title is descriptive. Sound and mic works through built-in speakers (albeit imbalanced but I think this is a known issue) until headphones are plugged in. Headphones are detected, but no sound output. Moreover, mic stops detecting input when a device is inserted into the headphone jack. Sound did work precisely once upon plugging, but the mic did not. Occasionally it'll play a ~12 kHz tone through the headset instead of sound.

I'm at your disposal for logs and troubleshooting.

davidjo commented 7 months ago

I have just uploaded commits which may solve some of these issues as Ive just discovered a "feature" of the HDA generic driver which I had not expected so my coding didnt allow for it. In particular should fix working with 6.5 kernels and pipewire. It solved a reliable glitch I was getting with headphones/headsets for me.