From patchwork Mon Sep 15 03:56:12 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edward Lin X-Patchwork-Id: 4902601 Return-Path: X-Original-To: patchwork-linux-acpi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id B30179F2EC for ; Mon, 15 Sep 2014 03:53:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C28BC2015D for ; Mon, 15 Sep 2014 03:56:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D3744200E9 for ; Mon, 15 Sep 2014 03:56:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753154AbaIOD4R (ORCPT ); Sun, 14 Sep 2014 23:56:17 -0400 Received: from mail-pa0-f54.google.com ([209.85.220.54]:60360 "EHLO mail-pa0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753145AbaIOD4R (ORCPT ); Sun, 14 Sep 2014 23:56:17 -0400 Received: by mail-pa0-f54.google.com with SMTP id lj1so5555855pab.41 for ; Sun, 14 Sep 2014 20:56:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=R4U0rPgn+p/QwZWj3HqWHN/t2bQvzqBRM6ZfnnA9LqI=; b=SUS9pqhiQp8pnRv6B6vshT0+saxWcI7cUT+9rl8Fm2jy6PwLvlazep742VD658tawn z1lVqTU8XyZpn7oh03bPcPuaR6SyX0q6S4bZuuJOnytKyTSb/zY6djzs9RDerF+89POg RRFF6QEg2NxfZ5/ecuNLASJx5lF1vjcaKBSaN5rQHF0V0PyqpUzXKhwQO3MZngUl53KX dNR19V2ZsShp21o+jKQ2Rz5XhthzAJ+aA25VM1hRadQywt+DK+5mjVR+eyXgPUVIxGou Kn/JU+FF0RNnnVuSLt05XK9yVLlrVJkx0HOdeYY7ZkH5RAzbkBjsxtnOupOfElj/SEUs kd4Q== X-Gm-Message-State: ALoCoQnXM4lzpHqLh8wbRy45Ckol/AxGqvsotfmXxd0zqDTey35GVeWGISIYoyGp4QZPF6dKfEzb X-Received: by 10.70.42.238 with SMTP id r14mr9578276pdl.122.1410753376639; Sun, 14 Sep 2014 20:56:16 -0700 (PDT) Received: from localhost ([175.41.48.77]) by mx.google.com with ESMTPSA id p12sm8538795pdl.41.2014.09.14.20.56.15 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 14 Sep 2014 20:56:16 -0700 (PDT) From: Edward Lin To: rjw@rjwysocki.net, lenb@kernel.org, linux-acpi@vger.kernel.org Cc: yk@canonical.com Subject: [PATCH] ACPI: blacklist Win8 OSI for some Dell laptop models Date: Mon, 15 Sep 2014 11:56:12 +0800 Message-Id: <1410753372-10912-1-git-send-email-yidi.lin@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=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 The wireless hotkey of those machines does not work with Win8 OSI. Due to insufficient documentation for the driver implementation, blacklist those machines as a workaround. "audo wake on after shutdown" bug on Dell Inspiron 7737 is fixed by BIOS[1]. But this machine still suffers the hotkey issue. So keep the quirk for the wireless hotkey issue. [1]: http://www.dell.com/support/home/us/en/19/Drivers/DriversDetails?driverId=MJWNX Signed-off-by: Edward Lin --- drivers/acpi/blacklist.c | 36 ++++++++++++++++++++++++++++++++++-- 1 file changed, 34 insertions(+), 2 deletions(-) diff --git a/drivers/acpi/blacklist.c b/drivers/acpi/blacklist.c index 36eb42e..ed122e1 100644 --- a/drivers/acpi/blacklist.c +++ b/drivers/acpi/blacklist.c @@ -247,8 +247,8 @@ static struct dmi_system_id acpi_osi_dmi_table[] __initdata = { }, /* - * These machines will power on immediately after shutdown when - * reporting the Windows 2012 OSI. + * The wireless hotkey does not work on those machines when + * returning true for _OSI("Windows 2012") */ { .callback = dmi_disable_osi_win8, @@ -258,6 +258,38 @@ static struct dmi_system_id acpi_osi_dmi_table[] __initdata = { DMI_MATCH(DMI_PRODUCT_NAME, "Inspiron 7737"), }, }, + { + .callback = dmi_disable_osi_win8, + .ident = "Dell Inspiron 7537", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), + DMI_MATCH(DMI_PRODUCT_NAME, "Inspiron 7537"), + }, + }, + { + .callback = dmi_disable_osi_win8, + .ident = "Dell Inspiron 5437", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), + DMI_MATCH(DMI_PRODUCT_NAME, "Inspiron 5437"), + }, + }, + { + .callback = dmi_disable_osi_win8, + .ident = "Dell Inspiron 3437", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), + DMI_MATCH(DMI_PRODUCT_NAME, "Inspiron 3437"), + }, + }, + { + .callback = dmi_disable_osi_win8, + .ident = "Dell Vostro 3446", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), + DMI_MATCH(DMI_PRODUCT_NAME, "Vostro 3446"), + }, + }, /* * BIOS invocation of _OSI(Linux) is almost always a BIOS bug.