[alsa-devel] Internal Microphone in Lenovo P580 not working with alsa 1.0.25

Raymond Yau superquad.vortex2 at gmail.com
Mon Oct 8 04:15:52 CEST 2012


2012-10-5 下午3:39 於 "mefis" <mefistof at gmx.com> 寫道:
>
> On 10/05/2012 02:09 AM, Raymond Yau wrote:
>>
>> 2012-10-5 下午2:20 於 "mefis" <mefistof at gmx.com> 寫道:
>>>
>>> Hi,
>>>
>>> Mic not working in Lenovo P580 with alsa 1.0.25
>>>
>>> Alsa Information script output:
>>>
>>>
http://www.alsa-project.org/db/?f=001523ed61bc76fb5b2ad0d3c354c043f89e5a33
>>>
>>> Hope it helps.
>>>
>>>
>>>
>>> !!################################
>>> !!ALSA Information Script v 0.4.61
>>> !!################################
>>>
>>> !!Script ran on: Fri Oct  5 05:56:38 UTC 2012
>>>
>>>
>>> !!Linux Distribution
>>> !!------------------
>>>
>>> Ubuntu 12.04.1 LTS \n \l DISTRIB_ID=Ubuntu DISTRIB_DESCRIPTION="Ubuntu
>>
>> 12.04.1 LTS"
>>>
>>>
>>> !!DMI Information
>>> !!---------------
>>>
>>> Manufacturer:      LENOVO
>>> Product Name:      Lenovo IdeaPad P580
>>> Product Version:   Lenovo IdeaPad P580
>>> Firmware Version:  5ECN33WW(V2.03)
>>>
>>>
>>> !!Kernel Information
>>> !!------------------
>>>
>>> Kernel release:    3.2.0-31-generic
>>> Operating System:  GNU/Linux
>>> Architecture:      x86_64
>>> Processor:         x86_64
>>> SMP Enabled:       Yes
>>>
>>>
>>> !!ALSA Version
>>> !!------------
>>>
>>> Driver version:     1.0.25
>>> Library version:    1.0.16
>>> Utilities version:  1.0.25
>>
>> is this an upgrade since alsa-lib is quite old ?
>
> sorry, this was an old log. The newest is here:
http://www.alsa-project.org/db/?f=08ae62e61ccc89d92a6154d4e5907b4f676c164a
>
>>
>> it is strange that unsolicied event enabled at fixed mic
>> instead of mic jack ?
>>

>
> !!################################
> !!ALSA Information Script v 0.4.61
> !!################################
>
> !!Script ran on: Fri Oct  5 07:34:06 UTC 2012
>
>
>
> !!Linux Distribution
> !!------------------
>
> Ubuntu 12.04.1 LTS \n \l DISTRIB_ID=Ubuntu DISTRIB_DESCRIPTION="Ubuntu
12.04.1 LTS"
>
>
> !!DMI Information
> !!---------------
>
> Manufacturer:      LENOVO
> Product Name:      Lenovo IdeaPad P580
> Product Version:   Lenovo IdeaPad P580
> Firmware Version:  5ECN33WW(V2.03)
>
>
> !!Kernel Information
> !!------------------
>
> Kernel release:    3.2.0-31-generic
> Operating System:  GNU/Linux
> Architecture:      x86_64
> Processor:         x86_64
> SMP Enabled:       Yes
>
>
> !!ALSA Version
> !!------------
>
> Driver version:     1.0.25
> Library version:    1.0.25
>
> Utilities version:  1.0.25
>
>
> !!Loaded ALSA modules
> !!-------------------
>
> snd_hda_intel
>
>
> !!Sound Servers on this system
> !!----------------------------
>
> Pulseaudio:
>       Installed - Yes (/usr/bin/pulseaudio)
>       Running - Yes
>
>
> !!Soundcards recognised by ALSA
> !!-----------------------------
>
>  0 [PCH            ]: HDA-Intel - HDA Intel PCH
>                       HDA Intel PCH at 0xe0610000 irq 46
>
>
> !!PCI Soundcards installed in the system
> !!--------------------------------------
>
> 00:1b.0 Audio device: Intel Corporation Panther Point High Definition
Audio Controller (rev 04)
>
>
> !!Advanced information - PCI Vendor/Device/Subsystem ID's
> !!-------------------------------------------------------
>
> 00:1b.0 0403: 8086:1e20 (rev 04)
>         Subsystem: 17aa:3977
>
>
> !!Modprobe options (Sound related)
> !!--------------------------------
>
> snd-atiixp-modem: index=-2
> snd-intel8x0m: index=-2
> snd-via82xx-modem: index=-2
> snd-usb-audio: index=-2
> snd-usb-caiaq: index=-2
> snd-usb-ua101: index=-2
> snd-usb-us122l: index=-2
> snd-usb-usx2y: index=-2
> snd-cmipci: mpu_port=0x330 fm_port=0x388
> snd-pcsp: index=-2
> snd-usb-audio: index=-2
> snd-hda-intel: model=basic

try model=auto

http://git.kernel.org/?p=linux/kernel/git/tiwai/sound.git;a=blob_plain;f=Documentation/sound/alsa/HD-Audio-Models.txt;h=16dfe57f173167c9df59bfdc6c1cefff9db2fa0f;hb=HEAD

Conexant 5066
=============
  laptopBasic Laptop config (default)
  hp-laptopHP laptops, e g G60
  asusAsus K52JU, Lenovo G560
  dell-laptopDell laptops
  dell-vostroDell Vostro
  olpc-xo-1_5OLPC XO 1.5
  ideapad       Lenovo IdeaPad U150
  thinkpadLenovo Thinkpad

the model "auto" is not listed in the documentation

http://git.kernel.org/?p=linux/kernel/git/tiwai/sound.git;a=blob_plain;f=sound/pci/hda/patch_conexant.c;h=03b1dc317ff0341122d48a0535e41963b2834157;hb=74d3e69728a0dcee8cd0f93da4dc077431d59606

static const char * const cxt5066_models[CXT5066_MODELS] = {
[CXT5066_LAPTOP]= "laptop",
[CXT5066_DELL_LAPTOP]= "dell-laptop",
[CXT5066_OLPC_XO_1_5]= "olpc-xo-1_5",
[CXT5066_DELL_VOSTRO]= "dell-vostro",
[CXT5066_IDEAPAD]= "ideapad",
[CXT5066_THINKPAD]= "thinkpad",
[CXT5066_ASUS]= "asus",
[CXT5066_HP_LAPTOP]= "hp-laptop",
[CXT5066_AUTO]= "auto",
};

> !!HDA-Intel Codec information
> !!---------------------------
> --startcollapse--
>
> Codec: Conexant CX20590
> Address: 0
> AFG Function Id: 0x1 (unsol 1)
> Vendor Id: 0x14f1506e
> Subsystem Id: 0x17aac02d
> Revision Id: 0x100003

> Node 0x1a [Pin Complex] wcaps 0x400481: Stereo
>   Pincap 0x00001324: IN Detect
>     Vref caps: HIZ 50 80
>   Pin Default 0x04a11030: [Jack] Mic at Ext Right
>     Conn = 1/8, Color = Black
>     DefAssociation = 0x3, Sequence = 0x0
>   Pin-ctls: 0x24: IN VREF_80
>   Unsolicited: tag=00, enabled=0
>
>   Power states:  D0 D1 D2 D3 D3cold EPSS
>   Power: setting=D0, actual=D0
> Node 0x1b [Pin Complex] wcaps 0x400581: Stereo
>   Pincap 0x00011334: IN OUT EAPD Detect
>     Vref caps: HIZ 50 80
>   EAPD 0x2: EAPD
>   Pin Default 0x95a70120: [Fixed] Mic at Int Top
>     Conn = Analog, Color = Unknown
>     DefAssociation = 0x2, Sequence = 0x0
>     Misc = NO_PRESENCE
>   Pin-ctls: 0x00: VREF_HIZ
>   Unsolicited: tag=38, enabled=1
>   Power states:  D0 D1 D2 D3 D3cold EPSS
>   Power: setting=D0, actual=D0
>   Connection: 2
>      0x10* 0x11
>


More information about the Alsa-devel mailing list