Commit 66d10647 authored by Sergey Vlasov's avatar Sergey Vlasov Committed by Jaroslav Kysela

[ALSA] HP nx6110 quirks

Intel8x0 driver,AC97 Codec
The HP nx6110 laptop needs to have Headphone Jack Sense enabled so
that the internal speakers will be turned off when headphones are
plugged in.

Also ac97_quirk=hp_only is needed to make a single Master volume in
the mixer instead of separate volumes for internal speakers and
headphones, which just confuses the user.
Signed-off-by: default avatarSergey Vlasov <vsu@altlinux.ru>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 5049c35b
...@@ -1629,6 +1629,7 @@ static void check_ad1981_hp_jack_sense(ac97_t *ac97) ...@@ -1629,6 +1629,7 @@ static void check_ad1981_hp_jack_sense(ac97_t *ac97)
u32 subid = ((u32)ac97->subsystem_vendor << 16) | ac97->subsystem_device; u32 subid = ((u32)ac97->subsystem_vendor << 16) | ac97->subsystem_device;
switch (subid) { switch (subid) {
case 0x103c0890: /* HP nc6000 */ case 0x103c0890: /* HP nc6000 */
case 0x103c099c: /* HP nx6110 */
case 0x103c006d: /* HP nx9105 */ case 0x103c006d: /* HP nx9105 */
case 0x17340088: /* FSC Scenic-W */ case 0x17340088: /* FSC Scenic-W */
/* enable headphone jack sense */ /* enable headphone jack sense */
......
...@@ -1824,6 +1824,12 @@ static struct ac97_quirk ac97_quirks[] __devinitdata = { ...@@ -1824,6 +1824,12 @@ static struct ac97_quirk ac97_quirks[] __devinitdata = {
.name = "HP nc6000", .name = "HP nc6000",
.type = AC97_TUNE_MUTE_LED .type = AC97_TUNE_MUTE_LED
}, },
{
.subvendor = 0x103c,
.subdevice = 0x099c,
.name = "HP nx6110", /* AD1981B */
.type = AC97_TUNE_HP_ONLY
},
{ {
.subvendor = 0x103c, .subvendor = 0x103c,
.subdevice = 0x129d, .subdevice = 0x129d,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment