summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2014-12-10 14:18:11 +0000
committerjsg <jsg@openbsd.org>2014-12-10 14:18:11 +0000
commit7beb9ae735cbc410bec46d5a8800742ae60ee39d (patch)
tree0ae22dd0d30e4a535d79103ab0139e04de5290fb
parentIf pfctl cannot set a limit in the kernel, print the name of the (diff)
downloadwireguard-openbsd-7beb9ae735cbc410bec46d5a8800742ae60ee39d.tar.xz
wireguard-openbsd-7beb9ae735cbc410bec46d5a8800742ae60ee39d.zip
Add an unmute quirk for HP machines with the IDT 92HD75B1/2 codec.
From Alessandro DE LAURENZIS, who requires this to get sound out of the speakers on a Compaq 610 laptop. Other machines such as the HP Mini 1000 and HP Mini 5102 will likely benefit from this as well.
-rw-r--r--sys/dev/pci/azalia_codec.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/pci/azalia_codec.c b/sys/dev/pci/azalia_codec.c
index 1fc20453a78..5b5db65a226 100644
--- a/sys/dev/pci/azalia_codec.c
+++ b/sys/dev/pci/azalia_codec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: azalia_codec.c,v 1.164 2014/11/17 16:34:51 landry Exp $ */
+/* $OpenBSD: azalia_codec.c,v 1.165 2014/12/10 14:18:11 jsg Exp $ */
/* $NetBSD: azalia_codec.c,v 1.8 2006/05/10 11:17:27 kent Exp $ */
/*-
@@ -184,6 +184,9 @@ azalia_codec_init_vtbl(codec_t *this)
break;
case 0x111d7608:
this->name = "IDT 92HD75B1/2";
+ if ((this->subid & 0x0000ffff) == 0x0000103c) { /* HP */
+ this->qrks |= AZ_QRK_GPIO_UNMUTE_0;
+ }
break;
case 0x111d7674:
this->name = "IDT 92HD73D1";