public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Ash Willis <ashwillis.kernel@gmail.com>
To: linux-acpi@vger.kernel.org
Cc: acpi_power-video@kernel-bugs.osdl.org
Subject: [PATCH] ACPI video: ignore BIOS initial backlight value for HP Pavilion g6
Date: Wed, 29 May 2013 02:27:59 +0100	[thread overview]
Message-ID: <1369790879.21814.18.camel@ash-laptop> (raw)

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 <ashwillis@programmer.net>

---
--- 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"),
---



                 reply	other threads:[~2013-05-29  1:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1369790879.21814.18.camel@ash-laptop \
    --to=ashwillis.kernel@gmail.com \
    --cc=acpi_power-video@kernel-bugs.osdl.org \
    --cc=linux-acpi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox