ACPI / video: Add Acer TravelMate B113 to native backlight blacklist
authorMartin Kepplinger <martink@posteo.de>
Mon, 23 Jun 2014 20:30:46 +0000 (22:30 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 7 Jul 2014 21:38:10 +0000 (23:38 +0200)
Fix backlight control for Acer TravelMate B113 Laptop by adding
it to the video_dmi_table.

A workaround before that was to use acpi_osi=Linux or
acpi_backlight=vendor on boot but even then, only the function-
keys worked.

With this change there is no need for boot parameters and DE's
controls work as well.

Signed-off-by: Martin Kepplinger <martink@posteo.de>
[rjw: Subject]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/video.c

index 5bb1278..071c1df 100644 (file)
@@ -564,6 +564,14 @@ static struct dmi_system_id video_dmi_table[] __initdata = {
                },
        },
        {
+        .callback = video_set_use_native_backlight,
+        .ident = "Acer TravelMate B113",
+        .matches = {
+               DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
+               DMI_MATCH(DMI_PRODUCT_NAME, "TravelMate B113"),
+               },
+       },
+       {
        .callback = video_set_use_native_backlight,
        .ident = "HP ProBook 4340s",
        .matches = {