mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Jeff Chua <jeff.chua.linux@gmail.com>
Cc: Wu Fengguang <fengguang.wu@intel.com>,
	Linux Kernel <linux-kernel@vger.kernel.org>,
	"alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>
Subject: Re: Microphone not working on PCI ID 8086:3b56
Date: Fri, 01 Oct 2010 12:18:34 +0200	[thread overview]
Message-ID: <s5h8w2irzb9.wl%tiwai@suse.de> (raw)
In-Reply-To: <AANLkTi=1=jT5LnjjP9uGMx-Q9kM7X6kx5=NeKK6Sa9g8@mail.gmail.com>

At Fri, 1 Oct 2010 18:15:32 +0800,
Jeff Chua wrote:
> 
> On Fri, Oct 1, 2010 at 10:15 AM, Wu Fengguang <fengguang.wu@intel.com> 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

  reply	other threads:[~2010-10-01 10:18 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-30 13:11 Jeff Chua
2010-09-30 13:14 ` Takashi Iwai
2010-09-30 15:29   ` Jeff Chua
2010-09-30 15:38     ` Wu Fengguang
2010-09-30 18:26       ` Jeff Chua
2010-09-30 15:39     ` Takashi Iwai
2010-09-30 15:45       ` Wu Fengguang
2010-09-30 18:08         ` Jeff Chua
2010-10-01  2:15           ` Wu Fengguang
2010-10-01 10:15             ` Jeff Chua
2010-10-01 10:18               ` Takashi Iwai [this message]
2010-10-01 17:10                 ` Jeff Chua
2011-03-18 17:55                   ` Jeff Chua
2010-09-30 17:31       ` Jeff Chua
2010-09-30 13:29 ` Wu Fengguang
2010-09-30 15:34   ` Jeff Chua
2010-09-30 15:41     ` Takashi Iwai
  -- strict thread matches above, loose matches on Subject: below --
2010-09-14 22:32 Jeff Chua
2010-09-27 14:42 ` Takashi Iwai
2010-09-27 17:56   ` Jeff Chua
2010-09-27 18:18     ` Takashi Iwai
2010-09-28 13:33       ` Jeff Chua
2010-09-28 13:42         ` Wu Fengguang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s5h8w2irzb9.wl%tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=fengguang.wu@intel.com \
    --cc=jeff.chua.linux@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®