diff options
author | ariff <ariff@FreeBSD.org> | 2007-10-26 20:49:23 +0000 |
---|---|---|
committer | ariff <ariff@FreeBSD.org> | 2007-10-26 20:49:23 +0000 |
commit | 99175bc44a99cb62fdc17fd9f872f4878ee472e6 (patch) | |
tree | a1e64c310cf999ece45f8fa734535fea3d562f27 /sys | |
parent | c21b38f4091388ddb604d75698f52f632352d3d5 (diff) | |
download | FreeBSD-src-99175bc44a99cb62fdc17fd9f872f4878ee472e6.zip FreeBSD-src-99175bc44a99cb62fdc17fd9f872f4878ee472e6.tar.gz |
Enable headphone jack-sense for HP nx6100 with AD1981B AC'97 codec,
automuting internal speakers.
Tested by: Frederic Chardon
MFC after: 3 days
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/sound/pcm/ac97_patch.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/sound/pcm/ac97_patch.c b/sys/dev/sound/pcm/ac97_patch.c index 6e326ca..da6fb1b 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; |