Bug 59381 - microphone no longer works in the 3.9.x series
Summary: microphone no longer works in the 3.9.x series
Status: RESOLVED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: Sound(ALSA) (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Jaroslav Kysela
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-06 15:31 UTC by Peter John Hartman
Modified: 2013-11-13 17:15 UTC (History)
2 users (show)

See Also:
Kernel Version: 3.9.x
Subsystem:
Regression: No
Bisected commit-id:


Attachments
.config file (85.08 KB, text/plain)
2013-06-06 15:31 UTC, Peter John Hartman
Details
alsa-info for 3.9.4 (27.65 KB, text/plain)
2013-06-06 21:34 UTC, Peter John Hartman
Details
alsa-info for 3.8.13 (27.58 KB, application/octet-stream)
2013-06-06 21:34 UTC, Peter John Hartman
Details
Patch to correct pin configs (1.88 KB, patch)
2013-06-07 07:56 UTC, Takashi Iwai
Details | Diff
alsa-info for 3.9.4 + patch (28.48 KB, application/octet-stream)
2013-06-13 15:06 UTC, Peter John Hartman
Details
alsa-info-3.8.13.txt (19.16 KB, text/plain)
2013-10-09 22:11 UTC, Julian Ospald
Details
alsa-info-3.11.4.txt (21.81 KB, text/plain)
2013-10-09 22:11 UTC, Julian Ospald
Details

Description Peter John Hartman 2013-06-06 15:31:41 UTC
Created attachment 103661 [details]
.config file

Hi folks,

3.8.13 kernel microphone still works.  3.9.1 and above it has stopped working.  FWIW in alsamixer in the =< 3.8.13 kernels I have an entry for "Mic" but in the 3.9.x kernels it says "Mic Boost".  I tested this using: arecord -f cd -d 3 foo.wav.  

lspci:

00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
Comment 1 Takashi Iwai 2013-06-06 15:43:18 UTC
Give alsa-info.sh outputs (run with --no-upload option) on both 3.8 and 3.9 kernels.  Otherwise there is too little information for debugging.
Comment 2 Peter John Hartman 2013-06-06 21:34:12 UTC
Created attachment 103681 [details]
alsa-info for 3.9.4

i assume 3.9.1-3 are the same.
Comment 3 Peter John Hartman 2013-06-06 21:34:52 UTC
Created attachment 103691 [details]
alsa-info for 3.8.13

with this one the microphone works
Comment 4 Takashi Iwai 2013-06-07 07:45:01 UTC
Comparing both outputs, some pin configurations are different.
3.9 shows some strange active pin in NID 0x0a, and many SPDIF I/O are enabled, and even a docking port is seen.

Did you do cold boot at each time equally?

The problem of the mic might be irrelevant, but it's still weird.
Comment 5 Takashi Iwai 2013-06-07 07:56:24 UTC
In anyway, try the patch below.  This will correct the wrong pin configurations for your machine.
Comment 6 Takashi Iwai 2013-06-07 07:56:58 UTC
Created attachment 103761 [details]
Patch to correct pin configs
Comment 7 Peter John Hartman 2013-06-07 14:43:53 UTC
Tested with the patch.  Did not work.

Re cold / warm boot: it is a warm boot.  I'm not sure right now how to cold boot the MBA.
Comment 8 Takashi Iwai 2013-06-07 14:52:12 UTC
Give alsa-info.sh output again after the patch, then.
Also, make sure that "Capture" switch is set (unmuted) when you test a new kernel.
Comment 9 Peter John Hartman 2013-06-13 15:06:23 UTC
Created attachment 104641 [details]
alsa-info for 3.9.4 + patch

Microphone still does not work.
Comment 10 Peter John Hartman 2013-06-13 15:08:36 UTC
Cancel comment #7 and #9.  Microphone now seems to work in 3.9.4 + patch.  (Still does not work in 3.9.4 without the patch.)  I'm not entirely sure if for comment #7 I mistyped or had some alsamixer setting off.  Sorry for the confusion.
Comment 11 Takashi Iwai 2013-06-17 09:43:20 UTC
OK, I merged the patch to sound git tree now.  It'll be included in the next pull request, hopefully put into 3.10 and backported to stable kernels eventually.
Comment 12 Julian Ospald 2013-10-09 22:11:25 UTC
Created attachment 110551 [details]
alsa-info-3.8.13.txt

I have a similar issue with Webcam C200 mic starting right from kernel 3.9.

The kernel is only patched with ck and deblobbed. If you think that could affect this issue, I will recompile without those things.
Comment 13 Julian Ospald 2013-10-09 22:11:53 UTC
Created attachment 110561 [details]
alsa-info-3.11.4.txt
Comment 14 Takashi Iwai 2013-11-13 17:15:29 UTC
The original bug was fixed in the upstream.  Let's close.

Note You need to log in before you can comment on or make changes to this bug.