Microphone no longer works when headphones are plugged in (PulseAudio)
Recently my microphone stopped working when the headphones are plugged in the 3.5mm jack port.
My headphones don't include a microphone. I wish to use the one embedded in my laptop. pavucontrol shows the internal microphone even when the headphones are plugged in, but it detects no sound coming from it.
How can I debug and fix the issue?
I'm using Pulseaudio 14.2 on KDE Plasma 5.21.5, Linux 5.12.6-arch1-1 on an x86-64 Lenovo Thinkpad E495 (AMD Ryzen 5 3500U). If I understand the output of lshw, the audio card is "Family 17h (Models 10h-1fh) HD Audio Controller" and it uses the driver snd_hda_intel.
About this post
- Posted
- Archived
- Score
- 4 · 68% up
- Kind
- Text
- ID
- nmdu3g
19 comments
Sounds like you're plugging a 3-conductor plug (R, L, Ground) into a 4-conductor jack (R, L, Mic, Ground).
The 4th pin senses a signal, even though that's just the left headphone.
You need a 3.5mm microphone adapter, (Tip Ring Ring Sleeve) TRRS male -to- (Tip Ring Sleeve) TRS female "Y" adapter.
They'll have'em in the electronics section. Look for a short 4" long cord with 4 conductors on one end, and the other has headphone / microphone logos on the tails. Something like this -- https://www.walmart.com/ip/Headset-Adapter-Microphone-and-Headphone-Splitter-3-5mm-Male-Aux-to-3-5mm-Female-Audio-Mic-Combo-Jack-Y-Cable-for-Laptop-PC/786891596
I took a picture of my headphones' jack: https://i.imgur.com/qzQQFrz.png Yes, it has only three pieces (L, R, Ground). There's no way to tell my audio card to ignore the fourth pin? Maybe for a very quick hack, I could add some tape at the base of the jack to shield the fourth pin...
I'm also curious why it used to work last week. It was the same headphones in the same laptop.
I'm going to try some different headphones soon and will update with the results.
I tried using some headphones with 4 pins (they embed a microphone), but the issue is still there.
The microphone of the headphones work, but the internal speakers and microphone of my laptop become "unavailable"/"unplugged" and stop working.
Did you try to manually specify your microphone at
/etc/pulse/default.paor~/.config/pulse/default.pa.It works here. My case, where
hw:1is my front microphone jack:No, I haven't tried, I'm a newbie at Audio on Linux. How can I find the name of my device and of the master?
Go back to the scenario where your mic works and run this:
But, as you said in the other comment, it used to work last week, so you may not need to do all that. If you can't find any solution, this can be your last resort..
I just noticed that the laptop microphone and speakers (called "Speakers" and "Internal microphone") become "unplugged" and "unavailable" when the headphones are plugged in.
Everything used to work fine in the past. I just tried to reboot, but it didn't help.
When the headphones are NOT connected:
Output of
pactl list sources:Output of
pactl list sinks:When the headphones are connected:
Output of
pactl list sources:Output of
pactl list sinks:Are you using rear and front jacks at the time when this occurs? PulseAudio switches between them, so, if you're using both, you need to manually specify them.
Op says it's a laptop, so presumably it doesn't have rear and front jacks. Likely just one mic/headphone jack
I'm really bad at this, sorry. What are rear and front jacks? My laptop has only got one 3.5mm jack port. I am using a USB-C dock, but it doesn't seem to provide a jack port.
Last week everything was working and I didn't need to manually specify anything...
EDIT:
pactl list cardsshows two cards. The second one is, I believe, audio over HDMI, but my monitor doesn't support anything for the audio channel. The long card name is "HD-Audio Generic at 0xd06c8000 irq 78"Deleted before we saved it.