Skip to contentSkip to conversation

Favor native backlight interface for ThinkPad Helix

PATCH In review Stephen Chandler Paul 3 participants 3 messages Apr 4, 2014 – Apr 8, 2014 ACPI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Favor native backlight interface for ThinkPad Helix

Like many other Windows 8 laptops the ThinkPad Helix's backlight has a broken ACPI interface and can only be properly adjusted by using the video card's native backlight control. This adds the ThinkPad Helix to the list of laptops affected with this issue so that video.use_native_backlight is enabled by default.

---
 drivers/acpi/video.c | 8 ++++++++
 1 file changed, 8 insertions(+)
drivers/acpi/video.c +8 -0
index 48c7e8a..8b6990e 100644
@@ -488,6 +488,14 @@ static struct dmi_system_id video_dmi_table[] __initdata = {
 		},
 	},
 	{
+	.callback = video_set_use_native_backlight,
+	.ident = "Thinkpad Helix",
+	.matches = {
+		DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+		DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad Helix"),
+		},
+	},
+	{
 	 .callback = video_set_use_native_backlight,
 	 .ident = "Dell Inspiron 7520",
 	 .matches = {
Signature · 1 line
1.8.3.2
#1 lore raw
Quoted 5 lines · Stephen Chandler Paul

Like many other Windows 8 laptops the ThinkPad Helix's backlight has a broken ACPI interface and can only be properly adjusted by using the video card's native backlight control. This adds the ThinkPad Helix to the list of laptops affected with this issue so that video.use_native_backlight is enabled by default.

It would be good to attach your acpidump so that we know for sure and if one day we need to remove this entry, we can verify its table.

Bug 51231 is tracking this problem and mostly are thinkpad laptops, so please attach your acpidump and dmi there, thanks.
https://bugzilla.kernel.org/show_bug.cgi?id=51231

-Aaron

Quoted 26 lines
---
 drivers/acpi/video.c | 8 ++++++++
 1 file changed, 8 insertions(+)
drivers/acpi/video.c +8 -0
index 48c7e8a..8b6990e 100644
@@ -488,6 +488,14 @@ static struct dmi_system_id video_dmi_table[] __initdata = {
 		},
 	},
 	{
+	.callback = video_set_use_native_backlight,
+	.ident = "Thinkpad Helix",
+	.matches = {
+		DMI_MATCH(DMI_SYS_Vhttps://bugzilla.kernel.org/show_bug.cgi?id=51231ENDOR, "LENOVO"),
+		DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad Helix"),
+		},
+	},
+	{
 	 .callback = video_set_use_native_backlight,
 	 .ident = "Dell Inspiron 7520",
 	 .matches = {
#2 lore raw
Quoted 7 lines · Aaron Lu
Quoted 5 lines · Stephen Chandler Paul

Like many other Windows 8 laptops the ThinkPad Helix's backlight has a broken ACPI interface and can only be properly adjusted by using the video card's native backlight control. This adds the ThinkPad Helix to the list of laptops affected with this issue so that video.use_native_backlight is enabled by default.

Quoted 6 lines

It would be good to attach your acpidump so that we know for sure and if one day we need to remove this entry, we can verify its table.

Bug 51231 is tracking this problem and mostly are thinkpad laptops, so please attach your acpidump and dmi there, thanks.
https://bugzilla.kernel.org/show_bug.cgi?id=51231

I've queued this patch up for the next ACPI pull request. We'll revert it if it turns out to be incorrect.

Quoted 30 lines
Quoted 15 lines
---
 drivers/acpi/video.c | 8 ++++++++
 1 file changed, 8 insertions(+)
drivers/acpi/video.c +1 -0
index 48c7e8a..8b6990e 100644
@@ -488,6 +488,14 @@ static struct dmi_system_id video_dmi_table[] __initdata = {
 		},
 	},
 	{
+	.callback = video_set_use_native_backlight,

drivers/acpi/video.c static struct dmi_system_id video_dmi_table[] __initdata = { · line 501

Quoted 10 lines
drivers/acpi/video.c +7 -0
+	.ident = "Thinkpad Helix",
+	.matches = {
+		DMI_MATCH(DMI_SYS_Vhttps://bugzilla.kernel.org/show_bug.cgi?id=51231ENDOR, "LENOVO"),
+		DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad Helix"),
+		},
+	},
+	{
 	 .callback = video_set_use_native_backlight,
 	 .ident = "Dell Inspiron 7520",
 	 .matches = {

--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 2 lines
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.