Skip to contentSkip to conversation

ACPI video: ignore BIOS backlight value for HP dm4

PATCH Applied Gustavo Maciel Dias Vieira 2 participants 2 messages Mar 4, 2013 – Mar 26, 2013 ACPI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ACPI video: ignore BIOS backlight value for HP dm4

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

---

This is the same situation as with the HP Folio
(http://www.spinics.net/lists/linux-acpi/msg40401.html).

Without this patch, the only way to get a correct display is with the video.use_bios_initial_backlight=0 command line switch. With it the display works out of the box.

Abraços,
Gustavo

 drivers/acpi/video.c | 8 ++++++++
 1 file changed, 8 insertions(+)
drivers/acpi/video.c +8 -0
index ac9a69c..d7329bc 100644
@@ -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"),
+		},
+	},
 	{}
 };
 
Signature · 6 lines
1.8.1.2

--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#1 lore raw
Quoted 6 lines · Gustavo Maciel Dias Vieira

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

Quoted 8 lines

---

This is the same situation as with the HP Folio
(http://www.spinics.net/lists/linux-acpi/msg40401.html).

Without this patch, the only way to get a correct display is with the video.use_bios_initial_backlight=0 command line switch. With it the display works out of the box.

Applied to linux-pm.git/linux-next.

Thanks,
Rafael

Quoted 23 lines
 drivers/acpi/video.c | 8 ++++++++
 1 file changed, 8 insertions(+)
drivers/acpi/video.c +8 -0
index ac9a69c..d7329bc 100644
@@ -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"),
+		},
+	},
 	{}
 };
 
Signature · 2 lines
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.