Skip to contentSkip to conversation

ALSA: hda: Use LPIB and 6stack-dig for eMachines T5212

PATCH In review Daniel Chen 2 participants 2 messages Mar 15, 2010 – Mar 16, 2010 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ALSA: hda: Use LPIB and 6stack-dig for eMachines T5212

Hi,

Attached is a patch against current sound-2.6 master HEAD (applicable also to 2.6.32.10 and 2.6.33.1) that corrects the model quirk for the OR's machine and adds the LPIB quirk.

Best,
-Dan

From 0d306265149ee57a460f8acb5db3ae211d9728a8 Mon Sep 17 00:00:00 2001
From: Daniel T Chen <[email protected]>
Date: Sun, 14 Mar 2010 23:44:03 -0400
Subject: [PATCH] ALSA: hda: Use LPIB and 6stack-dig for eMachines T5212

The OR has verified that both position_fix=1 and model=6stack-dig are necessary to have capture function properly. (The existing 3stack-6ch model quirk seems to be incorrect.)

---
 sound/pci/hda/hda_intel.c     |    1 +
 sound/pci/hda/patch_realtek.c |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)
sound/pci/hda/hda_intel.c +1 -0
index 0f44a4f..8b29156 100644
@@ -2271,6 +2271,7 @@ static struct snd_pci_quirk position_fix_list[] __devinitdata = {
 	SND_PCI_QUIRK(0x1043, 0x813d, "ASUS P5AD2", POS_FIX_LPIB),
 	SND_PCI_QUIRK(0x1462, 0x1002, "MSI Wind U115", POS_FIX_LPIB),
 	SND_PCI_QUIRK(0x1565, 0x820f, "Biostar Microtech", POS_FIX_LPIB),
+	SND_PCI_QUIRK(0x8086, 0xd601, "eMachines T5212", POS_FIX_LPIB),
 	{}
 };
 
sound/pci/hda/patch_realtek.c +1 -1
index 07637c4..4ec5763 100644
@@ -9237,7 +9237,7 @@ static struct snd_pci_quirk alc882_cfg_tbl[] = {
 	SND_PCI_QUIRK(0x8086, 0x0022, "DX58SO", ALC889_INTEL),
 	SND_PCI_QUIRK(0x8086, 0x0021, "Intel IbexPeak", ALC889A_INTEL),
 	SND_PCI_QUIRK(0x8086, 0x3b56, "Intel IbexPeak", ALC889A_INTEL),
-	SND_PCI_QUIRK(0x8086, 0xd601, "D102GGC", ALC883_3ST_6ch),
+	SND_PCI_QUIRK(0x8086, 0xd601, "D102GGC", ALC882_6ST_DIG),
 
 	{}
 };
Signature · 1 line
1.7.0

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#1 lore raw

At Mon, 15 Mar 2010 15:33:07 -0400,

Quoted 6 lines · Daniel Chen

Hi,

Attached is a patch against current sound-2.6 master HEAD (applicable also to 2.6.32.10 and 2.6.33.1) that corrects the model quirk for the OR's machine and adds the LPIB quirk.

Applied now to sound git tree. Thanks.

Takashi

Quoted 52 lines

Best,
-Dan
[2 0001-ALSA-hda-Use-LPIB-and-6stack-dig-for-eMachines-T5212.patch <text/x-patch; US-ASCII (base64)>] From 0d306265149ee57a460f8acb5db3ae211d9728a8 Mon Sep 17 00:00:00 2001
From: Daniel T Chen <[email protected]>
Date: Sun, 14 Mar 2010 23:44:03 -0400
Subject: [PATCH] ALSA: hda: Use LPIB and 6stack-dig for eMachines T5212

The OR has verified that both position_fix=1 and model=6stack-dig are necessary to have capture function properly. (The existing 3stack-6ch model quirk seems to be incorrect.)

---
 sound/pci/hda/hda_intel.c     |    1 +
 sound/pci/hda/patch_realtek.c |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)
sound/pci/hda/hda_intel.c +1 -0
index 0f44a4f..8b29156 100644
@@ -2271,6 +2271,7 @@ static struct snd_pci_quirk position_fix_list[] __devinitdata = {
 	SND_PCI_QUIRK(0x1043, 0x813d, "ASUS P5AD2", POS_FIX_LPIB),
 	SND_PCI_QUIRK(0x1462, 0x1002, "MSI Wind U115", POS_FIX_LPIB),
 	SND_PCI_QUIRK(0x1565, 0x820f, "Biostar Microtech", POS_FIX_LPIB),
+	SND_PCI_QUIRK(0x8086, 0xd601, "eMachines T5212", POS_FIX_LPIB),
 	{}
 };
 
sound/pci/hda/patch_realtek.c +1 -1
index 07637c4..4ec5763 100644
@@ -9237,7 +9237,7 @@ static struct snd_pci_quirk alc882_cfg_tbl[] = {
 	SND_PCI_QUIRK(0x8086, 0x0022, "DX58SO", ALC889_INTEL),
 	SND_PCI_QUIRK(0x8086, 0x0021, "Intel IbexPeak", ALC889A_INTEL),
 	SND_PCI_QUIRK(0x8086, 0x3b56, "Intel IbexPeak", ALC889A_INTEL),
-	SND_PCI_QUIRK(0x8086, 0xd601, "D102GGC", ALC883_3ST_6ch),
+	SND_PCI_QUIRK(0x8086, 0xd601, "D102GGC", ALC882_6ST_DIG),
 
 	{}
 };
Signature · 1 line
1.7.0