Internal mic stops working when plugging in headphones

Bug #1025388 reported by Jono Bacon on 2012-07-16
38
This bug affects 8 people
Affects Status Importance Assigned to Milestone
pulseaudio (Ubuntu)
High
Unassigned

Bug Description

I am currently running Quantal and when I plug headphones into my headphone socket (which has an icon of a headset next to it, so I presume it can take some kind of headset), the internal mic on my laptop stops working. If I unplug the headphones the internal mic works as normal.

I tried this with two different sets of headphones (one of which has a mic, and the other I think has a mic too).

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: pulseaudio 1:2.0-0ubuntu1
ProcVersionSignature: Ubuntu 3.5.0-4.4-generic 3.5.0-rc6
Uname: Linux 3.5.0-4-generic i686
ApportVersion: 2.3-0ubuntu4
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: jono 1860 F.... pulseaudio
 /dev/snd/pcmC0D0c: jono 1860 F...m pulseaudio
Date: Mon Jul 16 11:01:32 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: pulseaudio
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/06/2011
dmi.bios.vendor: LENOVO
dmi.bios.version: 8AET56WW (1.36 )
dmi.board.asset.tag: Not Available
dmi.board.name: 4239CTO
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr8AET56WW(1.36):bd12/06/2011:svnLENOVO:pn4239CTO:pvrThinkPadT520:rvnLENOVO:rn4239CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 4239CTO
dmi.product.version: ThinkPad T520
dmi.sys.vendor: LENOVO

Jono Bacon (jonobacon) wrote :
David Henningsson (diwic) wrote :

Hi Jono,

If you plug a headset (i e, headphone + mic) into a headset jack, the speakers and internal mic are muted, and the headphones and headset mic starts working instead. It looks like you're reporting the expected behavior as a bug?

Changed in pulseaudio (Ubuntu):
status: New → Incomplete
Raymond (superquad-vortex2) wrote :

you need the phantom port for the internal mic

control.18 {
  iface CARD
  name 'Dock Mic Jack'
  value false
  comment {
   access read
   type BOOLEAN
   count 1
  }
 }
 control.19 {
  iface CARD
  name 'Mic Jack'
  value false
  comment {
   access read
   type BOOLEAN
   count 1
  }
 }

David Henningsson (diwic) wrote :

@Raymond, no - these controls cause the internal mic to be picked up:

Simple mixer control 'Internal Mic',0
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 80
  Front Left: Capture 80 [100%] [6.00dB] [on]
  Front Right: Capture 80 [100%] [6.00dB] [on]
Simple mixer control 'Internal Mic Boost',0
  Capabilities: volume penum
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 4
  Front Left: 1 [25%] [12.00dB]
  Front Right: 1 [25%] [12.00dB]

Jono Bacon (jonobacon) wrote :

David - the internal mic on the headset does not work, so I am left with the laptop mic not working and the headset mic not working.

Changed in pulseaudio (Ubuntu):
status: Incomplete → Confirmed
Raymond (superquad-vortex2) wrote :

does the pluggin of combo headset mute the internal speaker?

does the mic jack control or headphone jack control become true after you plug the headset ?

combo headset is still not supported, most likely there is only one detect jack circuit

and the driver need to handle the auto mute and auto mic at the same time

Raymond (superquad-vortex2) wrote :

the driver should not create two volume controls and switches at the same node 0x14

Node 0x14 [Audio Input] wcaps 0x100d1b: Stereo Amp-In R/L
  Control: name="Dock Mic Capture Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Dock Mic Capture Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Internal Mic Capture Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=2, ofs=0
  Control: name="Internal Mic Capture Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=2, ofs=0
  Device: name="CONEXANT Analog", type="Audio", device=0
  Amp-In caps: ofs=0x4a, nsteps=0x50, stepsize=0x03, mute=1
  Amp-In vals: [0x80 0x80] [0x4a 0x4a] [0x50 0x50] [0x4a 0x4a]
  Converter: stream=4, channel=0
  SDI-Select: 0
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states: D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
  Connection: 4
     0x17 0x18 0x23* 0x24
Node 0x15 [Audio Input] wcaps 0x100d1b: Stereo Amp-In R/L
  Amp-In caps: ofs=0x4a, nsteps=0x50, stepsize=0x03, mute=1
  Amp-In vals: [0x80 0x80] [0x4a 0x4a] [0x4a 0x4a] [0x4a 0x4a]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states: D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
  Connection: 4
     0x17* 0x18 0x23 0x24
Node 0x16 [Audio Input] wcaps 0x100d1b: Stereo Amp-In R/L
  Amp-In caps: ofs=0x4a, nsteps=0x50, stepsize=0x03, mute=1
  Amp-In vals: [0x80 0x80] [0x4a 0x4a] [0x4a 0x4a] [0x4a 0x4a]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states: D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
  Connection: 4
     0x17* 0x18 0x23 0x24

David Henningsson (diwic) wrote :

@Jono,

Not sure I'm following. How would the computer know whether your headset mic is broken or not?

As soon as you plug something into that jack, the kernel autoswitches from the internal mic to the headset mic - just as it switches from internal speakers to headphones.

I clearly see there is a use case for a 4-pin headset jack, where you only want to use the headphones and still use the laptop's internal mic, (and likewise, use the headset mic with the internal speakers) but we don't provide a solution for that use case today. If this is what you mean, I guess the report should be a wishlist bug and titled differently.

Changed in pulseaudio (Ubuntu):
status: Confirmed → Incomplete
Raymond (superquad-vortex2) wrote :

refer to t520's specification
conexant 20672 codec stereo speaker,mute buttons, dual array mic, mic mute button, combo audio mic jack
but the docking station has pink and green jacks.

this seem that the headset with mic (TRRS connector) can only plug into combo audio mic jack and headphone (TRS connector) can plug into dock station

Raymond (superquad-vortex2) wrote :

the driver should create the ext mic playback volume and switch at node 0x14 and create ext mic boost at node 0x18

pulseaudio mute the other input source when ext mic is plugged

the workaround is change the ext mic conf of pulseaudio so that it will not mute the dock mic

Launchpad Janitor (janitor) wrote :

[Expired for pulseaudio (Ubuntu) because there has been no activity for 60 days.]

Changed in pulseaudio (Ubuntu):
status: Incomplete → Expired
Valentas (vk-registrator) wrote :

shouldn't be marked as expired. a pretty annoying thing and occurs for me on Lenovo T430.

Rafal Koterwa (rafal-koterwa) wrote :

I have the same bug on 14.04 LTS (Lenovo T430).

When I plug the headphone the internal microphone starts to work incorrectly.

In the mixer I have two controls (1. for the headphones, 2. for internal mic) When the headphones are plugged in the mic starts to make some noises.

Please let me know if you need anything from my end. Thanks for help.

Raf.

Changed in pulseaudio (Ubuntu):
status: Expired → New
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in pulseaudio (Ubuntu):
status: New → Confirmed
Raymond (superquad-vortex2) wrote :

https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda/patch_realtek.c?id=84f98fdf7865fbd35b312eb39ea91e5618c514c7

Do you mean headset mic not automatically switch when there are headphone and dock headphone?

Rafal Koterwa (rafal-koterwa) wrote :

The headphones I am using have no microphone. When I plug them in the sound is switching for the headphones, and that is working fine - sound is crystal clear - no problems.

The issue starts when I plug them in the built-in microphone starts to work incorrectly (it makes some noises). So I am not able to use Skype with my headphones without mic and built in microphone.

Rafal Koterwa (rafal-koterwa) wrote :

I am not using docking station

rohan dandage (rraadd-8) wrote :

Same issue as #17, when I connect my headphone with combo jack (works great with other devices) to laptop with ubuntu 16.04.

In PulseAudio volume control gui, in 'Input devices' tab, it shows that internal microphone is 'unplugged' and microphone (external, from combo headset) is 'plugged in'. But it does not work!

So as I find out that the combo headset clearly does not work due to lack of drivers, there should be a workaround to let users use the internal mic instead.

PS: This issue has been for 5 long year (see #1 above), somebody please do something. If we have commonplace headset with combo jack and and recent laptops with combo port, we evidently can't use ubuntu for video chatting. That's quite a downfall.

tags: added: xenial
Changed in pulseaudio (Ubuntu):
importance: Undecided → High
alex (alex1024) wrote :

The same bug for me, when I plug an external microphone (only a microphone with no headphone) on my laptop Lenovo W541 with Ubuntu 16.04.3, my internal speaker stop working. It is very annoying since I have only one jack and my internal microphone does not work with Ubuntu 16.04.3.

wai lee chin feman (skatenerd) wrote :

Hi, just chiming in to say I've encountered this behavior as well. When my headphones are plugged into the combo jack, the internal microphone is listed as 'unplugged'.

Current workaround is simply to unplug the headphones when I want to talk into the mic.

Filippo Giunchedi (filippo) wrote :

I'm running into the same behavior too on a carbon x1 5th gen: namely when headphones are plugged in I can't use the internal microphone.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers