From patchwork Mon May 5 08:11:37 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edward Lin X-Patchwork-Id: 4112311 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.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id C06D7BFF02 for ; Mon, 5 May 2014 08:11:50 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0433B20398 for ; Mon, 5 May 2014 08:11:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 246BE20148 for ; Mon, 5 May 2014 08:11:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754872AbaEEILq (ORCPT ); Mon, 5 May 2014 04:11:46 -0400 Received: from mail-vc0-f174.google.com ([209.85.220.174]:45288 "EHLO mail-vc0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754881AbaEEILo (ORCPT ); Mon, 5 May 2014 04:11:44 -0400 Received: by mail-vc0-f174.google.com with SMTP id ib6so8172954vcb.33 for ; Mon, 05 May 2014 01:11:43 -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=1pxGefMLR4t0TZkUd+BzfMj3YIm6K0SPSJZPQMXo8IA=; b=Woo002E1zVnHIJqZk3CQyru4feH3vSCGW7BNvdUAZdKy7azmkGoCV1drh7UFA/k+MF 6TzeJVBFMS0cvs04taYFZ65JeTQPAYbMcfluBWa7PHUkl0rEPW3AXB39aXkEq5kaZZv9 2nmCz6A+6HW2Y9yiz/YdxMRV13wEZdC9+VIMpTl8EkXObMwCQ4VAKkSS2PvRj3PXndXb KU6oizMDdW4ZWD2Rlbi52wk2PRorqfvT6qDgZQe4Wjm3jl7zC+1b+PFi3JXhAEJM0i0o 6m7qGVr72ncdyF1L/0h0gpYOyhsb8YTnk2R2OPFEw48eqoggSK3e3JjLnOxENbDNuyEI RaaQ== X-Gm-Message-State: ALoCoQnaWcZtOgeqci1F1gJeupjrF0qUL4evDbl07+foKU2JRPxTAzzP0tU1UeSNnR5TBcoK0T5K X-Received: by 10.52.175.69 with SMTP id by5mr16207753vdc.16.1399277503700; Mon, 05 May 2014 01:11:43 -0700 (PDT) Received: from localhost ([175.41.48.77]) by mx.google.com with ESMTPSA id us17sm16851475vdb.19.2014.05.05.01.11.41 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 05 May 2014 01:11:43 -0700 (PDT) From: Edward Lin To: rjw@rjwysocki.net, lenb@kernel.org, linux-acpi@vger.kernel.org Cc: yidi.lin@canonical.com Subject: [PATCH] ACPI: blacklist win8 OSI for Dell Inspiron 7737 Date: Mon, 5 May 2014 16:11:37 +0800 Message-Id: <1399277497-15298-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=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 With win8 capabiltiy, the machine will boot itself immediately after shutdown command has executed. Work around this issue by diabling win8 capcability. This workaround also makes wireless hotkey workable. 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.