Patchwork [2/2] ACPI video: ignore BIOS initial backlight value for HP 1000

login
register
mail settings
Submitter Alex Hung
Date June 4, 2013, 9:48 a.m.
Message ID <1370339322-17219-3-git-send-email-alex.hung@canonical.com>
Download mbox | patch
Permalink /patch/249095/
State New
Headers show

Comments

Alex Hung - June 4, 2013, 9:48 a.m.
On HP 1000 lapops, BIOS reports minimum backlight on boot and
causes backlight to dim completely. This ignores the initial backlight
values and set to max brightness.

References:: https://bugs.launchpad.net/bugs/1167760
Signed-off-by: Alex Hung <alex.hung@canonical.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
(cherry picked from commit 4ef366c583d6180b1c951147869ee5a3038834f2)

Signed-off-by: Alex Hung <alex.hung@canonical.com>
---
 drivers/acpi/video.c |    8 ++++++++
 1 file changed, 8 insertions(+)

Patch

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