[Asus X401U] external mic does not work

Bug #1132769 reported by Jeff Lane 
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Medium
David Henningsson

Bug Description

This system comes with a combo audio plug (headphone/mic) and accepts the 4 band apple plug headsets. However, only output seems to work. On plugging in a headset that is known working hardware, the external audio becomes a selectable source in the sound config tool for output, but input only shows the internal mic available.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: linux-image-3.5.0-23-generic 3.5.0-23.35~precise1
ProcVersionSignature: Ubuntu 3.5.0-23.35~precise1-generic 3.5.7.2
Uname: Linux 3.5.0-23-generic x86_64
NonfreeKernelModules: fglrx
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.25.
ApportVersion: 2.0.1-0ubuntu17.1
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 1: Generic_1 [HD-Audio Generic], device 0: ALC270 Analog [ALC270 Analog]
   Subdevices: 0/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: ubuntu 1593 F.... pulseaudio
 /dev/snd/pcmC1D0c: ubuntu 1593 F...m pulseaudio
 /dev/snd/controlC0: ubuntu 1593 F.... pulseaudio
CRDA:
 country TW:
  (2402 - 2472 @ 40), (3, 27)
  (5270 - 5330 @ 40), (3, 17), DFS
  (5735 - 5815 @ 40), (3, 30)
Card0.Amixer.info:
 Card hw:0 'Generic'/'HD-Audio Generic at 0xfeb44000 irq 49'
   Mixer name : 'ATI R6xx HDMI'
   Components : 'HDA:1002aa01,00aa0100,00100200'
   Controls : 6
   Simple ctrls : 1
Card0.Amixer.values:
 Simple mixer control 'IEC958',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Card1.Amixer.info:
 Card hw:1 'Generic_1'/'HD-Audio Generic at 0xfeb40000 irq 16'
   Mixer name : 'Realtek ALC270'
   Components : 'HDA:10ec0270,10431c93,00100100'
   Controls : 20
   Simple ctrls : 11
Date: Mon Feb 25 07:01:52 2013
HibernationDevice: RESUME=UUID=1ce14347-b48e-4dd3-8930-cbe1c3911cbe
InstallationMedia: Ubuntu 12.04.2 LTS "Precise Pangolin" - Release amd64 (20130213)
MachineType: ASUSTeK COMPUTER INC. X401U
MarkForUpload: True
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 VESA VGA
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.5.0-23-generic root=UUID=60afc8a7-a4df-4c82-a9ab-02a6ae4b6e75 ro quiet splash initcall_debug vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.5.0-23-generic N/A
 linux-backports-modules-3.5.0-23-generic N/A
 linux-firmware 1.79.1
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/20/2012
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: X401U.T308
dmi.board.asset.tag: ATN12345678901234567
dmi.board.name: X401U
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: 1.0
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK COMPUTER INC.
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrX401U.T308:bd08/20/2012:svnASUSTeKCOMPUTERINC.:pnX401U:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnX401U:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
dmi.product.name: X401U
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK COMPUTER INC.

Revision history for this message
Jeff Lane  (bladernr) wrote :
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Anthony Wong (anthonywong) wrote : Re: external mic does not work

We have already fixed this bug during enablement and also fixed in quantal (bug 1018262), need David to check why it's not working now.

Changed in linux (Ubuntu):
assignee: Canonical Hardware Enablement Team (canonical-hwe-team) → David Henningsson (diwic)
Revision history for this message
David Henningsson (diwic) wrote :

There is some confusion here that needs to be sorted out first.

1) Some machines (only from Asus AFAIK) have a single 3-pin jack, that can accept either a headphone or a mic, but not a 4-pin headset. When plugged in, you need to manually select headphone or mic in order to be able to use it. This is what the codec proc file tells me that this is, and this also is what the bug Anthony points at concerns. I wouldn't give my word that it was fixed in quantal, because nobody came back to me and confirmed that it actually worked in the distro, and also, this fix has not been completely backported to precise (and I don't want to SRU that before someone tells me that what I've done in quantal actually works).

2) Many more machines have a single 4-pin jack where you can plug either a 3-pin headphone or a 4-pin headset, but not a 3-pin mic. This is what Jeff says that this machine is.

3) If you go to Asus' specifications of the X401U, ( https://www.asus.com/Notebooks_Ultrabooks/X401U/#specifications ), it says that there is one 3-pin headphone jack, one 3-pin microphone jack and one line-in jack. Just to add to the confusion.

In order to proceed I need from someone with the hardware to reconfirm what type of jack this really is.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Jeff Lane  (bladernr) wrote :

Ok, I'm looking at the jack and I can't tell you... it's a 3.5mm jack with both mic and headphone icons separated by a /.

If I plug my 4 band headset in, I get sound through the headphones. but only the internal mic works.

Next, I used a splitter that converts a 4 band headset plug into a dual 3 band (PC) headset plugs providing one 3 band plug for earphones and one 3 band plug for mic.

If I plug the 3 band earphone plug in, I again get sound through the earphones. HOwever, if I plug in the 3 band mic plug, I still get nothing, only the internal Mic works.

This headset has worked perfect on all systems with combo jacks, and works perfectly on every other system I've tried with dual jacks using the splitter described above.

Here's a picture of the jack

Changed in linux (Ubuntu):
status: Incomplete → New
Revision history for this message
Jeff Lane  (bladernr) wrote :

I also just tried the mic jack of a standard PC headset and that too failed to do anything.

In both cases, the Sound Settings tool showed headset as an Output option but Internal Mic as the only input option.

Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
David Henningsson (diwic) wrote : Re: external mic does not work

Okay, so given the icon, that increases the likelyhood if this being an either/or jack, which is also what the kernel says. I e, it's a 3-pin only jack, but you can plug either a headphone or a mic, but not the headset combo.

As Anthony says, we probably have better support for this in Quantal. This is how it's supposed to work in Quantal:

When you plug something in, both the "Mic" and the "Headphone" option appears in the sound settings. If you plugged in a headphone, you go to the output tab and select "Headphone", on the input tab select "Internal Mic".
If you plugged in a mic, you go to the output tab and select "Speakers", on the input tab select "Headphone Mic" (or possibly just "Microphone", don't remember).

If this is a cert blocker for 12.04; I need to SRU this functionality into 12.04. But I don't want to do that before I have got actual verification that the above is how it actually works in 12.10, and that it all works correctly. I can't do that, because I haven't got any hardware. Can you do it for me?

Revision history for this message
Jeff Lane  (bladernr) wrote :

We don't. I've just installed Quantal on the box tried again. With nothing plugged in, launching the Sound Settings tool, Output shows two options, Internal and Headphones. Input shows only one, Internal Mic.

I plugged in a Mic, and nothing changed, I was not given an "External Mic" Option and the Headphones option remained for Output.

I then applied the latest Quantal updates, rebooted and tried again. Same thing.

Revision history for this message
David Henningsson (diwic) wrote :

Can you plug in the external mic (with quantal, latest updates), then attach the output of
 - pacmd list
 - alsa-info ( https://wiki.ubuntu.com/Audio/AlsaInfo )

Thanks!

Ara Pulido (ara)
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Jeff Lane  (bladernr) wrote :

pacmd output

Revision history for this message
Jeff Lane  (bladernr) wrote :

alsa-info output

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
David Henningsson (diwic) wrote :

Argh, so it seems like the patch did not make it into quantal after all...only raring.

Sorry for the inconvenience, but would it be possible for you to test raring to see if things work better there (and if not, attach alsa-info and pacmd list output)?

Thanks.

Patch reference: http://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=7369a53ab5f606e87a3cd1cd4eebd40226bab090

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
summary: - external mic does not work
+ [Asus X401U] external mic does not work
Changed in linux (Ubuntu):
importance: Undecided → Medium
Revision history for this message
David Henningsson (diwic) wrote :

I think this is working nowadays; we have plenty of Dell hardware that now works in similar ways (although not exactly the same).
And it seems difficult to find the hardware to verify, so I'm marking this as Fix Released. If you still find the bug with the Asus 1015 CX in the latest release of ubuntu, please reopen the bug.

Changed in linux (Ubuntu):
status: Incomplete → Fix Released
Revision history for this message
David Henningsson (diwic) wrote :

I think this is working nowadays; we have plenty of Dell hardware that now works in similar ways (although not exactly the same).
And it seems difficult to find the hardware to verify, so I'm marking this as Fix Released. If you still find the bug with the Asus X401U in the latest release of ubuntu, please reopen the bug.

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.