From c8d47dfec3cedbde2876aca1daab06a41355015a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Sun, 23 Sep 2007 21:52:54 +0000 Subject: [PATCH] added some other ids for HP laptops with Headphone jack sense quirk git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22285 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/kernel/drivers/audio/ac97/auich/ac97.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/add-ons/kernel/drivers/audio/ac97/auich/ac97.c b/src/add-ons/kernel/drivers/audio/ac97/auich/ac97.c index a471540ecd..a0803a56da 100644 --- a/src/add-ons/kernel/drivers/audio/ac97/auich/ac97.c +++ b/src/add-ons/kernel/drivers/audio/ac97/auich/ac97.c @@ -262,7 +262,14 @@ void ad1981b_init(device_config *config) uint32 id; LOG(("ad1981b_init\n")); id = (config->subvendor_id << 16) | config->subsystem_id; - if (id == 0x103c0934) { + if (id == 0x103c0934 + || id == 0x103c006d + || id == 0x103c088c + || id == 0x103c0890 + || id == 0x103c0934 + || id == 0x103c0938 + || id == 0x103c0944 + || id == 0x103c099c) { auich_codec_write(config, AC97_AD_JACKSENSE, auich_codec_read(config, AC97_AD_JACKSENSE) | 0x0800); }