diff options
author | Landry Breuil <landry@cvs.openbsd.org> | 2014-11-17 16:34:52 +0000 |
---|---|---|
committer | Landry Breuil <landry@cvs.openbsd.org> | 2014-11-17 16:34:52 +0000 |
commit | 5c2b628ed4f8ef07e5af015e82ec7653fb39e1b6 (patch) | |
tree | 46b7c28297c3e346bd40167f707f6e0e0291ee9b /sys/dev/pci | |
parent | 8e48d799ced5a170866264ec3b67fb098fcdd7db (diff) |
Add quirks for the "Realtek ALC885" found on MacMini3.1, unmutes the
internal speaker, line input and hp output. Tested on i386/amd64.
hints/help & ok ratchov@
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/azalia_codec.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/pci/azalia_codec.c b/sys/dev/pci/azalia_codec.c index 046954a6a17..1fc20453a78 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.163 2014/07/13 23:10:23 deraadt Exp $ */ +/* $OpenBSD: azalia_codec.c,v 1.164 2014/11/17 16:34:51 landry Exp $ */ /* $NetBSD: azalia_codec.c,v 1.8 2006/05/10 11:17:27 kent Exp $ */ /*- @@ -149,11 +149,13 @@ azalia_codec_init_vtbl(codec_t *this) this->name = "Realtek ALC885"; this->qrks |= AZ_QRK_WID_CDIN_1C | AZ_QRK_WID_BEEP_1D; if (this->subid == 0x00a1106b || /* APPLE_MB3 */ + this->subid == 0xcb7910de || /* APPLE_MACMINI3_1 (line-in + hp) */ this->subid == 0x00a0106b || /* APPLE_MB3_1 */ this->subid == 0x00a3106b) { /* APPLE_MB4 */ this->qrks |= AZ_QRK_GPIO_UNMUTE_0; } if (this->subid == 0x00a1106b || + this->subid == 0xcb7910de || /* APPLE_MACMINI3_1 (internal spkr) */ this->subid == 0x00a0106b) this->qrks |= AZ_QRK_WID_OVREF50; break; |