From patchwork Wed May 29 01:27:59 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ash Willis X-Patchwork-Id: 2627471 Return-Path: X-Original-To: patchwork-linux-acpi@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 86E7040077 for ; Wed, 29 May 2013 01:28:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933868Ab3E2B2E (ORCPT ); Tue, 28 May 2013 21:28:04 -0400 Received: from mail-we0-f194.google.com ([74.125.82.194]:45940 "EHLO mail-we0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932863Ab3E2B2D (ORCPT ); Tue, 28 May 2013 21:28:03 -0400 Received: by mail-we0-f194.google.com with SMTP id u57so2017478wes.9 for ; Tue, 28 May 2013 18:28:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:subject:from:to:cc:date:content-type:x-mailer :mime-version:content-transfer-encoding; bh=/yeuw219G0sUmx8DmTXDbdcakB/m5EJmxGBOA8oeIs0=; b=pZbxY+TKblcWyQVkRdieKdOjoiwPIrmZpnySqY53gbuOdHVt8AK8v//p0AmyMd53vd lIjE+3XBIVt5XRqqkuRDA7eTB9YV8Uk+vXYkKGv5oM3oFtWgRp/d+cGPnnDwutPvfsIZ 0fbT7wP2DnbepqoX2wrxiXQ8+eizLmwCqahLOMX/cBvA4ROuvpCJYdfNbrKnGbfU0aGw ic/vvjuh+rsXoM9yIkJbibFVCy6/QNt9MS3ziWH2s0aIDdZCT6WrGS1VUPvIl78gkdUl U+ek6S/8IUqEH3s9UMBwZmIPo2OEWlfR/EZjVRNzOJI6ie5SEwrYB6Rd32/eNOJX+j93 njAQ== X-Received: by 10.194.216.136 with SMTP id oq8mr349342wjc.8.1369790881820; Tue, 28 May 2013 18:28:01 -0700 (PDT) Received: from [192.168.1.64] (94-194-197-201.zone8.bethere.co.uk. [94.194.197.201]) by mx.google.com with ESMTPSA id fu14sm27969963wic.0.2013.05.28.18.28.00 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Tue, 28 May 2013 18:28:00 -0700 (PDT) Message-ID: <1369790879.21814.18.camel@ash-laptop> Subject: [PATCH] ACPI video: ignore BIOS initial backlight value for HP Pavilion g6 From: Ash Willis To: linux-acpi@vger.kernel.org Cc: acpi_power-video@kernel-bugs.osdl.org Date: Wed, 29 May 2013 02:27:59 +0100 X-Mailer: Evolution 3.6.4-0ubuntu1 Mime-Version: 1.0 Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org This patch addresses kernel bug 56661. BIOS reports an incorrect backlight value, causing the driver to switch off the backlight completely during startup. This patch ignores the incorrect value from BIOS. References: https://bugzilla.kernel.org/show_bug.cgi?id=56661 Signed-off-by: Ash Willis --- --- -- 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 --- linux.orig/drivers/acpi/video.c 2013-05-24 02:31:26.755501838 +0100 +++ linux/drivers/acpi/video.c 2013-05-24 03:30:34.635596848 +0100 @@ -458,6 +458,14 @@ static struct dmi_system_id video_dmi_ta }, { .callback = video_ignore_initial_backlight, + .ident = "HP Pavilion g6 Notebook PC", + .matches = { + DMI_MATCH(DMI_BOARD_VENDOR, "Hewlett-Packard"), + DMI_MATCH(DMI_PRODUCT_NAME, "HP Pavilion g6 Notebook PC"), + }, + }, + { + .callback = video_ignore_initial_backlight, .ident = "HP 1000 Notebook PC", .matches = { DMI_MATCH(DMI_BOARD_VENDOR, "Hewlett-Packard"),