Skip to contentSkip to conversation

ACPI: video: Use native backlight on Lenovo E41-25/45

PATCH New Aaron Ma 1 participant 1 message Dec 16, 2019 ACPI

lore
Share & tools
lore

Aaron Ma

author
#0 lore raw

PATCH 1/1 ACPI: video: Use native backlight on Lenovo E41-25/45

ACPI backlight control doesn't work on 2 Lenovo E41 laptops. So force to use native backlight control on them.

---
 drivers/acpi/video_detect.c | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
drivers/acpi/video_detect.c +16 -0
index 31014c7d3793..13ce1bb9facf 100644
@@ -302,6 +302,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,
Signature · 1 line
2.24.1