From f29120c085d47db057be0b73ac322502d93f53e3 Mon Sep 17 00:00:00 2001 From: Ariff Abdullah Date: Fri, 26 Oct 2007 20:49:23 +0000 Subject: Enable headphone jack-sense for HP nx6100 with AD1981B AC'97 codec, automuting internal speakers. Tested by: Frederic Chardon MFC after: 3 days --- sys/dev/sound/pcm/ac97_patch.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/dev/sound/pcm/ac97_patch.c') diff --git a/sys/dev/sound/pcm/ac97_patch.c b/sys/dev/sound/pcm/ac97_patch.c index 6e326ca324c8..da6fb1bb3225 100644 --- a/sys/dev/sound/pcm/ac97_patch.c +++ b/sys/dev/sound/pcm/ac97_patch.c @@ -60,6 +60,7 @@ void ad1981b_patch(struct ac97_info* codec) */ switch (ac97_getsubvendor(codec)) { case 0x02d91014: /* IBM Thinkcentre */ + case 0x099c103c: /* HP nx6110 */ ac97_wrcd(codec, AC97_AD_JACK_SPDIF, ac97_rdcd(codec, AC97_AD_JACK_SPDIF) | 0x0800); break; -- cgit v1.2.3