[PATCH] intel_display.c: make acpi_video last in backlight_interfaces

Alon Levy alevy at redhat.com
Sun Aug 26 04:43:05 PDT 2012


ACPI is meant as a fallback, so it should be last.

This allows my Lenovo T510 to reach the minimal backlight (switched
off), by using intel_backlight instead of acpi.

Signed-off-by: Alon Levy <alevy at redhat.com>
---
 src/intel_display.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/intel_display.c b/src/intel_display.c
index 6580c8c..7f34172 100644
--- a/src/intel_display.c
+++ b/src/intel_display.c
@@ -136,9 +136,9 @@ static const char *backlight_interfaces[] = {
 	"fujitsu-laptop",
 	"sony",
 	"samsung",
+	"intel_backlight",
 	"acpi_video1", /* finally fallback to the generic acpi drivers */
 	"acpi_video0",
-	"intel_backlight",
 	NULL,
 };
 /*
-- 
1.7.12



More information about the xorg-devel mailing list