From patchwork Fri Oct 18 11:56:44 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kirill Tkhai X-Patchwork-Id: 3066081 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 835829F288 for ; Fri, 18 Oct 2013 11:56:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7232420480 for ; Fri, 18 Oct 2013 11:56:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3D877203B4 for ; Fri, 18 Oct 2013 11:56:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753522Ab3JRL4s (ORCPT ); Fri, 18 Oct 2013 07:56:48 -0400 Received: from forward16.mail.yandex.net ([95.108.253.141]:52547 "EHLO forward16.mail.yandex.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754145Ab3JRL4r (ORCPT ); Fri, 18 Oct 2013 07:56:47 -0400 Received: from web21g.yandex.ru (web21g.yandex.ru [95.108.253.230]) by forward16.mail.yandex.net (Yandex) with ESMTP id ECDF8D21658; Fri, 18 Oct 2013 15:56:44 +0400 (MSK) Received: from 127.0.0.1 (localhost [127.0.0.1]) by web21g.yandex.ru (Yandex) with ESMTP id 86FE61A60561; Fri, 18 Oct 2013 15:56:44 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1382097404; bh=zO9SkEF7moC3FOVz9ggLmZ1ilDrDMRJ3P8GmRtWl/Ss=; h=From:To:Cc:Subject:Date; b=afsLgD72L43FRNX5M0NHqdD5a3Zqwh1L1eB4UoU3h36qqQ9eGQKnhoMIPprPsqNSK Xpo2hNhp5iAFjBqNGveOW1hf8RHwtRdZkJRDa/uCniVnx3FKuqNqa+a/FrIB9Wt62K ixY+PcKGWOWq6ua6Az+ORKHMdzPCAZm6wP0zTwes= Received: from ns.ineum.ru (ns.ineum.ru [213.247.249.139]) by web21g.yandex.ru with HTTP; Fri, 18 Oct 2013 15:56:44 +0400 From: Kirill Tkhai To: linux-acpi@vger.kernel.org Cc: rjw@rjwysocki.net Subject: [PATCH] ACPI: video: Ignore BIOS initial backlight value for HP 250 G1 MIME-Version: 1.0 Message-Id: <100851382097404@web21g.yandex.ru> X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Fri, 18 Oct 2013 15:56:44 +0400 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.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID, 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 On HP 250 G1 laptops, BIOS reports minimum backlight on boot and causes backlight to dim completely. This ignores the initial backlight values and set to max brightness. Reference: https://bugzilla.kernel.org/show_bug.cgi?id=63111 Signed-off-by: Kirill Tkhai Reviewed-by: Aaron Lu --- drivers/acpi/video.c | 8 ++++++++ 1 file changed, 8 insertions(+) -- 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.c b/drivers/acpi/video.c index 3270d3c..6456466 100644 --- a/drivers/acpi/video.c +++ b/drivers/acpi/video.c @@ -490,6 +490,14 @@ static struct dmi_system_id video_dmi_table[] __initdata = { DMI_MATCH(DMI_PRODUCT_NAME, "HP Pavilion m4 Notebook PC"), }, }, + { + .callback = video_ignore_initial_backlight, + .ident = "HP 250 G1", + .matches = { + DMI_MATCH(DMI_BOARD_VENDOR, "Hewlett-Packard"), + DMI_MATCH(DMI_PRODUCT_NAME, "HP 250 G1 Notebook PC"), + }, + }, {} };