From patchwork Wed May 7 02:47:24 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edward Lin X-Patchwork-Id: 4124971 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 19BF29F23C for ; Wed, 7 May 2014 02:47:58 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5AB0B201EC for ; Wed, 7 May 2014 02:47:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 80112201ED for ; Wed, 7 May 2014 02:47:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754132AbaEGCrz (ORCPT ); Tue, 6 May 2014 22:47:55 -0400 Received: from mail-vc0-f169.google.com ([209.85.220.169]:38599 "EHLO mail-vc0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752279AbaEGCrz (ORCPT ); Tue, 6 May 2014 22:47:55 -0400 Received: by mail-vc0-f169.google.com with SMTP id ij19so472926vcb.28 for ; Tue, 06 May 2014 19:47:54 -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=WxH2JdOo5ERQe+Lwt9ANJXyXZIGrzyuZpXWhVrBFhGs=; b=PGKGPdjWOIgrypXWU7gLGctf4lc0/AKvgXZo1yiLeb0f65q7Ol0Sko8FzuM6myg5XM bPRMJqJgYMxCIgwxkzZ+1e0Ei4rZuiGFfXeERphI5R/yct0pbh6qEqWRD3Hm/J828Ffx +tmJKALcQvp1owp6et64L+Mo86gV1vZWzFhUVqYmlf3H7nKmjjdUH9MDUDNFPa7qtEUf KkcmHoTP5/IOndolL9G4APfYrDmPZVgtSa5cXSsDaT9HNG/O6kpkfHnDvkyukOrdbr3N CHoj8Gzl1cKUhO+oACPKjfCekE2IJBD2mqZWI6bqt6pkt7kPAbqBiYZwyGGMFmtF1cR6 xgnQ== X-Gm-Message-State: ALoCoQm9Z8o3RBo0aV5t2lO0b431wUHjOsQsm2qJVgH1lXjCCJRFzyWQkfBhifafK1axmnhC0PT1 X-Received: by 10.221.62.131 with SMTP id xa3mr36483286vcb.13.1399430874303; Tue, 06 May 2014 19:47:54 -0700 (PDT) Received: from localhost ([175.41.48.77]) by mx.google.com with ESMTPSA id sb8sm400132vdc.26.2014.05.06.19.47.52 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 06 May 2014 19:47:53 -0700 (PDT) From: Edward Lin To: rjw@rjwysocki.net, lenb@kernel.org, linux-acpi@vger.kernel.org Cc: yidi.lin@canonical.com, yk@canonical.com Subject: [PATCH v2] ACPI: blacklist win8 OSI for Dell Inspiron 7737 Date: Wed, 7 May 2014 10:47:24 +0800 Message-Id: <1399430844-7006-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 With win8 capabiltiy, the machine will boot itself immediately after shutdown command has executed. Work around this issue by disabling win8 capcability. This workaround also makes wireless hotkey work. ChangeLog (v1 -> v2): - fix typos in commit message Signed-off-by: Edward Lin --- drivers/acpi/blacklist.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/acpi/blacklist.c b/drivers/acpi/blacklist.c index afec452..4fc6cf5 100644 --- a/drivers/acpi/blacklist.c +++ b/drivers/acpi/blacklist.c @@ -314,6 +314,14 @@ static struct dmi_system_id acpi_osi_dmi_table[] __initdata = { DMI_MATCH(DMI_PRODUCT_VERSION, "2349D15"), }, }, + { + .callback = dmi_disable_osi_win8, + .ident = "Dell Inspiron 7737", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), + DMI_MATCH(DMI_PRODUCT_NAME, "Inspiron 7737"), + }, + }, /* * BIOS invocation of _OSI(Linux) is almost always a BIOS bug.