Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1385760

[PATCH] ALSA: intel_hda - Add dock support for ThinkPad X260

From "Conrad Kostecki" <ck@conrad-kostecki.de>
Newsgroups linux.kernel
Subject [PATCH] ALSA: intel_hda - Add dock support for ThinkPad X260
Date 2016-04-24 03:50 +0200
Message-ID <rrhln-4ws-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hi!
My shiny new ThinkPad X260 is the same way affected, as older ThinkPad 
(X*40, X*50) generations.
That means, I am unable to get sound output, when I am using the Lenovo 
CES 2013 docking station series (basic, pro, ultra).

It can be fixed the same way, as it was already done for X240 and X250, 
as the X260 uses the same docking connector.
I am attaching my patch, which works for me.

Cheers
Conrad

------------------------------

Fixes audio output on a ThinkPad X260, when using Lenovo CES 2013 
docking station series (basic, pro, ultra).

Signed-off-by: Conrad Kostecki <ck+linuxkernel@bl4ckb0x.de>

diff -uprN -X linux-4.6-rc4-vanilla/Documentation/dontdiff 
linux-4.6-rc4-vanilla/sound/pci/hda/patch_realtek.c 
linux-4.6-rc4/sound/pci/hda/patch_realtek.c
--- linux-4.6-rc4-vanilla/sound/pci/hda/patch_realtek.c 2016-04-24 
03:26:36.330983586 +0200
+++ linux-4.6-rc4/sound/pci/hda/patch_realtek.c 2016-04-24 
03:27:13.737981843 +0200
@@ -5570,6 +5570,7 @@ static const struct snd_pci_quirk alc269
         SND_PCI_QUIRK(0x17aa, 0x2218, "Thinkpad X1 Carbon 2nd", 
ALC292_FIXUP_TPT440_DOCK),
         SND_PCI_QUIRK(0x17aa, 0x2223, "ThinkPad T550", 
ALC292_FIXUP_TPT440_DOCK),
         SND_PCI_QUIRK(0x17aa, 0x2226, "ThinkPad X250", 
ALC292_FIXUP_TPT440_DOCK),
+       SND_PCI_QUIRK(0x17aa, 0x504a, "ThinkPad X260", 
ALC292_FIXUP_TPT440_DOCK),
         SND_PCI_QUIRK(0x17aa, 0x2233, "Thinkpad", ALC292_FIXUP_TPT460),
         SND_PCI_QUIRK(0x17aa, 0x30bb, "ThinkCentre AIO", 
ALC233_FIXUP_LENOVO_LINE2_MIC_HOTKEY),
         SND_PCI_QUIRK(0x17aa, 0x30e2, "ThinkCentre AIO", 
ALC233_FIXUP_LENOVO_LINE2_MIC_HOTKEY),
------------------------------

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH] ALSA: intel_hda - Add dock support for ThinkPad X260 "Conrad Kostecki" <ck@conrad-kostecki.de> - 2016-04-24 03:50 +0200

csiph-web