Skip to contentSkip to conversation

ALSA: Add hp_only quirk for pci id [161f:2032] to via82xx

PATCH In review Randy Dunlap 2 participants 2 messages Jun 15, 2006 – Jun 16, 2006 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ALSA: Add hp_only quirk for pci id [161f:2032] to via82xx

From: [email protected] <[email protected]>

[UBUNTU:sound/pci/] Add hp_only quirk for pci id [161f:2032] to via82xx ALSA driver

http://www.kernel.org/git/?p=linux/kernel/git/bcollins/ubuntu-dapper.git;a=commitdiff;h=eae2cc78de39502595f67b7fc1f821f5963bb8ae

UpstreamStatus: Not merged

Christian Bjalevik reports in LP#38546 that his sound chipset requires the "hp_only" quirk to allow him to control sound volume correctly when headphones are inserted. This patch adds the appropriate pci id to the via82xx ALSA driver so that the quirk is applied automatically, thereby removing the need for users to modify /etc/modprobe.d/alsa-base (or to unload and reload snd-via82xx with ac97_quirk=hp_only).

This patch closes LP#38546.

---
sound/pci/via82xx.c | 6 ++++++

1 files changed, 6 insertions(+)
sound/pci/via82xx.c +0 -0
@@ -1775,6 +1775,12 @@ static struct ac97_quirk ac97_quirks[] =
		.name = "Targa Traveller 811",
		.type = AC97_TUNE_HP_ONLY,
	},

+ {
+ .subvendor = 0x161f,
+ .subdevice = 0x2032,
+ .name = "m680x",
+ .type = AC97_TUNE_HP_ONLY, /* http://launchpad.net/bugs/38546 */
+ },

	{ } /* terminator */
};
#1 lore raw

At Thu, 15 Jun 2006 13:00:49 -0700,

Quoted 16 lines · Randy Dunlap

From: [email protected] <[email protected]>

[UBUNTU:sound/pci/] Add hp_only quirk for pci id [161f:2032] to via82xx ALSA driver

http://www.kernel.org/git/?p=linux/kernel/git/bcollins/ubuntu-dapper.git;a=commitdiff;h=eae2cc78de39502595f67b7fc1f821f5963bb8ae

UpstreamStatus: Not merged

Christian Bjalevik reports in LP#38546 that his sound chipset requires the "hp_only" quirk to allow him to control sound volume correctly when headphones are inserted. This patch adds the appropriate pci id to the via82xx ALSA driver so that the quirk is applied automatically, thereby removing the need for users to modify /etc/modprobe.d/alsa-base (or to unload and reload snd-via82xx with ac97_quirk=hp_only).

Quoted 4 lines

This patch closes LP#38546.

Thanks, I applied it to ALSA HG tree, too.

Takashi

Quoted 26 lines
---
 sound/pci/via82xx.c |    6 ++++++
 1 files changed, 6 insertions(+)
sound/pci/via82xx.c +6 -1
@@ -1775,6 +1775,12 @@ static struct ac97_quirk ac97_quirks[] =
 		.name = "Targa Traveller 811",
 		.type = AC97_TUNE_HP_ONLY,
 	},
+	{
+		.subvendor = 0x161f,
+		.subdevice = 0x2032,
+		.name = "m680x",
+		.type = AC97_TUNE_HP_ONLY, /* http://launchpad.net/bugs/38546 */
+	},
 	{ } /* terminator */
 };
 
 
-

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/