]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ACPI / video: ignore BIOS initial backlight value for HP m4
authorAlex Hung <alex.hung@canonical.com>
Tue, 28 May 2013 02:05:09 +0000 (02:05 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 1 Jun 2013 21:52:28 +0000 (23:52 +0200)
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.

References: https://bugs.launchpad.net/bugs/1184501
Cc: All <stable@vger.kernel.org>
Signed-off-by: Alex Hung <alex.hung@canonical.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/video.c

index 5b32e15a65ceee63861992d51f7731a140946e3c..d0937ab3fb6d3bab5e56bd6b6d667ab1c0a6bb3f 100644 (file)
@@ -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"),
+               },
+       },
        {}
 };