From 76653841308f708f2fab8b5308dd068411677113 Mon Sep 17 00:00:00 2001 From: Ariff Abdullah Date: Mon, 29 Oct 2007 18:47:27 +0000 Subject: Enable headphone jack-sense for HP nx6100 with AD1981B AC'97 codec, automuting internal speakers. Tested by: Frederic Chardon Approved by: re (kensmith) --- sys/dev/sound/pcm/ac97_patch.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/dev') 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.3