linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ACPI video: ignore BIOS initial backlight value for HP m4
@ 2013-05-28  2:05 Alex Hung
  2013-11-12  2:05 ` Aaron Lu
  0 siblings, 1 reply; 3+ messages in thread
From: Alex Hung @ 2013-05-28  2:05 UTC (permalink / raw)
  To: rui.zhang, lenb, rjw, linux-acpi; +Cc: Alex Hung

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

Buglink: https://bugs.launchpad.net/bugs/1184501

Signed-off-by: Alex Hung <alex.hung@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 5b32e15..d0937ab 100644
--- a/drivers/acpi/video.c
+++ b/drivers/acpi/video.c
@@ -464,6 +464,14 @@ static struct dmi_system_id video_dmi_table[] __initdata = {
 		DMI_MATCH(DMI_PRODUCT_NAME, "HP 1000 Notebook PC"),
 		},
 	},
+	{
+	 .callback = video_ignore_initial_backlight,
+	 .ident = "HP Pavilion m4",
+	 .matches = {
+		DMI_MATCH(DMI_BOARD_VENDOR, "Hewlett-Packard"),
+		DMI_MATCH(DMI_PRODUCT_NAME, "HP Pavilion m4 Notebook PC"),
+		},
+	},
 	{}
 };
 
-- 
1.8.1.2


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

end of thread, other threads:[~2013-11-12  2:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-28  2:05 [PATCH] ACPI video: ignore BIOS initial backlight value for HP m4 Alex Hung
2013-11-12  2:05 ` Aaron Lu
2013-11-12  2:21   ` 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).