projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbf6d03
)
ACPI: video: Use native backlight on Lenovo E41-25/45
author
Aaron Ma
<aaron.ma@canonical.com>
Mon, 16 Dec 2019 09:55:12 +0000
(17:55 +0800)
committer
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Mon, 16 Dec 2019 10:26:55 +0000
(11:26 +0100)
ACPI backlight control doesn't work on 2 Lenovo E41 laptops.
So force to use native backlight control on them.
Signed-off-by: Aaron Ma <aaron.ma@canonical.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/video_detect.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/acpi/video_detect.c
b/drivers/acpi/video_detect.c
index 31014c7d3793906be9ee4eeba48c48f199a7f57d..13ce1bb9facf8b3217f22712300e83eebf61b88f 100644
(file)
--- a/
drivers/acpi/video_detect.c
+++ b/
drivers/acpi/video_detect.c
@@
-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,