[20ALCTO1WW, Realtek ALC292, Black Mic, Left][Lenovo ThinkPad X240] external mic has no sound at all
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | HWE Next |
High
|
Hui Wang | ||
| | alsa-driver (Ubuntu) |
High
|
Hui Wang | ||
Bug Description
During this test, an error dialog was thrown, reading:
The following mixer control(s) might be incorrectly set:
Mic is at 0.0%
Mic is muted
Please try to fix that (e g by running
"alsamixer -D hw:PCH" in a terminal) and see if that solves the problem.
Would you like to continue troubleshooting anyway?
However, the System Settings... -> Sound UI shows the mic as not muted. When I tried running the alsamixer command, I saw mic and mic-boost were both showing 0; I cranked them up to 100, but it made no difference. I also tried re-running this command with the mic/mic-boost still set to 100 and it threw the same error.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: alsa-base 1.0.25+
ProcVersionSign
Uname: Linux 3.13.0-45-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.6
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/pcmC1D0c: doctorow 2636 F...m pulseaudio
/dev/snd/pcmC1D0p: doctorow 2636 F...m pulseaudio
/dev/snd/
CurrentDesktop: Unity
Date: Mon Jan 26 16:20:49 2015
InstallationDate: Installed on 2014-09-10 (138 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
PackageArchitec
SourcePackage: alsa-driver
Symptom: audio
Symptom_
Symptom_
Symptom_Card: Built-in Audio - HDA Intel PCH
Symptom_
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/pcmC1D0c: doctorow 2636 F...m pulseaudio
/dev/snd/pcmC1D0p: doctorow 2636 F...m pulseaudio
/dev/snd/
Symptom_Jack: Black Mic, Left
Symptom_Type: No sound at all
Title: [20ALCTO1WW, Realtek ALC292, Black Mic, Left] No sound at all
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 06/24/2014
dmi.bios.vendor: LENOVO
dmi.bios.version: GIET75WW (2.25 )
dmi.board.
dmi.board.name: 20ALCTO1WW
dmi.board.vendor: LENOVO
dmi.board.version: 0B98401 PRO
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.name: 20ALCTO1WW
dmi.product.
dmi.sys.vendor: LENOVO
mtime.conffile.
| doctorow (doctorow) wrote : | #1 |
| Taihsiang Ho (taihsiangho) wrote : | #3 |
Lenovo ThinkPad X240
(CID 201307-14019)
which has the same audio components (pci ID and subsystem ID)
and the same codec ALC292
could reproduce this bug with fresh installation 14.04.1 and updated 14.04.1 (kernel 3.13.0-44)
Please refer to the attachment 201307-
for more details.
| summary: |
- [20ALCTO1WW, Realtek ALC292, Black Mic, Left] No sound at all + [20ALCTO1WW, Realtek ALC292, Black Mic, Left][Lenovo ThinkPad X240] + external mic has no sound at all |
| tags: | added: 201307-14019 blocks-hwcert taipei-lab |
| Taihsiang Ho (taihsiangho) wrote : | #4 |
in comment 2,
internal mic and speaker and external speaker (e.g. headphone) works
with fresh installation 14.04.1 and updated 14.04.1 (kernel 3.13.0-44)
only the external mic malfunctions.
| Changed in alsa-driver (Ubuntu): | |
| importance: | Undecided → High |
| Anthony Wong (anthonywong) wrote : | #5 |
@taihsiang, can you grab the package oem-audio-
| Changed in hwe-next: | |
| status: | New → Incomplete |
| importance: | Undecided → High |
| Changed in hwe-next: | |
| assignee: | nobody → David Henningsson (diwic) |
| Changed in alsa-driver (Ubuntu): | |
| assignee: | nobody → David Henningsson (diwic) |
| David Henningsson (diwic) wrote : | #6 |
Looking at http://
Checking the kernel source does not find anything that should have regressed nor fixed external mic on this machine, so next question would be:
- Is this working on the pre-install image or was there a miss in the testing?
- Is there any specific audio patches (e g an alsa daily dkms) applied to the pre-install image?
| Taihsiang Ho (taihsiangho) wrote : | #7 |
The following headsets were tested on Lenovo ThinkPad X240 (CID 201307-14019) and
could reproduce this bug.
They are[1]:
OMTP: Nokia WH-102 HS125
CTIA: SONY MH-EX300AP, Samsung (unknown model), HTC (unknown model)
[1] It is hard to know which type the headset is because there is no model label, and
even there is a model label, the data searched from internet seems to be unclear or very few.
I confirmed the type by the brands because of history background of the development of the pole standard, and
a electronic multimeter to measure the resistance of the poles of the headsets.
| Taihsiang Ho (taihsiangho) wrote : | #8 |
tested on:
Lenovo ThinkPad X240
(CID 201307-14019)
3.13.0-44-generic #73
and package
ii oem-audio-
could reproduce this bug.
| Changed in hwe-next: | |
| status: | Incomplete → Confirmed |
| David Henningsson (diwic) wrote : | #9 |
Setting to incomplete while waiting for answers to comment #6
| Changed in alsa-driver (Ubuntu): | |
| status: | Confirmed → Incomplete |
| Changed in hwe-next: | |
| status: | Confirmed → Incomplete |
| Anthony Wong (anthonywong) wrote : | #10 |
@taihsiang, are you able to find the pre-install for this machine and try it out?
| Raymond (superquad-vortex2) wrote : | #11 |
The combo audio connector does not support a conventional microphone.
Combo audio connector
Connect headphones or a headset that has a 3.5-mm (0.14-inch), 4-pole plug to the combo audio connector to listen to the sound from the computer.
| Taihsiang Ho (taihsiangho) wrote : | #12 |
When mute mic key was pressed, mic LED did not turn on/off, but the volume status bar (unity notification) would pop up and show the speaker was muted/unmuted. However, the speaker does not be muted practically.
| David Henningsson (diwic) wrote : | #13 |
Could we check whether it's the jack detect or the signal which is at fault here?
To do that, install the alsa-tools-gui package and start hdajackretask. Select the analog codec, check "advanced override" and for pin 0x1a (Mic), change "jack detection" to "not present". After applying the change, now both the "Internal Mic" and "Mic" options should always be available. So plug your headset in and manually switch to the external mic.
What is the result now, e g:
- recording from external mic?
- recording silence or random buzz noise?
- recording from internal mic although the external is selected?
| Taihsiang Ho (taihsiangho) wrote : | #14 |
recording from external mic?
- No sound.
recording silence or random buzz noise?
- random buzz noise. Please refer to the attachment external-
recording from internal mic although the external is selected?
- No. Please see the following description[1]
[1]
select internal mic, unplug external mic: there is recorded sound
select internal mic, plug external mic: there is recorded sound
select external mic, unplug external mic: silent (mic amplitude > 100%)
select external mic, plug external mic: ramdom buzz similar to the attachment external-
| Taihsiang Ho (taihsiangho) wrote : | #15 |
Lenovo ThinkPad X240
(CID 201307-14019)
UEFI BIOS Version: GIET53WW (2.01)
UEFI BIOS Date: 2013-07-23
Embedded Controller Version: GIHT22WW (1.07)
ME Firmware Version 9.5.10.1505
| Changed in alsa-driver (Ubuntu): | |
| status: | Incomplete → Confirmed |
| Raymond (superquad-vortex2) wrote : | #16 |
you need to use debug version of alsa driver to check the system log to find out whether your codec alc292 can automatcally differentiate headset and headphone as your thinkpad does not support conventional mic
http://
| Raymond (superquad-vortex2) wrote : | #17 |
Headphone Mic Jack - indicates headphone and mic-in mode share the same jack,
i e, not two separate jacks. Hardware cannot distinguish between a
headphone and a mic.
Headset Mic Phantom Jack - indicates headset jack where hardware can not
distinguish between headphones and headsets
Headset Mic Jack - indicates headset jack where hardware can distinguish
between headphones and headsets. There is no use popping up a dialog in
this case, unless we already need to do this for the mic-in mode.
| Raymond (superquad-vortex2) wrote : | #18 |
Node 0x1a [Pin Complex] wcaps 0x40048b: Stereo Amp-In
Control: name="Mic Boost Volume", index=0, device=0
ControlAmp: chs=3, dir=In, idx=0, ofs=0
Control: name="Mic Jack", index=0, device=0
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
Amp-In vals: [0x00 0x00]
Pincap 0x00003724: IN Detect
Vref caps: HIZ 50 GRD 80 100
Pin Default 0x03a11020: [Jack] Mic at Ext Left
Conn = 1/8, Color = Black
DefAssociation = 0x2, Sequence = 0x0
Pin-ctls: 0x24: IN VREF_80
Unsolicited: tag=02, enabled=1
Power states: D0 D1 D2 D3 EPSS
Power: setting=D0, actual=D0
This mean the jack detection control can be either headset mic jack or headset mic phantom jack
| David Henningsson (diwic) wrote : | #19 |
Thanks. Could you please also submit alsa-info for case "select external mic, plug external mic" where the recording is noise?
In addition, could we check the jack detection in detail: Please install alsa-tools 1.0.28 (if you're running trusty, it's available from https:/
* Unplug headphone/headset
* run "sudo hdajacksensetest -c 1 -a" and paste the result here
* Plug headphone (not headset)
* run "sudo hdajacksensetest -c 1 -a" and paste the result here
* Plug CTIA headset in
* run "sudo hdajacksensetest -c 1 -a" and paste the result here
* Plug OMTP headset in
* run "sudo hdajacksensetest -c 1 -a" and paste the result here
Thanks!
| Taihsiang Ho (taihsiangho) wrote : | #20 |
The attachment lp1414706-
They are
alsa-info for case "select external mic, plug external mic" - alsa-info-
alsa-tools 1.0.28
from https:/
* Unplug headphone/headset
* run "sudo hdajacksensetest -c 1 -a" - 201307-
* Plug headphone (not headset)
* run "sudo hdajacksensetest -c 1 -a" - 201307-
* Plug CTIA headset in
* run "sudo hdajacksensetest -c 1 -a" - 201307-
* Plug OMTP headset in
* run "sudo hdajacksensetest -c 1 -a" - 201307-
| Changed in hwe-next: | |
| status: | Incomplete → Confirmed |
| David Henningsson (diwic) wrote : | #21 |
Ok, so the jack detection is working correctly.
Next step is to try if X240 uses a non-standard VREF of 50% instead of 80%. I'm attaching a DKMS for you to try.
| David Henningsson (diwic) wrote : | #22 |
Please remove any changes done in hdajackretask or /etc/modprobe.
Now try recording and check the result. If the recording result is different from previous recording, please attach it.
Also an alsa-info taken during recording would be appreciated. Thanks!
| Changed in alsa-driver (Ubuntu): | |
| status: | Confirmed → Incomplete |
| David Henningsson (diwic) wrote : | #23 |
For reference, this is the patch applied to the DKMS.
| tags: | added: patch |
| Taihsiang Ho (taihsiangho) wrote : | #24 |
feedback of comment 22:
random buzz similar to the attachment external-
the associated alsa-info is the attachment alsa-info-
| Changed in alsa-driver (Ubuntu): | |
| status: | Incomplete → Confirmed |
| tags: | added: ihv-realtek |
| Raymond (superquad-vortex2) wrote : | #25 |
if you cannot use debug version, you can modify hdajacksense.c or use hda verb to check whether the codec can differentitate cita or omtp headset
static void alc_determine_
+{
+ int val;
+ bool is_ctia = false;
+ struct alc_spec *spec = codec->spec;
+
+ switch (codec->vendor_id) {
+ case 0x10ec0283:
+ alc_write_
+ msleep(300);
+ val = alc_read_
+ is_ctia = (val & 0x0070) == 0x0070;
+ break;
+ case 0x10ec0292:
+ alc_write_
+ msleep(300);
+ val = alc_read_
+ is_ctia = (val & 0x001c) == 0x001c;
+ break;
+ case 0x10ec0668:
+ alc_write_
+ alc_write_
+ alc_write_
+ alc_write_
+ msleep(300);
+ val = alc_read_
+ is_ctia = (val & 0x1c02) == 0x1c02;
+ break;
+ }
+
+ snd_printdd(
+ is_ctia ? "yes" : "no");
+ spec->current_
| Taihsiang Ho (taihsiangho) wrote : | #26 |
@Raymond
Thanks for your information.
I will find time to give it a try.
| David Henningsson (diwic) wrote : | #27 |
This seems to be a tricky one. I was wondering if we can also make a coef dump. To do that, please do the following:
1) revert any changes done with hdajackretask or /etc/modprobe.
2) on top of 14.04, install the latest daily dkms package (from the alsa-daily PPA)
3) reboot
4) (as root) echo 1 > /sys/module/
5) start recording to headset mic and confirm that the bug is present (records buzzing noise instead of clear sound)
6) while recording is active, dump alsa-info
7) attach alsa-info (or a link to it) here
Thanks!
| Taihsiang Ho (taihsiangho) wrote : | #28 |
the alsa-info for the comment 27 could be found as the attachment alsa-info-
The sound is buzzing noise when dumping alsa-info.
-------
more info:
Linux 201307-14019 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
ii oem-audio-
ubuntu@
1
| Alex Wen (ronglu-wen) wrote : | #29 |
@David
For BeiJing site, the external mic works on new received Lenovo ThinkPad X240.
Upload the alsa-info log.
The sound with a little buzzing when dumping alsa-info.
more info:
Machine information:
Test image: Stock Ubuntu 14.04
BIOS Version: GIET60WW (2.10 )
Audio cards:
00:03.0 Audio device [0403]: Intel Corporation Device [8086:0a0c] (rev 09)
00:1b.0 Audio device [0403]: Intel Corporation Device [8086:9c20] (rev 04)
Codec: Realtek ALC292
Headset: philips shm7110
#uname -a
Linux u-ThinkPad-X240 3.13.0-46-generic #77-Ubuntu SMP Mon Mar 2 18:23:39 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
#dpkg -l |grep -oem
ii oem-audio-
#cat /sys/module/
1
| Alex Wen (ronglu-wen) wrote : | #30 |
| David Henningsson (diwic) wrote : | #31 |
No obvious difference (all coefs are the same!), but several things are differing, first, the product name:
-Product Name: 20AMOS3
+Product Name: 20AMZ02QUS
Second, even the hardware is of a later revision:
-00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 03)
+00:1b.0 Audio device: Intel Corporation Lynx Point-LP HD Audio Controller (rev 04)
Second, firmware, kernel and ALSA dkms are all newer on the working one:
-Firmware Version: GIET53WW (2.01 )
+Firmware Version: GIET60WW (2.10 )
-Kernel release: 3.13.0-32-generic
+Kernel release: 3.13.0-46-generic
-[ 15.242582] snd_hda_intel 0000:00:1b.0: Probing card using HDA DKMS, version 0.201502151246~
+[ 13.866567] snd_hda_intel 0000:00:1b.0: Probing card using HDA DKMS, version 0.201503011031~
On the non-working one, please try updating both the firmware, the kernel, and the ALSA daily dkms on the non-working one to rule out differences between the non-working and working one.
Then post another alsa-info with dump_coef on. Thanks!
| Changed in hwe-next: | |
| status: | Confirmed → Incomplete |
| Taihsiang Ho (taihsiangho) wrote : | #32 |
The following scenarios were tested. this issue could be reproduced.
Please note for case [4] and [5] was tested with updated BIOS (GIET53WW → GIET78WW)
(I hasn't accessed the same BIOS revision yet)
kernel/HDA DKMS/bios - result, also info attachment
[1] 3.13.0-46, HDA DKMS (0.201502151246
[2] 3.13.0-46, HDA DKMS (0.201503201631
[3] 3.13.0-46, without HDA DKMS, GIET53WW (2.01), GIET53WW (2.01) - could reproduce this bug (recorded noise), 201307-
[4] 3.13.0-46, HDA DKMS (0.201503201631
[5] 3.13.0-46, without HDA DKMS, GIET53WW (2.01), GIET78WW 2.28 - could reproduce this bug (recorded noise), 201307-
in case [4] and [5], I could not access dump_coef because no such path /sys/module/
(I didn't try to access dump_coef in case [1] [2] [3] so I could not tell whether they are the same.)
I will test with a clean 14.04.1 installation with this updated bios (GIET78WW 2.28) again to avoid mutiple package/dkms installation/
| Taihsiang Ho (taihsiangho) wrote : | #33 |
| Taihsiang Ho (taihsiangho) wrote : | #34 |
| Taihsiang Ho (taihsiangho) wrote : | #35 |
| Taihsiang Ho (taihsiangho) wrote : | #36 |
| Raymond (superquad-vortex2) wrote : | #37 |
14.255907] snd_hda_codec: module verification failed: signature and/or required key missing - tainting kernel
[ 14.256203] snd_hda_codec: Unknown symbol snd_device_
| Taihsiang Ho (taihsiangho) wrote : | #38 |
could reproduce this bug on CID 201307-14019 with:
updated 14.04.1 (fresh installation and update)
kernel 3.13.0-48-generic
oem-audio-
BIOS GIET78WW (2.28 )
(without the HDA DKMS could still reproduce the bug)
Please refer to comment38.tar.gz for alsa-info log (with dump_coef on)
| Taihsiang Ho (taihsiangho) wrote : | #39 |
I tried the configuration similar to the one in comment 29 on CID 201307-14019,
and it could reproduce this bug.
It is:
14.04.1 on 201307-14019
BIOS VERSION: GIET60WW (2.10 )
oem-audio-
3.13.0-46-generic #79-Ubuntu SMP Tue Mar 10 20:06:50 UTC 2015
The relevant alsa-info log dumped when recording audio could be found in the attachment
comment39.
-------
Besides, I tested the other configuration.
Their alsa-info log dumped when recording audio could be found in comment39.tar.gz as well.
They are
3.13.0-46 with/without hda dkms, bios GIET60WW (2.10 )
3.13.0-48 with/without hda dkms, bios GIET60WW (2.10 )
and all of them could reproduce this issue.
when dumping alsa-info, the dump_coef was on if available.
| Raymond (superquad-vortex2) wrote : | #40 |
your coef dump seem indicate headset mic is cita
val = alc_read_
is_ctia = (val & 0x001c) == 0x001c;
+static void alc_determine_
+{
+ int val;
+ bool is_ctia = false;
+ struct alc_spec *spec = codec->spec;
+
+ switch (codec->vendor_id) {
+ case 0x10ec0292:
+ alc_write_
+ msleep(300);
+ val = alc_read_
+ is_ctia = (val & 0x001c) == 0x001c;
+ break;
snd_printdd(
+ is_ctia ? "yes" : "no");
+ spec->current_
+}
| Taihsiang Ho (taihsiangho) wrote : | #41 |
Hi Raymond, thanks for indicating that.
The tests I have done above is tested with a ctia headset,
except the comment no.7, which using both of OMTP and CTIA.
| Alex Wen (ronglu-wen) wrote : | #42 |
Retest on Wolverine-1(CID 201307-14019) from Taipei, the external mic no sounds output.
Retest on Wolverine-2 in BJ site, he external mic works well.
Test Image: sutton-
| Changed in hwe-next: | |
| assignee: | David Henningsson (diwic) → Hui Wang (hui.wang) |
| Changed in alsa-driver (Ubuntu): | |
| assignee: | David Henningsson (diwic) → Hui Wang (hui.wang) |
| Changed in hwe-next: | |
| status: | Incomplete → Won't Fix |


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