mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Microphone not working on PCI ID 8086:3b56
@ 2010-09-14 22:32 Jeff Chua
  2010-09-27 14:42 ` Takashi Iwai
  0 siblings, 1 reply; 7+ messages in thread
From: Jeff Chua @ 2010-09-14 22:32 UTC (permalink / raw)
  To: Wu Fengguang, Takashi Iwai, Linux Kernel, alsa-announce


Hi,

I'm having problem getting the microphone to work on the Lenovo X201s, but 
the audio output is working fine.


It's showing up as:

00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High 
Definition Audio (rev 06)
 	[00:1b.0 0403: 8086:3b56 (rev 06)]


# uname -s
Linux boston 2.6.36-rc4 #57 SMP PREEMPT Tue Sep 14 05:12:21 EDT 2010 
x86_64 GNU/Linux


# cat /proc/asound/devices
   0: [ 0]   : control
  16: [ 0- 0]: digital audio playback
  24: [ 0- 0]: digital audio capture
  33:        : timer
160: [ 5]   : control


# cat /proc/asound/pcm
00-00: CONEXANT Analog : CONEXANT Analog : playback 1 : capture 1


# dmesg
thinkpad_acpi: Console audio control enabled, mode: override (read/write)
input: ThinkPad Extra Buttons as 
/devices/platform/thinkpad_acpi/input/input6
HDA Intel 0000:00:1b.0: PCI INT B -> GSI 17 (level, low) -> IRQ 17
HDA Intel 0000:00:1b.0: irq 45 for MSI/MSI-X
HDA Intel 0000:00:1b.0: setting latency timer to 64
hda-codec: No codec parser is available
ALSA device list:
   #0: HDA Intel at 0xf2520000 irq 45
   #5: ThinkPad Console Audio Control at EC reg 0x30, fw 6QHT29WW-1.10



I've alsa-plugins-1.0.23, alsa-utils-1.0.23, alsa-lib-1.0.23 installed.

alsamixer is showing Capture at 100%, Analog Mic Boost at 40db and Digital 
at 100, but captured using "arecord" or "rec" and then playback is all 
just dead silence!

Any pointers on how to make this work would be very much appreciated.


Thanks,
Jeff

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Microphone not working on PCI ID 8086:3b56
  2010-09-14 22:32 Microphone not working on PCI ID 8086:3b56 Jeff Chua
@ 2010-09-27 14:42 ` Takashi Iwai
  2010-09-27 17:56   ` Jeff Chua
  0 siblings, 1 reply; 7+ messages in thread
From: Takashi Iwai @ 2010-09-27 14:42 UTC (permalink / raw)
  To: Jeff Chua; +Cc: Wu Fengguang, Linux Kernel, alsa-announce

At Wed, 15 Sep 2010 06:32:22 +0800 (SGT),
Jeff Chua wrote:
> 
> 
> Hi,
> 
> I'm having problem getting the microphone to work on the Lenovo X201s, but 
> the audio output is working fine.
> 
> 
> It's showing up as:
> 
> 00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High 
> Definition Audio (rev 06)
>  	[00:1b.0 0403: 8086:3b56 (rev 06)]
> 
> 
> # uname -s
> Linux boston 2.6.36-rc4 #57 SMP PREEMPT Tue Sep 14 05:12:21 EDT 2010 
> x86_64 GNU/Linux
> 
> 
> # cat /proc/asound/devices
>    0: [ 0]   : control
>   16: [ 0- 0]: digital audio playback
>   24: [ 0- 0]: digital audio capture
>   33:        : timer
> 160: [ 5]   : control
> 
> 
> # cat /proc/asound/pcm
> 00-00: CONEXANT Analog : CONEXANT Analog : playback 1 : capture 1
> 
> 
> # dmesg
> thinkpad_acpi: Console audio control enabled, mode: override (read/write)
> input: ThinkPad Extra Buttons as 
> /devices/platform/thinkpad_acpi/input/input6
> HDA Intel 0000:00:1b.0: PCI INT B -> GSI 17 (level, low) -> IRQ 17
> HDA Intel 0000:00:1b.0: irq 45 for MSI/MSI-X
> HDA Intel 0000:00:1b.0: setting latency timer to 64
> hda-codec: No codec parser is available
> ALSA device list:
>    #0: HDA Intel at 0xf2520000 irq 45
>    #5: ThinkPad Console Audio Control at EC reg 0x30, fw 6QHT29WW-1.10
> 
> 
> 
> I've alsa-plugins-1.0.23, alsa-utils-1.0.23, alsa-lib-1.0.23 installed.
> 
> alsamixer is showing Capture at 100%, Analog Mic Boost at 40db and Digital 
> at 100, but captured using "arecord" or "rec" and then playback is all 
> just dead silence!
> 
> Any pointers on how to make this work would be very much appreciated.

Did you try to play with model option for snd-hda-intel driver?
For example, model=lenovo-x200 ?


Takashi

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Microphone not working on PCI ID 8086:3b56
  2010-09-27 14:42 ` Takashi Iwai
@ 2010-09-27 17:56   ` Jeff Chua
  2010-09-27 18:18     ` Takashi Iwai
  0 siblings, 1 reply; 7+ messages in thread
From: Jeff Chua @ 2010-09-27 17:56 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: Wu Fengguang, Linux Kernel, alsa-announce

On Mon, Sep 27, 2010 at 10:42 PM, Takashi Iwai <tiwai@suse.de> wrote:
> At Wed, 15 Sep 2010 06:32:22 +0800 (SGT),
> Did you try to play with model option for snd-hda-intel driver?
> For example, model=lenovo-x200 ?

Didn't know there's such option. But I'll try it now. Is there an
option to if the driver is not compiled as a module?

Thanks,
Jeff

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Microphone not working on PCI ID 8086:3b56
  2010-09-27 17:56   ` Jeff Chua
@ 2010-09-27 18:18     ` Takashi Iwai
  2010-09-28 13:33       ` Jeff Chua
  0 siblings, 1 reply; 7+ messages in thread
From: Takashi Iwai @ 2010-09-27 18:18 UTC (permalink / raw)
  To: Jeff Chua; +Cc: Wu Fengguang, Linux Kernel

At Tue, 28 Sep 2010 01:56:44 +0800,
Jeff Chua wrote:
> 
> On Mon, Sep 27, 2010 at 10:42 PM, Takashi Iwai <tiwai@suse.de> wrote:
> > At Wed, 15 Sep 2010 06:32:22 +0800 (SGT),
> > Did you try to play with model option for snd-hda-intel driver?
> > For example, model=lenovo-x200 ?
> 
> Didn't know there's such option. But I'll try it now. Is there an
> option to if the driver is not compiled as a module?

Yes, you can pass via a boot option like MODULENAME.OPTIONNAME=xxx,yyy,...
In this case, snd-hda-intel.model=lenovo-x200


Takashi

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Microphone not working on PCI ID 8086:3b56
  2010-09-27 18:18     ` Takashi Iwai
@ 2010-09-28 13:33       ` Jeff Chua
  2010-09-28 13:42         ` [alsa-devel] " Takashi Iwai
  2010-09-28 13:42         ` Wu Fengguang
  0 siblings, 2 replies; 7+ messages in thread
From: Jeff Chua @ 2010-09-28 13:33 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: Wu Fengguang, Linux Kernel, alsa-devel

On Tue, Sep 28, 2010 at 2:18 AM, Takashi Iwai <tiwai@suse.de> wrote:
> At Tue, 28 Sep 2010 01:56:44 +0800,
> Jeff Chua wrote:
>>
>> On Mon, Sep 27, 2010 at 10:42 PM, Takashi Iwai <tiwai@suse.de> wrote:
>> > At Wed, 15 Sep 2010 06:32:22 +0800 (SGT),
>> > Did you try to play with model option for snd-hda-intel driver?
>> > For example, model=lenovo-x200 ?
>>
>> Didn't know there's such option. But I'll try it now. Is there an
>> option to if the driver is not compiled as a module?
>
> Yes, you can pass via a boot option like MODULENAME.OPTIONNAME=xxx,yyy,...
> In this case, snd-hda-intel.model=lenovo-x200

Tried, still no mic. Perhaps I'm not using the right driver. Which one
should I enable?

CONFIG_SND_HDA_CODEC_CONEXANT
CONFIG_SND_HDA_CODEC_INTELHDMI
CONFIG_SND_HDA_CODEC_REALTEK


Thanks,
Jeff

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [alsa-devel] Microphone not working on PCI ID 8086:3b56
  2010-09-28 13:33       ` Jeff Chua
@ 2010-09-28 13:42         ` Takashi Iwai
  2010-09-28 13:42         ` Wu Fengguang
  1 sibling, 0 replies; 7+ messages in thread
From: Takashi Iwai @ 2010-09-28 13:42 UTC (permalink / raw)
  To: Jeff Chua; +Cc: alsa-devel, Wu Fengguang, Linux Kernel

At Tue, 28 Sep 2010 21:33:11 +0800,
Jeff Chua wrote:
> 
> On Tue, Sep 28, 2010 at 2:18 AM, Takashi Iwai <tiwai@suse.de> wrote:
> > At Tue, 28 Sep 2010 01:56:44 +0800,
> > Jeff Chua wrote:
> >>
> >> On Mon, Sep 27, 2010 at 10:42 PM, Takashi Iwai <tiwai@suse.de> wrote:
> >> > At Wed, 15 Sep 2010 06:32:22 +0800 (SGT),
> >> > Did you try to play with model option for snd-hda-intel driver?
> >> > For example, model=lenovo-x200 ?
> >>
> >> Didn't know there's such option. But I'll try it now. Is there an
> >> option to if the driver is not compiled as a module?
> >
> > Yes, you can pass via a boot option like MODULENAME.OPTIONNAME=xxx,yyy,...
> > In this case, snd-hda-intel.model=lenovo-x200
> 
> Tried, still no mic. Perhaps I'm not using the right driver.

When you set CONFIG_SND_DEBUG=y, you'll see a corresponding kernel
message.

> Which one
> should I enable?
> 
> CONFIG_SND_HDA_CODEC_CONEXANT
> CONFIG_SND_HDA_CODEC_INTELHDMI
> CONFIG_SND_HDA_CODEC_REALTEK

Enable all CONFIG_SND_HDA_*.


Takashi

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Microphone not working on PCI ID 8086:3b56
  2010-09-28 13:33       ` Jeff Chua
  2010-09-28 13:42         ` [alsa-devel] " Takashi Iwai
@ 2010-09-28 13:42         ` Wu Fengguang
  1 sibling, 0 replies; 7+ messages in thread
From: Wu Fengguang @ 2010-09-28 13:42 UTC (permalink / raw)
  To: Jeff Chua; +Cc: Takashi Iwai, Linux Kernel, alsa-devel

On Tue, Sep 28, 2010 at 09:33:11PM +0800, Jeff Chua wrote:
> On Tue, Sep 28, 2010 at 2:18 AM, Takashi Iwai <tiwai@suse.de> wrote:
> > At Tue, 28 Sep 2010 01:56:44 +0800,
> > Jeff Chua wrote:
> >>
> >> On Mon, Sep 27, 2010 at 10:42 PM, Takashi Iwai <tiwai@suse.de> wrote:
> >> > At Wed, 15 Sep 2010 06:32:22 +0800 (SGT),
> >> > Did you try to play with model option for snd-hda-intel driver?
> >> > For example, model=lenovo-x200 ?
> >>
> >> Didn't know there's such option. But I'll try it now. Is there an
> >> option to if the driver is not compiled as a module?
> >
> > Yes, you can pass via a boot option like MODULENAME.OPTIONNAME=xxx,yyy,...
> > In this case, snd-hda-intel.model=lenovo-x200
> 
> Tried, still no mic. Perhaps I'm not using the right driver. Which one
> should I enable?
> 
> CONFIG_SND_HDA_CODEC_CONEXANT

The "lenovo-x200" model is provided by the above codec.

> CONFIG_SND_HDA_CODEC_INTELHDMI
> CONFIG_SND_HDA_CODEC_REALTEK

It's easier to enable all of them. They are small modules.

Thanks,
Fengguang

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-09-28 13:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-14 22:32 Microphone not working on PCI ID 8086:3b56 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         ` [alsa-devel] " Takashi Iwai
2010-09-28 13:42         ` Wu Fengguang

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®