* [PATCH] Favor native backlight interface for ThinkPad Helix
@ 2014-04-04 14:44 Stephen Chandler Paul
2014-04-08 2:49 ` Aaron Lu
0 siblings, 1 reply; 3+ messages in thread
From: Stephen Chandler Paul @ 2014-04-04 14:44 UTC (permalink / raw)
To: Zhang Rui, Rafael J. Wysocki, Len Brown, linux-acpi, linux-kernel
Cc: Shawn Rutledge
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.
Signed-off-by: Stephen Chandler Paul <thatslyude@gmail.com>
---
drivers/acpi/video.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c
index 48c7e8a..8b6990e 100644
--- a/drivers/acpi/video.c
+++ b/drivers/acpi/video.c
@@ -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 = {
--
1.8.3.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] Favor native backlight interface for ThinkPad Helix
2014-04-04 14:44 [PATCH] Favor native backlight interface for ThinkPad Helix Stephen Chandler Paul
@ 2014-04-08 2:49 ` Aaron Lu
2014-04-08 12:29 ` Rafael J. Wysocki
0 siblings, 1 reply; 3+ messages in thread
From: Aaron Lu @ 2014-04-08 2:49 UTC (permalink / raw)
To: Stephen Chandler Paul, Zhang Rui, Rafael J. Wysocki, Len Brown,
linux-acpi, linux-kernel
Cc: Shawn Rutledge
On 04/04/2014 10:44 PM, Stephen Chandler Paul wrote:
> 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
>
> Signed-off-by: Stephen Chandler Paul <thatslyude@gmail.com>
> ---
> drivers/acpi/video.c | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c
> index 48c7e8a..8b6990e 100644
> --- a/drivers/acpi/video.c
> +++ b/drivers/acpi/video.c
> @@ -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 = {
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Favor native backlight interface for ThinkPad Helix
2014-04-08 2:49 ` Aaron Lu
@ 2014-04-08 12:29 ` Rafael J. Wysocki
0 siblings, 0 replies; 3+ messages in thread
From: Rafael J. Wysocki @ 2014-04-08 12:29 UTC (permalink / raw)
To: Aaron Lu
Cc: Stephen Chandler Paul, Zhang Rui, Len Brown, linux-acpi,
linux-kernel, Shawn Rutledge
On Tuesday, April 08, 2014 10:49:17 AM Aaron Lu wrote:
> On 04/04/2014 10:44 PM, Stephen Chandler Paul wrote:
> > 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
I've queued this patch up for the next ACPI pull request. We'll revert it
if it turns out to be incorrect.
> > Signed-off-by: Stephen Chandler Paul <thatslyude@gmail.com>
> > ---
> > drivers/acpi/video.c | 8 ++++++++
> > 1 file changed, 8 insertions(+)
> >
> > diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c
> > index 48c7e8a..8b6990e 100644
> > --- a/drivers/acpi/video.c
> > +++ b/drivers/acpi/video.c
> > @@ -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 = {
> >
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-04-08 12:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-04 14:44 [PATCH] Favor native backlight interface for ThinkPad Helix Stephen Chandler Paul
2014-04-08 2:49 ` Aaron Lu
2014-04-08 12:29 ` Rafael J. Wysocki
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).