* Patch Thinkpad X201T backlight
@ 2016-05-22 17:23 Ralf Gerbig
2016-06-03 6:16 ` Aaron Lu
2016-06-23 0:31 ` Rafael J. Wysocki
0 siblings, 2 replies; 3+ messages in thread
From: Ralf Gerbig @ 2016-05-22 17:23 UTC (permalink / raw)
To: Rafael J. Wysocki; +Cc: linux-acpi
Hi,
the X201 Tablet needs the same treatmant as the X201s,
otherwise you can't change levels.
The patch is against 4.5.5 stable, but should apply to all recent
kernels.
Please be gentle, I am neither a programmer nor a developer.
If you have questions, feel free to ask, but don't expect an answer in
the next 10 to 20 days (going to hospital).
Regards,
Ralf Gerbig
---
commit a10b5a05eae1a990682ce238b8e0ac6ad791a8a9
Author: Ralf Gerbig <rge@quengel.org>
Date: Sun May 22 18:56:22 2016 +0200
The Thinkpad X201 Tablet also needs video_detect_force_video
Signed-off-by: Ralf Gerbig <rge@quengel.org>
diff --git a/drivers/acpi/video_detect.c b/drivers/acpi/video_detect.c
index 1316ddd..d8d7bd3 100644
--- a/drivers/acpi/video_detect.c
+++ b/drivers/acpi/video_detect.c
@@ -167,6 +167,14 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad X201s"),
},
},
+ {
+ .callback = video_detect_force_video,
+ .ident = "ThinkPad X201T",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+ DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad X201T"),
+ },
+ },
/* The native backlight controls do not work on some older machines */
{
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: Patch Thinkpad X201T backlight
2016-05-22 17:23 Patch Thinkpad X201T backlight Ralf Gerbig
@ 2016-06-03 6:16 ` Aaron Lu
2016-06-23 0:31 ` Rafael J. Wysocki
1 sibling, 0 replies; 3+ messages in thread
From: Aaron Lu @ 2016-06-03 6:16 UTC (permalink / raw)
To: Ralf Gerbig; +Cc: Rafael J. Wysocki, linux-acpi
On Sun, May 22, 2016 at 07:23:59PM +0200, Ralf Gerbig wrote:
> Hi,
>
> the X201 Tablet needs the same treatmant as the X201s,
> otherwise you can't change levels.
I guess /sys/class/backlight/intel_backlight interface doesn't work?
>
> The patch is against 4.5.5 stable, but should apply to all recent
> kernels.
>
> Please be gentle, I am neither a programmer nor a developer.
>
> If you have questions, feel free to ask, but don't expect an answer in
> the next 10 to 20 days (going to hospital).
Hope you are well.
Can you please, when you have time, attach your acpidump?
Perhaps file a new bug @https://bugzilla.kernel.org under
ACPI/Power-Video category and put the acpidump there, thanks.
Regards,
Aaron
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Patch Thinkpad X201T backlight
2016-05-22 17:23 Patch Thinkpad X201T backlight Ralf Gerbig
2016-06-03 6:16 ` Aaron Lu
@ 2016-06-23 0:31 ` Rafael J. Wysocki
1 sibling, 0 replies; 3+ messages in thread
From: Rafael J. Wysocki @ 2016-06-23 0:31 UTC (permalink / raw)
To: Ralf Gerbig; +Cc: linux-acpi
On Sunday, May 22, 2016 07:23:59 PM Ralf Gerbig wrote:
> Hi,
>
> the X201 Tablet needs the same treatmant as the X201s,
> otherwise you can't change levels.
>
> The patch is against 4.5.5 stable, but should apply to all recent
> kernels.
>
> Please be gentle, I am neither a programmer nor a developer.
>
> If you have questions, feel free to ask, but don't expect an answer in
> the next 10 to 20 days (going to hospital).
>
> Regards,
>
> Ralf Gerbig
>
> ---
> commit a10b5a05eae1a990682ce238b8e0ac6ad791a8a9
> Author: Ralf Gerbig <rge@quengel.org>
> Date: Sun May 22 18:56:22 2016 +0200
>
> The Thinkpad X201 Tablet also needs video_detect_force_video
>
> Signed-off-by: Ralf Gerbig <rge@quengel.org>
>
> diff --git a/drivers/acpi/video_detect.c b/drivers/acpi/video_detect.c
> index 1316ddd..d8d7bd3 100644
> --- a/drivers/acpi/video_detect.c
> +++ b/drivers/acpi/video_detect.c
> @@ -167,6 +167,14 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
> DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad X201s"),
> },
> },
> + {
> + .callback = video_detect_force_video,
> + .ident = "ThinkPad X201T",
> + .matches = {
> + DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
> + DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad X201T"),
> + },
> + },
>
> /* The native backlight controls do not work on some older machines */
> {
Patch applied, thanks!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-06-23 0:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-22 17:23 Patch Thinkpad X201T backlight Ralf Gerbig
2016-06-03 6:16 ` Aaron Lu
2016-06-23 0:31 ` 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