linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] acpi-video: Add use native backlight quirk for the ThinkPad W530
@ 2014-05-12  7:57 Hans de Goede
  2014-05-12  8:16 ` Aaron Lu
  0 siblings, 1 reply; 9+ messages in thread
From: Hans de Goede @ 2014-05-12  7:57 UTC (permalink / raw)
  To: Zhang Rui, Rafael J. Wysocki, Len Brown
  Cc: Aaron Lu, linux-acpi, Hans de Goede, stable

Like all of the other *30 ThinkPad models, the W530 has a broken acpi-video
backlight control. Note in order for this to actually fix things on the
ThinkPad W530 the commit titled:
"nouveau: Don't check acpi_video_backlight_support() before registering backlight"
is also needed.

https://bugzilla.redhat.com/show_bug.cgi?id=1093171

Cc: stable@vger.kernel.org
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 drivers/acpi/video.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c
index 34198b2..6a2099d 100644
--- a/drivers/acpi/video.c
+++ b/drivers/acpi/video.c
@@ -520,6 +520,14 @@ static struct dmi_system_id video_dmi_table[] __initdata = {
 		},
 	},
 	{
+	 .callback = video_set_use_native_backlight,
+	 .ident = "ThinkPad W530",
+	 .matches = {
+		DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+		DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad W530"),
+		},
+	},
+	{
 	.callback = video_set_use_native_backlight,
 	.ident = "ThinkPad X1 Carbon",
 	.matches = {
-- 
1.9.0

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-05-15  9:34 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-12  7:57 [PATCH] acpi-video: Add use native backlight quirk for the ThinkPad W530 Hans de Goede
2014-05-12  8:16 ` Aaron Lu
2014-05-12 11:02   ` Hans de Goede
2014-05-14 11:09     ` Hans de Goede
2014-05-14 12:07       ` Rafael J. Wysocki
2014-05-14 13:03         ` Hans de Goede
2014-05-15  1:45       ` Aaron Lu
2014-05-15  8:56         ` Hans de Goede
2014-05-15  9:34           ` Hans de Goede

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).