[alsa-devel] Lenovo 3000 N100 Laptop quirk

Chris Pemberton cjpembo at gmail.com
Tue Sep 11 09:31:50 CEST 2007

Takashi Iwai wrote:
> At Thu, 06 Sep 2007 22:09:37 -0500,
> Chris Pemberton wrote:
>> To enable sound on a Lenovo 3000 N100 laptop...
>> In patch_realtek.c (near line # 10882):
>> Change:
>> SND_PCI_QUIRK(0x17aa, 0x2066, "Lenovo", ALC861VD_LENOVO),
>> to:
>> SND_PCI_QUIRK(0x17aa, 0x2066, "Lenovo 3000 N100", ALC861VD_3ST),
> Hm, that's bad.  ALC861VD_LENOVO is exactly for your laptop model, so
> it has to be fixed.
> What is exactly a problem?  Could you figure out which codec setting
> may trigger the problem by comparing codec#* file between these
> models?
> And, above all, which ALSA version are you using and how did you test
> it?  The latest version, and the output from both HP and spekaer?
> thanks,
> Takashi
I've attached two codecs, both from alsa-driver-hg20070906.  The one 
labeled _patched is where I edit realtek.c as I state above; and the 
other codec is what I get when I leave the realtek.c file as shipped.

Lines 15 and 60 differ slightly:

 diff codec#0 codec#0_patched
<   Amp-Out vals:  [0x3b 0x3b]
 >   Amp-Out vals:  [0x3f 0x3f]
<   Amp-In vals:  [0x80 0x80] [0x0b 0x0b] [0x80 0x80] [0x80 0x80] [0x09 
0x09] [0x80 0x80]
 >   Amp-In vals:  [0x80 0x80] [0x0c 0x0c] [0x80 0x80] [0x80 0x80] [0x1f 
0x1f] [0x08 0x08]

The laptop has a built-in mic on the front, and both a green headphone 
and red mic jacks on the right side. 
Plugging in headphones does not disable the laptop speakers. 
Sound only comes out the right headphone.
alsamixer has no left/right volume controls.
I can record from both the internal and an external microphone.

alsamixer (expanded) shows:

Headphon     PCM     Front     Front Mi     Front Mi     Line     CD     
Mic     Mic Boos     PC Speak     Capture     Caller I     Input So     

My "working" ALSA information is located at http://pastebin.ca/691188

Let me know if there is anything else I can test.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: codec#0
Url: http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20070911/a08c43eb/attachment.bat 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: codec#0_patched
Url: http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20070911/a08c43eb/attachment-0001.bat 

More information about the Alsa-devel mailing list