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

crimsun at fungus.sh.nu crimsun at fungus.sh.nu
Fri Apr 7 22:49:57 UTC 2006


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

UpstreamStatus: Not merged

Christian Bjälevik 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.

Signed-off-by: Daniel T Chen <crimsun at ubuntu.com>

---

 sound/pci/via82xx.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

69a3b4188a608adad3b5a3f5aca11943a69f9b30
diff --git a/sound/pci/via82xx.c b/sound/pci/via82xx.c
index 15bd7e3..fb7f280 100644
--- a/sound/pci/via82xx.c
+++ b/sound/pci/via82xx.c
@@ -1734,6 +1734,12 @@ static struct ac97_quirk ac97_quirks[] =
 		.name = "Arima Notebook",
 		.type = AC97_TUNE_HP_ONLY,
 	},
+	{
+		.subvendor = 0x161f,
+		.subdevice = 0x2032,
+		.name = "m680x",
+		.type = AC97_TUNE_HP_ONLY, /* http://launchpad.net/bugs/38546 */
+	},
 	{ } /* terminator */
 };
 
-- 
1.1.3


-- 
Daniel T. Chen            crimsun at ubuntu.com
GPG key:   www.sh.nu/~crimsun/pubkey.gpg.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20060407/5afea529/attachment.pgp>


More information about the kernel-team mailing list