]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
UBUNTU: SAUCE: ACPI: video: Use native backlight on Lenovo E41-25/45
authorAaron Ma <aaron.ma@canonical.com>
Tue, 14 Jan 2020 05:47:17 +0000 (13:47 +0800)
committerKhalid Elmously <khalid.elmously@canonical.com>
Tue, 28 Jan 2020 19:30:07 +0000 (14:30 -0500)
BugLink: https://bugs.launchpad.net/bugs/1859561
ACPI backlight control doesn't work on 2 Lenovo E41 laptops.
So force to use native backlight control on them.

(cherry picked from 53870cf03faefa1f0d77fbc366db87d5beda203c)
Signed-off-by: Aaron Ma <aaron.ma@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Connor Kuehl <connor.kuehl@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/acpi/video_detect.c

index 43587ac680e472afe6ac5cbb0bbbfa3b0c9f93e7..f6add9d82fa904c96e8403b6e6201d6bbfa35596 100644 (file)
@@ -294,6 +294,22 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
                DMI_MATCH(DMI_PRODUCT_NAME, "102434U"),
                },
        },
+       {
+        .callback = video_detect_force_native,
+        .ident = "Lenovo E41-25",
+        .matches = {
+               DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+               DMI_MATCH(DMI_PRODUCT_NAME, "81FS"),
+               },
+       },
+       {
+        .callback = video_detect_force_native,
+        .ident = "Lenovo E41-45",
+        .matches = {
+               DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+               DMI_MATCH(DMI_PRODUCT_NAME, "82BK"),
+               },
+       },
        {
         /* https://bugzilla.redhat.com/show_bug.cgi?id=1217249 */
         .callback = video_detect_force_native,