linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ACPI: video: Ignore BIOS initial backlight value for HP 250 G1
@ 2013-10-18 11:56 Kirill Tkhai
  2013-10-28  3:24 ` Aaron Lu
  0 siblings, 1 reply; 2+ messages in thread
From: Kirill Tkhai @ 2013-10-18 11:56 UTC (permalink / raw)
  To: linux-acpi; +Cc: rjw

On HP 250 G1 laptops, BIOS reports minimum backlight on boot and
causes backlight to dim completely. This ignores the initial backlight
values and set to max brightness.

Reference: https://bugzilla.kernel.org/show_bug.cgi?id=63111
Signed-off-by: Kirill Tkhai <tkhai@yandex.ru>
---
 drivers/acpi/video.c | 8 ++++++++
 1 file changed, 8 insertions(+)
diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c
index 3270d3c..6456466 100644
--- a/drivers/acpi/video.c
+++ b/drivers/acpi/video.c
@@ -490,6 +490,14 @@ static struct dmi_system_id video_dmi_table[] __initdata = {
 		DMI_MATCH(DMI_PRODUCT_NAME, "HP Pavilion m4 Notebook PC"),
 		},
 	},
+	{
+	 .callback = video_ignore_initial_backlight,
+	 .ident = "HP 250 G1",
+	 .matches = {
+		DMI_MATCH(DMI_BOARD_VENDOR, "Hewlett-Packard"),
+		DMI_MATCH(DMI_PRODUCT_NAME, "HP 250 G1 Notebook PC"),
+		},
+	},
 	{}
 };
 

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-10-28  3:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-18 11:56 [PATCH] ACPI: video: Ignore BIOS initial backlight value for HP 250 G1 Kirill Tkhai
2013-10-28  3:24 ` Aaron Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).