From: Alex Hung Date: Mon, 6 May 2013 08:23:43 +0000 (+0000) Subject: ACPI video: ignore BIOS initial backlight value for HP 1000 X-Git-Tag: v3.2.47~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36466ac6c36c955ec1e4eaf8f4ed6a192f430f9a;p=thirdparty%2Fkernel%2Fstable.git ACPI video: ignore BIOS initial backlight value for HP 1000 commit 4ef366c583d6180b1c951147869ee5a3038834f2 upstream. 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 Signed-off-by: Rafael J. Wysocki Signed-off-by: Ben Hutchings --- diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c index d641a22d94aaf..464daf8cffbef 100644 --- a/drivers/acpi/video.c +++ b/drivers/acpi/video.c @@ -455,6 +455,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"), + }, + }, {} };