[Intel-gfx] [PATCH] xf86-video-intel: Add support for toshiba backlight interface
Akio Idehara
zbe64533 at gmail.com
Wed Mar 14 15:37:39 CET 2012
xfce4-power-manager cannot control backlight brightness via
toshiba backlight sysfs interface.
The reason is that xf86-video-intel doesn't treat it.
This patch adds support for toshiba backlight sysfs interface.
This was tested on a Toshiba Portege R500.
Signed-off-by: Akio Idehara <zbe64533 at gmail.com>
---
src/intel_display.c | 1 +
src/sna/sna_display.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/intel_display.c b/src/intel_display.c
index 11d0e2b..8eb8df8 100644
--- a/src/intel_display.c
+++ b/src/intel_display.c
@@ -131,6 +131,7 @@ static const char *backlight_interfaces[] = {
"fujitsu-laptop",
"sony",
"samsung",
+ "toshiba",
"acpi_video1", /* finally fallback to the generic acpi drivers */
"acpi_video0",
"intel_backlight",
diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c
index 9401ca4..10c67f7 100644
--- a/src/sna/sna_display.c
+++ b/src/sna/sna_display.c
@@ -109,6 +109,7 @@ static const char *backlight_interfaces[] = {
"fujitsu-laptop",
"sony",
"samsung",
+ "toshiba",
"acpi_video1", /* finally fallback to the generic acpi drivers */
"acpi_video0",
NULL,
--
1.7.7.6
More information about the Intel-gfx
mailing list