Page 1 of 1

Microphone stops working when headphones are plugged in

Posted: Wed Jul 22, 2020 5:36 pm
by Luxdragon
Good evening,

I have a peculiar issue with my microphone. Back on LM19.3, when I plugged in my headphones, my mic typically worked. Now on LM20 I have the issue that when I plug in my headphones the internal mic of my laptop stops working, just like on Windows 10. In the input section of sound settings it is possible to see how the level of input crashes to null when I plug in my earbuds.

Why does this happen and is there any way to activate my laptop's mic while headphones are plugged in?

Kind regards

Re: Microphone stops working when headphones are plugged in

Posted: Wed Jul 22, 2020 7:44 pm
by MrEen
Hi Luxdragon,

Install and run PulseAudio Volume Control (pavucontrol) and watch the Input Devices tab when you plug in the headphones. I'm betting the headphones are getting recognized as a headset, so is changing to the Headset Mic. You can change it back to Internal Mic on this tab, even though it might say Internal Mic (unplugged)

Re: Microphone stops working when headphones are plugged in

Posted: Thu Jul 23, 2020 5:16 am
by Luxdragon
Hello,

I installed the utility with sudo apt install pavucontrol, but it gives the same result as in the sound settings.

Both my headphones and my headset are recognised as 'headphones' in the output and input section of both the PulseAudio and Sound settings utilities. However, when I choose the internal mic, it still doesn't record any sound until I plug my headphones out. Interestingly, when I use my headset (which has its own mic) and set the input device to 'internal microphone', my PC only records the sounds made from the headset's mic.

After some faint experimentation on Messenger, I was told that when plugged in, my headphones don't record any sound except for some quiet white noise in the background.

Odd, isn't it?

Re: Microphone stops working when headphones are plugged in

Posted: Thu Jul 23, 2020 4:02 pm
by MrEen
Okay, chances are decent that having something plugged in is muting the Internal Mic. Run alsamixer in the terminal and arrow over to the Internal Mic column (not Internal Mic Boost) and if it has MM at the bottom of the column, press the m key to unmute it.

If there's still difficulty, paste the output of this command:

Code: Select all

curl https://gitlab.freedesktop.org/pulseaudio/pulseaudio/raw/master/src/utils/pa-info?inline=false | bash | nc termbin.com 9999
The last line of output will have a URL pointing to your sound setup. Maybe something in there will offer a clue as to what's happening.

Re: Microphone stops working when headphones are plugged in

Posted: Fri Jul 24, 2020 5:54 am
by Luxdragon
I ran alsamixer and got the following:

Image

If I pressed m, then the [00] would change into [MM], it was [00] even when I plugged in my headphones.

Link to the output of your command when my headphones are not plugged in:
https://termbin.com/1f9r

and when they are:
https://termbin.com/gnpi

Re: Microphone stops working when headphones are plugged in

Posted: Fri Jul 24, 2020 2:20 pm
by MrEen
Okay, here's what I think is happening. Since 20 came out, a lot of people are showing a Headset Mic in this section of the output:

Code: Select all

[    4.740734] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC233: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[    4.740738] snd_hda_codec_realtek hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    4.740740] snd_hda_codec_realtek hdaudioC1D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    4.740740] snd_hda_codec_realtek hdaudioC1D0:    mono: mono_out=0x0
[    4.740741] snd_hda_codec_realtek hdaudioC1D0:    inputs:
[    4.740743] snd_hda_codec_realtek hdaudioC1D0:      Headset Mic=0x19
[    4.740744] snd_hda_codec_realtek hdaudioC1D0:      Internal Mic=0x12
I'm suspecting a driver change caused this, to try to allow more users to use a headset mic that weren't showing one previously. Let's disable that pin, and see if that allows your internal mic to work as expected.

Install alsa-tools-gui then run HDAJackRetask. When it opens, select ALC233 in the upper left. Then click on the Override check box for pin 0x19 below that and change the box to Not connected. Click on Apply now and test the mic. If that works, click on Install boot override to automate this so you don't have to do it after each boot.

The only other option I can think of is to mute the Headset Mic in alsamixer and see if that makes the internal mic work.