Skip to content

Commit

Permalink
[ALSA] Add hp_only quirk for pci id [161f:2032] to via82xx
Browse files Browse the repository at this point in the history
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.

Signed-off-by: Daniel T Chen <crimsun@ubuntu.com>
Signed-off-by: Ben Collins <bcollins@ubuntu.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Daniel T Chen authored and Jaroslav Kysela committed Jun 22, 2006
1 parent 1781a9a commit d4199f0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sound/pci/via82xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
};

Expand Down

0 comments on commit d4199f0

Please sign in to comment.