[alsa-devel] Enable docking station speaker jack for new Lenovo Thinkpads

Takashi Iwai tiwai at suse.de
Wed Aug 1 11:37:19 CEST 2012


At Wed, 01 Aug 2012 10:47:05 +0200,
Mario wrote:
> 
> On Wednesday 01 August 2012 08:05:57 Takashi Iwai wrote:
> > Which kernel are you using?
> 
> I'm using 3.4.5 with gentoo patches.
> 
> > >     Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
> > 
> >       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > 
> > This is the reason.  The driver checks the pin config set by BIOS,
> > and it leaves this pin unused.  Could you give alsa-info.sh output for
> > more checks?
> 
> I included the link to alsa-info in my original mail. ;)
> 
> This is the link: 
> http://www.alsa-project.org/db/?f=e297bdda4fd099425516c7c831e28a2c7d8ae6b6
> I append the info below this mail.

Thanks.

Basically you can build your kernel based on 3.5, cherry-pick the
commit 108cc108a3bb42fe4705df1317ff98e1e29428a6, then pass
model=lenovo-dock option, or apply the patch below in addition.

Let me know if it really works.


Takashi

---
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 344b221..b9a5c45 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -6206,6 +6206,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
 	SND_PCI_QUIRK(0x17aa, 0x21b8, "Thinkpad Edge 14", ALC269_FIXUP_SKU_IGNORE),
 	SND_PCI_QUIRK(0x17aa, 0x21ca, "Thinkpad L412", ALC269_FIXUP_SKU_IGNORE),
 	SND_PCI_QUIRK(0x17aa, 0x21e9, "Thinkpad Edge 15", ALC269_FIXUP_SKU_IGNORE),
+	SND_PCI_QUIRK(0x17aa, 0x21f6, "Thinkpad T530", ALC269_FIXUP_LENOVO_DOCK),
 	SND_PCI_QUIRK(0x17aa, 0x2203, "Thinkpad X230 Tablet", ALC269_FIXUP_LENOVO_DOCK),
 	SND_PCI_QUIRK(0x17aa, 0x3bf8, "Quanta FL1", ALC269_FIXUP_QUANTA_MUTE),
 	SND_PCI_QUIRK(0x17aa, 0x3bf8, "Lenovo Ideapd", ALC269_FIXUP_PCM_44K),


More information about the Alsa-devel mailing list