diff options
author | ariff <ariff@FreeBSD.org> | 2007-03-11 15:26:49 +0000 |
---|---|---|
committer | ariff <ariff@FreeBSD.org> | 2007-03-11 15:26:49 +0000 |
commit | f217700440cd891eafe6b538a851069d47a33658 (patch) | |
tree | 3a2281cda8d39f97005e5d006c19c5bd824d934b /sys | |
parent | fcc5a05bc539c94a482aa9b20c623dfa5c02386d (diff) | |
download | FreeBSD-src-f217700440cd891eafe6b538a851069d47a33658.zip FreeBSD-src-f217700440cd891eafe6b538a851069d47a33658.tar.gz |
Fix analog CD connectivity. HP decided to screw pinconfig settings in
their latest Compaq V3000 BIOS (revision F.22). As a result, analog CD
connectivity is gone to the oblivion. Even if they decide to fix it in
future revisions, the damage has been done.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/sound/pci/hda/hdac.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/sound/pci/hda/hdac.c b/sys/dev/sound/pci/hda/hdac.c index ccc3b9b..46b0883 100644 --- a/sys/dev/sound/pci/hda/hdac.c +++ b/sys/dev/sound/pci/hda/hdac.c @@ -1784,6 +1784,12 @@ hdac_widget_pin_getconfig(struct hdac_widget *w) config |= (HDA_CONFIG_DEFAULTCONF_DEVICE_MIC_IN | HDA_CONFIG_DEFAULTCONF_CONNECTIVITY_FIXED); break; + case 21: + config &= ~(HDA_CONFIG_DEFAULTCONF_DEVICE_MASK | + HDA_CONFIG_DEFAULTCONF_CONNECTIVITY_MASK); + config |= (HDA_CONFIG_DEFAULTCONF_DEVICE_CD | + HDA_CONFIG_DEFAULTCONF_CONNECTIVITY_FIXED); + break; default: break; } |