Skip to contentSkip to conversation

ACPI: video: Add backlight=native DMI quirk for Acer Aspire 3830TG

PATCH Applied Hans de Goede 2 participants 2 messages Mar 20, 2023 ACPI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ACPI: video: Add backlight=native DMI quirk for Acer Aspire 3830TG

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.

---
 drivers/acpi/video_detect.c | 8 ++++++++
 1 file changed, 8 insertions(+)
drivers/acpi/video_detect.c +8 -0
index 710ac640267d..c69b42a60427 100644
@@ -495,6 +495,14 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
 		DMI_MATCH(DMI_PRODUCT_NAME, "Precision 7510"),
 		},
 	},
+	{
+	 .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 */
Signature · 1 line
2.39.1
maintainer Applied
#1 lore raw
Quoted 23 lines · Hans de Goede

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.

---
 drivers/acpi/video_detect.c | 8 ++++++++
 1 file changed, 8 insertions(+)
drivers/acpi/video_detect.c +2 -0
index 710ac640267d..c69b42a60427 100644
@@ -495,6 +495,14 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
                DMI_MATCH(DMI_PRODUCT_NAME, "Precision 7510"),
                },
        },
+       {
+        .callback = video_detect_force_native,

drivers/acpi/video_detect.c static const struct dmi_system_id video_detect_dmi_table[] = {

Quoted 10 lines
drivers/acpi/video_detect.c +6 -1
+        /* 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 */
--

Applied as 6.3-rc material, thanks!