ACPI: video: Add backlight=native DMI quirk for Acer Aspire 3830TG
authorHans de Goede <hdegoede@redhat.com>
Mon, 20 Mar 2023 15:59:46 +0000 (16:59 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 20 Mar 2023 18:11:42 +0000 (19:11 +0100)
The Acer Aspire 3830TG predates Windows 8, so it defaults to using
acpi_video# for backlight control, but this is non functional on
this model.

Add a DMI quirk to use the native backlight interface which does
work properly.

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 14d6d81..fd7cbce 100644 (file)
@@ -497,6 +497,14 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
        },
        {
         .callback = video_detect_force_native,
+        /* Acer Aspire 3830TG */
+        .matches = {
+               DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
+               DMI_MATCH(DMI_PRODUCT_NAME, "Aspire 3830TG"),
+               },
+       },
+       {
+        .callback = video_detect_force_native,
         /* Acer Aspire 4810T */
         .matches = {
                DMI_MATCH(DMI_SYS_VENDOR, "Acer"),