From patchwork Fri Jun 20 08:13:42 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edward Lin X-Patchwork-Id: 4387291 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 625AEBEEAA for ; Fri, 20 Jun 2014 08:13:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9DD9F2039E for ; Fri, 20 Jun 2014 08:13:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C8C7B20397 for ; Fri, 20 Jun 2014 08:13:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754557AbaFTINs (ORCPT ); Fri, 20 Jun 2014 04:13:48 -0400 Received: from mail-pd0-f173.google.com ([209.85.192.173]:34842 "EHLO mail-pd0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751217AbaFTINr (ORCPT ); Fri, 20 Jun 2014 04:13:47 -0400 Received: by mail-pd0-f173.google.com with SMTP id r10so2718239pdi.18 for ; Fri, 20 Jun 2014 01:13:46 -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=qrTCwtX7QCxlG/zMx2NOsEP1pJZhK5lTHLZAzLnx9y4=; b=k8aqtqzQFiVGhQFir1d2qnfThZrK3cRqvd7gTw9n/sn1d7J0Hu8U1GqsGFYwzCYK6L 3zq84p1GRgzLfx67dtsxSHro727QR2nlh3X4LhZ9qclxEnDkcxsEvE2B50mw9jlEFU/H mhS2PMTMGlxc2SMvh62C3e1v9gRTcYLlL5SKvLOnxfybluBcDVrJyzd5UI1Ux7TzXtXZ Ue3oUU6yc4xffhidSXCWXSvwlu0YkqICnRUBpf3VWBpFE5Z01EKaXaPQRiBRwts9FsHl HzFIN++YRPMVAfhyM2VSQ9X5SS9dxFBlFqifmNkJjjAPEMOv+ZjDI8w2WwFoVbpCmq4a f4vg== X-Gm-Message-State: ALoCoQlMPyJjEK655fLw/UjiOBiGtevFGln5ZoklC1wxzxQ7kk4sU5LeT/tplJ0SdvWAlFWRHCO3 X-Received: by 10.66.65.138 with SMTP id x10mr2525891pas.17.1403252026563; Fri, 20 Jun 2014 01:13:46 -0700 (PDT) Received: from localhost ([175.41.48.77]) by mx.google.com with ESMTPSA id py7sm12197046pbb.78.2014.06.20.01.13.44 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 20 Jun 2014 01:13:46 -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 / video: Add Dell Inspiron 5737 to the blacklist Date: Fri, 20 Jun 2014 16:13:42 +0800 Message-Id: <1403252022-17461-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=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_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 ACPI backlight control is broken. 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(+) 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"), + }, + }, { }, };