alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ALSA: hda - Add dock support for ThinkPad X250
@ 2015-04-11  7:31 Yves-Alexis Perez
  2015-04-11  7:31 ` [PATCH] ALSA: hda - Add dock support for ThinkPad X250 (17aa:2226) Yves-Alexis Perez
  0 siblings, 1 reply; 6+ messages in thread
From: Yves-Alexis Perez @ 2015-04-11  7:31 UTC (permalink / raw)
  To: alsa-devel, linux-kernel; +Cc: Arnaud Ebalard, Yves-Alexis Perez

Hi,

I recently bought a 2015 ThinkPad (X250) along with a dockstation (ThinkPad
Ultra dock). The audio output (mini-jack) doesn't work on the dock station, but
after some research it seems that the snd_hda_intel module just miss the
correct pin configuration.

This pin configuration seems shared between 2014 and 2015 ThinkPads, so this
patch just add the same quirk for the X250 subsystem product id.

After that, the audio output works fine on the internal speakers, on the laptop
output jack and on the dockstation output jack.

I didn't add the CC: stable@vger.kernel.org because I'm unsure how the ALSA
maintainers stand on this, but similar previous patches have been targeted to
stable so it might be worth adding it.

Regards,
-- 
Yves-Alexis Perez

Yves-Alexis Perez (1):
  ALSA: hda - Add dock support for ThinkPad X250 (17aa:2226)

 sound/pci/hda/patch_realtek.c | 1 +
 1 file changed, 1 insertion(+)

-- 
2.1.4

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

* [PATCH] ALSA: hda - Add dock support for ThinkPad X250 (17aa:2226)
  2015-04-11  7:31 [PATCH] ALSA: hda - Add dock support for ThinkPad X250 Yves-Alexis Perez
@ 2015-04-11  7:31 ` Yves-Alexis Perez
  2015-04-11 15:27   ` Takashi Iwai
  0 siblings, 1 reply; 6+ messages in thread
From: Yves-Alexis Perez @ 2015-04-11  7:31 UTC (permalink / raw)
  To: alsa-devel, linux-kernel; +Cc: Arnaud Ebalard, Yves-Alexis Perez

This model uses the same dock port as the previous generation.

Signed-off-by: Yves-Alexis Perez <corsac@debian.org>
---
 sound/pci/hda/patch_realtek.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 7438213..2087728 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -5030,6 +5030,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
 	SND_PCI_QUIRK(0x17aa, 0x2212, "Thinkpad T440", ALC292_FIXUP_TPT440_DOCK),
 	SND_PCI_QUIRK(0x17aa, 0x2214, "Thinkpad X240", ALC292_FIXUP_TPT440_DOCK),
 	SND_PCI_QUIRK(0x17aa, 0x2215, "Thinkpad", ALC269_FIXUP_LIMIT_INT_MIC_BOOST),
+	SND_PCI_QUIRK(0x17aa, 0x2226, "ThinkPad X250", ALC292_FIXUP_TPT440_DOCK),
 	SND_PCI_QUIRK(0x17aa, 0x3977, "IdeaPad S210", ALC283_FIXUP_INT_MIC),
 	SND_PCI_QUIRK(0x17aa, 0x3978, "IdeaPad Y410P", ALC269_FIXUP_NO_SHUTUP),
 	SND_PCI_QUIRK(0x17aa, 0x5013, "Thinkpad", ALC269_FIXUP_LIMIT_INT_MIC_BOOST),
-- 
2.1.4

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

* Re: [PATCH] ALSA: hda - Add dock support for ThinkPad X250 (17aa:2226)
  2015-04-11  7:31 ` [PATCH] ALSA: hda - Add dock support for ThinkPad X250 (17aa:2226) Yves-Alexis Perez
@ 2015-04-11 15:27   ` Takashi Iwai
  2015-04-11 19:03     ` Yves-Alexis Perez
  2015-04-19 18:31     ` Yves-Alexis Perez
  0 siblings, 2 replies; 6+ messages in thread
From: Takashi Iwai @ 2015-04-11 15:27 UTC (permalink / raw)
  To: Yves-Alexis Perez; +Cc: alsa-devel, Arnaud Ebalard, linux-kernel

At Sat, 11 Apr 2015 09:31:35 +0200,
Yves-Alexis Perez wrote:
> 
> This model uses the same dock port as the previous generation.
> 
> Signed-off-by: Yves-Alexis Perez <corsac@debian.org>

Thanks, applied with Cc to stable.
But, at the next time, please put maintainers to Cc.


Takashi

> ---
>  sound/pci/hda/patch_realtek.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
> index 7438213..2087728 100644
> --- a/sound/pci/hda/patch_realtek.c
> +++ b/sound/pci/hda/patch_realtek.c
> @@ -5030,6 +5030,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
>  	SND_PCI_QUIRK(0x17aa, 0x2212, "Thinkpad T440", ALC292_FIXUP_TPT440_DOCK),
>  	SND_PCI_QUIRK(0x17aa, 0x2214, "Thinkpad X240", ALC292_FIXUP_TPT440_DOCK),
>  	SND_PCI_QUIRK(0x17aa, 0x2215, "Thinkpad", ALC269_FIXUP_LIMIT_INT_MIC_BOOST),
> +	SND_PCI_QUIRK(0x17aa, 0x2226, "ThinkPad X250", ALC292_FIXUP_TPT440_DOCK),
>  	SND_PCI_QUIRK(0x17aa, 0x3977, "IdeaPad S210", ALC283_FIXUP_INT_MIC),
>  	SND_PCI_QUIRK(0x17aa, 0x3978, "IdeaPad Y410P", ALC269_FIXUP_NO_SHUTUP),
>  	SND_PCI_QUIRK(0x17aa, 0x5013, "Thinkpad", ALC269_FIXUP_LIMIT_INT_MIC_BOOST),
> -- 
> 2.1.4
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 

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

* Re: [PATCH] ALSA: hda - Add dock support for ThinkPad X250 (17aa:2226)
  2015-04-11 15:27   ` Takashi Iwai
@ 2015-04-11 19:03     ` Yves-Alexis Perez
  2015-04-19 18:31     ` Yves-Alexis Perez
  1 sibling, 0 replies; 6+ messages in thread
From: Yves-Alexis Perez @ 2015-04-11 19:03 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel, linux-kernel, Arnaud Ebalard

[-- Attachment #1: Type: text/plain, Size: 451 bytes --]

On sam., 2015-04-11 at 17:27 +0200, Takashi Iwai wrote:
> At Sat, 11 Apr 2015 09:31:35 +0200,
> Yves-Alexis Perez wrote:
> > 
> > This model uses the same dock port as the previous generation.
> > 
> > Signed-off-by: Yves-Alexis Perez <corsac@debian.org>
> 
> Thanks, applied with Cc to stable.
> But, at the next time, please put maintainers to Cc.

Thanks, and sorry for that, will pay attention next time.

Regards,
-- 
Yves-Alexis

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

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

* Re: [PATCH] ALSA: hda - Add dock support for ThinkPad X250 (17aa:2226)
  2015-04-11 15:27   ` Takashi Iwai
  2015-04-11 19:03     ` Yves-Alexis Perez
@ 2015-04-19 18:31     ` Yves-Alexis Perez
  2015-05-02 13:20       ` Greg Kroah-Hartman
  1 sibling, 1 reply; 6+ messages in thread
From: Yves-Alexis Perez @ 2015-04-19 18:31 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: alsa-devel, linux-kernel, Arnaud Ebalard, Takashi Iwai

[-- Attachment #1: Type: text/plain, Size: 581 bytes --]

On sam., 2015-04-11 at 17:27 +0200, Takashi Iwai wrote:
> At Sat, 11 Apr 2015 09:31:35 +0200,
> Yves-Alexis Perez wrote:
> > 
> > This model uses the same dock port as the previous generation.
> > 
> > Signed-off-by: Yves-Alexis Perez <corsac@debian.org>
> 
> Thanks, applied with Cc to stable.
> But, at the next time, please put maintainers to Cc.

Hi Greg,

I noticed a similar patch (f2aa1110 for the ThinkPad T450) was correctly
included in 3.19.5 (as 3b941649), but this one (c0278669) was not.

Is there something I'm missing?

Regards,
-- 
Yves-Alexis

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

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

* Re: [PATCH] ALSA: hda - Add dock support for ThinkPad X250 (17aa:2226)
  2015-04-19 18:31     ` Yves-Alexis Perez
@ 2015-05-02 13:20       ` Greg Kroah-Hartman
  0 siblings, 0 replies; 6+ messages in thread
From: Greg Kroah-Hartman @ 2015-05-02 13:20 UTC (permalink / raw)
  To: Yves-Alexis Perez; +Cc: alsa-devel, linux-kernel, Arnaud Ebalard, Takashi Iwai

On Sun, Apr 19, 2015 at 08:31:28PM +0200, Yves-Alexis Perez wrote:
> On sam., 2015-04-11 at 17:27 +0200, Takashi Iwai wrote:
> > At Sat, 11 Apr 2015 09:31:35 +0200,
> > Yves-Alexis Perez wrote:
> > > 
> > > This model uses the same dock port as the previous generation.
> > > 
> > > Signed-off-by: Yves-Alexis Perez <corsac@debian.org>
> > 
> > Thanks, applied with Cc to stable.
> > But, at the next time, please put maintainers to Cc.
> 
> Hi Greg,
> 
> I noticed a similar patch (f2aa1110 for the ThinkPad T450) was correctly
> included in 3.19.5 (as 3b941649), but this one (c0278669) was not.
> 
> Is there something I'm missing?

It was not in a released kernel from Linus yet.  It now showed up in
4.1-rc1, so it can go into a stable tree.

greg k-h

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

end of thread, other threads:[~2015-05-02 13:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-11  7:31 [PATCH] ALSA: hda - Add dock support for ThinkPad X250 Yves-Alexis Perez
2015-04-11  7:31 ` [PATCH] ALSA: hda - Add dock support for ThinkPad X250 (17aa:2226) Yves-Alexis Perez
2015-04-11 15:27   ` Takashi Iwai
2015-04-11 19:03     ` Yves-Alexis Perez
2015-04-19 18:31     ` Yves-Alexis Perez
2015-05-02 13:20       ` Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).