Skip to content

Commit 789eeea

Browse files
Aaron Lurafaeljw
authored andcommitted
ACPI / video: disable native backlight for ThinkPad X201s
The ThinkPad X201s has a working ACPI video backlight interface and is shipped before Win8; then there is BIOS update that starts to query _OSI("Windows 2012") and that would make our video module stop creating backlight interface and caused problem for the user. Add it to the DMI table to disable native backlight to fix this problem. Link: https://bugzilla.kernel.org/show_bug.cgi?id=81691 Link: https://bugzilla.kernel.org/show_bug.cgi?id=51231 Cc: 3.16+ <stable@vger.kernel.org> # 3.16+ Reported-and-tested-by: Yves-Alexis Perez <corsac@debian.org> Signed-off-by: Aaron Lu <aaron.lu@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent 0f33be0 commit 789eeea

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎drivers/acpi/video.c‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -750,6 +750,14 @@ static struct dmi_system_id video_dmi_table[] __initdata = {
750750
DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad T520"),
751751
},
752752
},
753+
{
754+
.callback = video_disable_native_backlight,
755+
.ident = "ThinkPad X201s",
756+
.matches = {
757+
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
758+
DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad X201s"),
759+
},
760+
},
753761

754762
/* The native backlight controls do not work on some older machines */
755763
{

0 commit comments

Comments
 (0)