From patchwork Thu Apr 23 03:24:35 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Hung X-Patchwork-Id: 6259681 Return-Path: X-Original-To: patchwork-linux-acpi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 8FB6ABF4A6 for ; Thu, 23 Apr 2015 03:24:49 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A4C1820456 for ; Thu, 23 Apr 2015 03:24:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 10EBF20452 for ; Thu, 23 Apr 2015 03:24:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932082AbbDWDYq (ORCPT ); Wed, 22 Apr 2015 23:24:46 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:38895 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932246AbbDWDYp (ORCPT ); Wed, 22 Apr 2015 23:24:45 -0400 Received: from 123-204-121-115.adsl.dynamic.seed.net.tw ([123.204.121.115] helo=canonical.com) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1Yl7ko-00030s-A1; Thu, 23 Apr 2015 03:24:42 +0000 From: Alex Hung To: rjw@rjwysocki.net, lenb@kernel.org, linux-acpi@vger.kernel.org, alex.hung@canonical.com Subject: [PATCH] ACPI / blacklist: blacklist Win8 OSI for Dell Inspiron 7437 Date: Thu, 23 Apr 2015 11:24:35 +0800 Message-Id: <1429759476-13186-1-git-send-email-alex.hung@canonical.com> X-Mailer: git-send-email 1.9.1 Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Dell Inspiron 7437's ACPI events does not work well with Win8 OSI. Disabling Win8 OSI can fix wireless hotkey and ACPI battery. Signed-off-by: Alex Hung --- drivers/acpi/blacklist.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/acpi/blacklist.c b/drivers/acpi/blacklist.c index 37925a3..e2db565 100644 --- a/drivers/acpi/blacklist.c +++ b/drivers/acpi/blacklist.c @@ -306,6 +306,14 @@ static struct dmi_system_id acpi_osi_dmi_table[] __initdata = { DMI_MATCH(DMI_PRODUCT_NAME, "Vostro 3546"), }, }, + { + .callback = dmi_disable_osi_win8, + .ident = "Dell Inspiron 7437", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), + DMI_MATCH(DMI_PRODUCT_NAME, "Inspiron 7437"), + }, + }, /* * The brightness hotkeys do not work on those machines when