From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756071Ab0JAKSh (ORCPT ); Fri, 1 Oct 2010 06:18:37 -0400 Received: from cantor2.suse.de ([195.135.220.15]:41039 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751501Ab0JAKSg (ORCPT ); Fri, 1 Oct 2010 06:18:36 -0400 Date: Fri, 01 Oct 2010 12:18:34 +0200 Message-ID: From: Takashi Iwai To: Jeff Chua Cc: Wu Fengguang , Linux Kernel , "alsa-devel@alsa-project.org" Subject: Re: Microphone not working on PCI ID 8086:3b56 In-Reply-To: References: <20100930154557.GD11399@localhost> <20101001021548.GA7115@localhost> User-Agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.7 Emacs/23.1 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org At Fri, 1 Oct 2010 18:15:32 +0800, Jeff Chua wrote: > > On Fri, Oct 1, 2010 at 10:15 AM, Wu Fengguang wrote: > > > Jeff, this should make your mic work. > > > > diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c > > index a6c68cb..c0c2b33 100644 > > --- a/sound/pci/hda/patch_conexant.c > > +++ b/sound/pci/hda/patch_conexant.c > > @@ -3110,6 +3110,7 @@ static struct snd_pci_quirk cxt5066_cfg_tbl[] = { > >        SND_PCI_QUIRK(0x17aa, 0x21b2, "Thinkpad X100e", CXT5066_IDEAPAD), > >        SND_PCI_QUIRK(0x17aa, 0x21b3, "Thinkpad Edge 13 (197)", CXT5066_IDEAPAD), > >        SND_PCI_QUIRK(0x17aa, 0x21b4, "Thinkpad Edge", CXT5066_IDEAPAD), > > +       SND_PCI_QUIRK(0x17aa, 0x2156, "Lenovo X201s", CXT5066_THINKPAD), > >        SND_PCI_QUIRK(0x17aa, 0x215e, "Lenovo Thinkpad", CXT5066_THINKPAD), > >        SND_PCI_QUIRK(0x17aa, 0x38af, "Lenovo G series", CXT5066_IDEAPAD), > >        SND_PCI_QUIRK(0x17aa, 0x390a, "Lenovo S10-3t", CXT5066_IDEAPAD), > > > Getting closer, but mic still not working. Jeff, give always alsa-info.sh output when you want someone else looking into your HD-audio problem. Without it, it's very hard to follow what is wrong. > HDA Intel 0000:00:1b.0: PCI INT B -> GSI 17 (level, low) -> IRQ 17 > HDA Intel 0000:00:1b.0: irq 42 for MSI/MSI-X > HDA Intel 0000:00:1b.0: setting latency timer to 64 > ALSA sound/pci/hda/hda_intel.c:2518: chipset global capabilities = 0x4401 > ALSA sound/pci/hda/hda_intel.c:908: codec_mask = 0x9 > ALSA sound/pci/hda/hda_intel.c:1346: codec #0 probed OK > ALSA sound/pci/hda/hda_intel.c:1346: codec #3 probed OK > ALSA sound/pci/hda/hda_codec.c:3720: hda_codec: model 'thinkpad' is > selected for config 17aa:215e (Lenovo Thinkpad) > ALSA sound/pci/hda/hda_generic.c:683: hda_generic: no proper input path found > ALSA sound/pci/hda/hda_generic.c:288: Skip Digital OUT node 2 > ALSA sound/pci/hda/hda_generic.c:288: Skip Digital OUT node 3 > ALSA sound/pci/hda/hda_generic.c:431: hda_generic: no proper output path found > ALSA sound/pci/hda/hda_generic.c:1036: hda_generic: no PCM found > ALSA sound/pci/hda/patch_conexant.c:3032: CXT5066: init > ALSA sound/pci/hda/patch_conexant.c:2374: CXT5066: hp automute portA=0 > portD=0 present=0 > ALSA sound/pci/hda/patch_conexant.c:2110: CXT5066: update speaker, hp_present=0 > ALSA sound/pci/hda/patch_conexant.c:2354: CXT5066: external microphone absent > ALSA device list: > #0: HDA Intel at 0xf2520000 irq 42 > > ALSA sound/pci/hda/patch_conexant.c:2110: CXT5066: update speaker, hp_present=0 > ALSA sound/pci/hda/patch_conexant.c:3032: CXT5066: init > ALSA sound/pci/hda/patch_conexant.c:2374: CXT5066: hp automute portA=0 > portD=0 present=0 > ALSA sound/pci/hda/patch_conexant.c:2110: CXT5066: update speaker, hp_present=0 > ALSA sound/pci/hda/patch_conexant.c:2354: CXT5066: external microphone absent > ALSA sound/pci/hda/hda_intel.c:1670: azx_pcm_prepare: bufsize=0x10000, > format=0x11 > ALSA sound/pci/hda/hda_codec.c:1226: hda_codec_setup_stream: NID=0x10, > stream=0x5, channel=0, format=0x11 > ALSA sound/pci/hda/hda_codec.c:1284: hda_codec_cleanup_stream: NID=0x10 > ALSA sound/pci/hda/hda_codec.c:1284: hda_codec_cleanup_stream: NID=0x10 > ALSA sound/pci/hda/hda_intel.c:1670: azx_pcm_prepare: bufsize=0x10000, > format=0x11 > ALSA sound/pci/hda/hda_codec.c:1226: hda_codec_setup_stream: NID=0x10, > stream=0x5, channel=0, format=0x11 > ALSA sound/pci/hda/hda_codec.c:1284: hda_codec_cleanup_stream: NID=0x10 > ALSA sound/pci/hda/hda_codec.c:1284: hda_codec_cleanup_stream: NID=0x10 > ALSA sound/pci/hda/patch_conexant.c:3032: CXT5066: init > ALSA sound/pci/hda/patch_conexant.c:2374: CXT5066: hp automute portA=0 > portD=0 present=0 > ALSA sound/pci/hda/patch_conexant.c:2110: CXT5066: update speaker, hp_present=0 > ALSA sound/pci/hda/patch_conexant.c:2354: CXT5066: external microphone absent > ALSA sound/pci/hda/patch_conexant.c:3032: CXT5066: init > ALSA sound/pci/hda/patch_conexant.c:2374: CXT5066: hp automute portA=1 > portD=0 present=1 > ALSA sound/pci/hda/patch_conexant.c:2110: CXT5066: update speaker, hp_present=1 > ALSA sound/pci/hda/patch_conexant.c:2348: CXT5066: external microphone detected > ALSA sound/pci/hda/hda_intel.c:1670: azx_pcm_prepare: bufsize=0x10000, > format=0x31 > ALSA sound/pci/hda/hda_codec.c:1226: hda_codec_setup_stream: NID=0x14, > stream=0x1, channel=0, format=0x31 > ALSA sound/pci/hda/hda_intel.c:701: azx_get_response timeout, polling > the codec once: last cmd=0x014a0000 > ALSA sound/pci/hda/hda_codec.c:1284: hda_codec_cleanup_stream: NID=0x14 > ALSA sound/pci/hda/hda_intel.c:1670: azx_pcm_prepare: bufsize=0x10000, > format=0x31 > ALSA sound/pci/hda/hda_codec.c:1226: hda_codec_setup_stream: NID=0x10, > stream=0x5, channel=0, format=0x31 > ALSA sound/pci/hda/hda_codec.c:1284: hda_codec_cleanup_stream: NID=0x10 > ALSA sound/pci/hda/patch_conexant.c:3032: CXT5066: init > ALSA sound/pci/hda/patch_conexant.c:2374: CXT5066: hp automute portA=1 > portD=0 present=1 > ALSA sound/pci/hda/patch_conexant.c:2110: CXT5066: update speaker, hp_present=1 > ALSA sound/pci/hda/patch_conexant.c:2348: CXT5066: external microphone detected > ALSA sound/pci/hda/patch_conexant.c:2110: CXT5066: update speaker, hp_present=1 > ALSA sound/pci/hda/patch_conexant.c:3032: CXT5066: init > ALSA sound/pci/hda/patch_conexant.c:2374: CXT5066: hp automute portA=1 > portD=0 present=1 > ALSA sound/pci/hda/patch_conexant.c:2110: CXT5066: update speaker, hp_present=1 > ALSA sound/pci/hda/patch_conexant.c:2348: CXT5066: external microphone detected > ALSA sound/pci/hda/patch_conexant.c:2110: CXT5066: update speaker, hp_present=1 > ALSA sound/pci/hda/patch_conexant.c:3032: CXT5066: init > ALSA sound/pci/hda/patch_conexant.c:2374: CXT5066: hp automute portA=1 > portD=0 present=1 > ALSA sound/pci/hda/patch_conexant.c:2110: CXT5066: update speaker, hp_present=1 > ALSA sound/pci/hda/patch_conexant.c:2348: CXT5066: external microphone detected So, the mic is detected. I guess you didn't set up the capture mixer and else properly. Takashi