[ 3.5.y.z extended stable ] Patch "ACPI video: ignore BIOS backlight value for HP dm4" has been added to staging queue

Luis Henriques luis.henriques at canonical.com
Tue Jun 11 09:21:31 UTC 2013


This is a note to let you know that I have just added a patch titled

    ACPI video: ignore BIOS backlight value for HP dm4

to the linux-3.5.y-queue branch of the 3.5.y.z extended stable tree 
which can be found at:

 http://kernel.ubuntu.com/git?p=ubuntu/linux.git;a=shortlog;h=refs/heads/linux-3.5.y-queue

If you, or anyone else, feels it should not be added to this tree, please 
reply to this email.

For more information about the 3.5.y.z tree, see
https://wiki.ubuntu.com/Kernel/Dev/ExtendedStable

Thanks.
-Luis

------

>From c6e6d2f4f56ec92d324f020df022cd1fc83f9da7 Mon Sep 17 00:00:00 2001
From: Gustavo Maciel Dias Vieira <gustavo at sagui.org>
Date: Mon, 4 Mar 2013 15:23:37 +0000
Subject: [PATCH] ACPI video: ignore BIOS backlight value for HP dm4

commit 771d09b3c4c45d4d534a83a68e6331b97fd82e15 upstream.

On a HP Pavilion dm4 laptop the BIOS sets minimum backlight on boot,
completely dimming the screen. Ignore this initial value for this
machine.

Signed-off-by: Gustavo Maciel Dias Vieira <gustavo at sagui.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki at intel.com>
Cc: Alex Hung <alex.hung at canonical.com>
Signed-off-by: Luis Henriques <luis.henriques at canonical.com>
---
 drivers/acpi/video.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c
index 3837739..f3b3027 100644
--- a/drivers/acpi/video.c
+++ b/drivers/acpi/video.c
@@ -447,6 +447,14 @@ static struct dmi_system_id video_dmi_table[] __initdata = {
 		DMI_MATCH(DMI_PRODUCT_NAME, "HP Folio 13 - 2000 Notebook PC"),
 		},
 	},
+	{
+	 .callback = video_ignore_initial_backlight,
+	 .ident = "HP Pavilion dm4",
+	 .matches = {
+		DMI_MATCH(DMI_BOARD_VENDOR, "Hewlett-Packard"),
+		DMI_MATCH(DMI_PRODUCT_NAME, "HP Pavilion dm4 Notebook PC"),
+		},
+	},
 	{}
 };

--
1.8.1.2





More information about the kernel-team mailing list