lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <s5h8w2irzb9.wl%tiwai@suse.de>
Date:	Fri, 01 Oct 2010 12:18:34 +0200
From:	Takashi Iwai <tiwai@...e.de>
To:	Jeff Chua <jeff.chua.linux@...il.com>
Cc:	Wu Fengguang <fengguang.wu@...el.com>,
	Linux Kernel <linux-kernel@...r.kernel.org>,
	"alsa-devel@...a-project.org" <alsa-devel@...a-project.org>
Subject: Re: Microphone not working on PCI ID 8086:3b56

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@...el.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ