Skip to contentSkip to conversation

ALSA: hda - add quirk for Thinkpad T430

PATCH Superseded [email protected] 4 participants 8 messages Oct 19, 2012 Sound

lore
Share & tools
lore
#0 lore raw

cover ALSA: hda - add quirk for Thinkpad T430

From: Joseph Salisbury <[email protected]>

This patch is to enable audio on T430 Thinkpads. There is no audo from the headphone jack without this patch. This patch adds a quirk for the T430 model.

== Test Case ==
A test kernel was built with this patch and tested by a bug reporter at the following bug:

Joseph Salisbury (1):
ALSA: hda - add quirk for Thinkpad T430

 sound/pci/hda/patch_realtek.c |    1 +
 1 file changed, 1 insertion(+)
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 ALSA: hda - add quirk for Thinkpad T430

From: Joseph Salisbury <[email protected]>

---
 sound/pci/hda/patch_realtek.c |    1 +
 1 file changed, 1 insertion(+)
sound/pci/hda/patch_realtek.c +1 -0
index 739f968..18fce01 100644
@@ -6172,6 +6172,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
 	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, 0x21fa, "Thinkpad X230", ALC269_FIXUP_LENOVO_DOCK),
+	SND_PCI_QUIRK(0x17aa, 0x21f3, "Thinkpad T430", ALC269_FIXUP_LENOVO_DOCK),
 	SND_PCI_QUIRK(0x17aa, 0x21fb, "Thinkpad T430s", 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_PCM_44K),
Signature · 1 line
1.7.9.5
#2 lore raw

PATCH 1/1 ALSA: hda - add quirk for Thinkpad T430

In reply to [email protected]

From: Joseph Salisbury <[email protected]>

---
 sound/pci/hda/patch_realtek.c |    1 +
 1 file changed, 1 insertion(+)
sound/pci/hda/patch_realtek.c +1 -0
index 739f968..18fce01 100644
@@ -6172,6 +6172,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
 	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, 0x21fa, "Thinkpad X230", ALC269_FIXUP_LENOVO_DOCK),
+	SND_PCI_QUIRK(0x17aa, 0x21f3, "Thinkpad T430", ALC269_FIXUP_LENOVO_DOCK),
 	SND_PCI_QUIRK(0x17aa, 0x21fb, "Thinkpad T430s", 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_PCM_44K),
Signature · 1 line
1.7.9.5
#3 lore raw
Quoted 7 lines · On Fri, Oct 19, 2012 at 10:32:30AM -0400, [email protected] wrote:

From: Joseph Salisbury <[email protected]>

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

<formletter>

This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read Documentation/stable_kernel_rules.txt for how to do this properly.

</formletter>

#4 lore raw
In reply to [email protected]
Quoted 4 lines · [email protected] wrote:

This patch adds a quirk to enable headphone jack audio on T430 Thinkpads.

Thanks --- this is a little better.

One more nit: it looks like this was reported, tested, and based on a patch by Stefan Freyr. Takashi, could you amend the message to reflect that, or should the patch be resent?

Something like

-- >8 --
From: Stefán Freyr <[email protected]>
Subject: ALSA: hda - add dock support for Thinkpad T430

I have a Lenovo ThinkPad T430 and an UltraBase Series 3 docking station.

Without this patch, if I plug my headphones into the jack on the computer, everything works fine. The computer speakers mute and the audio is played in the headphones. However, if I plug into the docking station headphone jack the computer speakers are muted but there is no audio in the headphones.

Addresses https://bugs.launchpad.net/bugs/1060372

#5 lore raw

At Fri, 19 Oct 2012 12:54:21 -0700,

Quoted 5 lines · Jonathan Nieder
Quoted 2 lines · [email protected] wrote:

This patch adds a quirk to enable headphone jack audio on T430 Thinkpads.

Quoted 8 lines
Quoted 2 lines

Thanks --- this is a little better.

One more nit: it looks like this was reported, tested, and based on a patch by Stefan Freyr. Takashi, could you amend the message to reflect that, or should the patch be resent?

Yes, applied now with the improved commit log.

thanks,

Takashi

Quoted 21 lines

Something like

-- >8 --
From: Stefán Freyr <[email protected]>
Subject: ALSA: hda - add dock support for Thinkpad T430

I have a Lenovo ThinkPad T430 and an UltraBase Series 3 docking station.

Without this patch, if I plug my headphones into the jack on the computer, everything works fine. The computer speakers mute and the audio is played in the headphones. However, if I plug into the docking station headphone jack the computer speakers are muted but there is no audio in the headphones.

Addresses https://bugs.launchpad.net/bugs/1060372

#6 lore raw
In reply to [email protected]

Hi Joseph,

Quoted 1 line · [email protected] wrote:

[Subject: [PATCH 0/1] ALSA: hda - add quirk for Thinkpad T430]]

[...]

Quoted 3 lines

This patch is to enable audio on T430 Thinkpads. There is no audo from the headphone jack without this patch. This patch adds a quirk for the T430 model.

Please don't do this cover-letter thing. A cover letter can be a good way to *summarize* a long patch series so readers are less daunted, but any information that was needed to know in order to evaluate a patch, briefly stated, should be in the commit message that actually gets committed.

Thanks and hope that helps,
Jonathan

#7 lore raw

PATCH v2 1/1 ALSA: hda - add quirk for Thinkpad T430

In reply to [email protected]

From: Joseph Salisbury <[email protected]>

This patch adds a quirk to enable headphone jack audio on T430 Thinkpads.

---
 sound/pci/hda/patch_realtek.c |    1 +
 1 file changed, 1 insertion(+)
sound/pci/hda/patch_realtek.c +1 -0
index 739f968..18fce01 100644
@@ -6172,6 +6172,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
 	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, 0x21fa, "Thinkpad X230", ALC269_FIXUP_LENOVO_DOCK),
+	SND_PCI_QUIRK(0x17aa, 0x21f3, "Thinkpad T430", ALC269_FIXUP_LENOVO_DOCK),
 	SND_PCI_QUIRK(0x17aa, 0x21fb, "Thinkpad T430s", 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_PCM_44K),
Signature · 1 line
1.7.9.5