From patchwork Tue Jul 8 02:14:59 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edward Lin X-Patchwork-Id: 4502291 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 AC7439F1C4 for ; Tue, 8 Jul 2014 02:15:04 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E610A202B8 for ; Tue, 8 Jul 2014 02:15:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D7D0F202FF for ; Tue, 8 Jul 2014 02:15:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752294AbaGHCPB (ORCPT ); Mon, 7 Jul 2014 22:15:01 -0400 Received: from mail-vc0-f176.google.com ([209.85.220.176]:61506 "EHLO mail-vc0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751751AbaGHCPA (ORCPT ); Mon, 7 Jul 2014 22:15:00 -0400 Received: by mail-vc0-f176.google.com with SMTP id ik5so4766361vcb.35 for ; Mon, 07 Jul 2014 19:14:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=XBb5rUqGxmCBBHFkMvi0rMg+KBm/jiuGkl0BEIuB+ew=; b=B4e8BVg58ezGO6HjbhyLxOAHBGci7jr+8QKwkYb58KQGhFolaDTNCjX7/SaFkhKVIm I0ERw8UdMZ/PDBvfBC6jewf8ysj4d4EifDKPme85PNbPBoHcuDbDGqajKm9kcGCFvD34 S3Xqzzu50clnKouBSQOsxKynEhIu5qzWeeJlcsWJmnO2SeyqVqzLYYOWA+LTRy/SEfQy eEgicf80sc8TXaUvn/c/jbvv19BFw6Z/P8bJO7oY94QVhyN0bb9NmzgFFqLAhIA5s8v6 SWeaI2PAlIEdTBN8i1DsjnW1azXKbtjgxHlYOZf75QyiJtomWAOLcCfBVvfLLgRm/VB5 FSWw== X-Gm-Message-State: ALoCoQnvtHmbTghABVix1X6vG1fqaetKya47LS1w4j/09QrpiGRhvKSB82vfCrwGNA2qV39bPE0r MIME-Version: 1.0 X-Received: by 10.220.81.194 with SMTP id y2mr16140883vck.29.1404785699771; Mon, 07 Jul 2014 19:14:59 -0700 (PDT) Received: by 10.52.104.100 with HTTP; Mon, 7 Jul 2014 19:14:59 -0700 (PDT) Date: Tue, 8 Jul 2014 10:14:59 +0800 Message-ID: Subject: [PATCH] ACPI / video: Add Dell Inspiron 5737 to the blacklist From: Yidi Lin To: rjw@rjwysocki.net, Len Brown , linux-acpi@vger.kernel.org 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.6 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 capability, the ACPI backlight control is broken on this model. The system also loses backlight setting when resuming from S3. Add this model to the the ACPI video detect blacklist to make backlight functionality work. Although backlight functionality works via video.use_native_backlight=1, this approach may be safer. Signed-off-by: Edward Lin --- drivers/acpi/video_detect.c | 8 ++++++++ 1 file changed, 8 insertions(+) -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/acpi/video_detect.c b/drivers/acpi/video_detect.c index 33e3db5..c42feb2 100644 --- a/drivers/acpi/video_detect.c +++ b/drivers/acpi/video_detect.c @@ -166,6 +166,14 @@ static struct dmi_system_id video_detect_dmi_table[] = { DMI_MATCH(DMI_PRODUCT_NAME, "UL30A"), }, }, + { + .callback = video_detect_force_vendor, + .ident = "Dell Inspiron 5737", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), + DMI_MATCH(DMI_PRODUCT_NAME, "Inspiron 5737"), + }, + }, { }, };