ACPI / video: Add a quirk to force native backlight on Lenovo IdeaPad S405
authorHans de Goede <hdegoede@redhat.com>
Wed, 21 Oct 2015 11:45:03 +0000 (13:45 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 26 Oct 2015 03:49:06 +0000 (04:49 +0100)
The Lenovo IdeaPad S405 is a not "Windows8 ready" machine which still has
a broken ACPI video backlight implementation. Add a quirk to force use
of native backlight on this machine.

Link: https://bugzilla.redhat.com/show_bug.cgi?id=1201530
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/video_detect.c

index 2922f1f..0d3a384 100644 (file)
@@ -244,6 +244,15 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
 
        /* Non win8 machines which need native backlight nevertheless */
        {
+        /* https://bugzilla.redhat.com/show_bug.cgi?id=1201530 */
+        .callback = video_detect_force_native,
+        .ident = "Lenovo Ideapad S405",
+        .matches = {
+               DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+               DMI_MATCH(DMI_BOARD_NAME, "Lenovo IdeaPad S405"),
+               },
+       },
+       {
         /* https://bugzilla.redhat.com/show_bug.cgi?id=1187004 */
         .callback = video_detect_force_native,
         .ident = "Lenovo Ideapad Z570",