Skip to contentSkip to conversation

Adds backlight sysfs support for acpi video driver.

PATCH In review Yu Luming 2 participants 2 messages Nov 10, 2006 – Nov 13, 2006 ACPI

lore
Share & tools
lore

Yu Luming

author
#0 lore raw

PATCH 1/1 Adds backlight sysfs support for acpi video driver.

Adds backlight sysfs support for acpi video driver.

--

 Kconfig |    2 -
 video.c |   71 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 2 files changed, 70 insertions(+), 3 deletions(-)
drivers/acpi/Kconfig +1 -1
index 3f7e9f3..196cb0a 100644
@@ -106,7 +106,7 @@ config ACPI_BUTTON
 
 config ACPI_VIDEO
 	tristate "Video"
-	depends on X86
+	depends on X86 && BACKLIGHT_CLASS_DEVICE
 	help
 	  This driver implement the ACPI Extensions For Display Adapters
 	  for integrated graphics devices on motherboard, as specified in
drivers/acpi/video.c +69 -2

140 lines not on this page · raw message

#1 lore raw
Quoted 4 lines

Adds backlight sysfs support for acpi video driver.

Ug. Watch out. Right now the backlight code requires framebuffer to be enabled. I seen a patch some time ago by Tony the allowed backlight support which I need to integrate.

P.S
It would be really nice if the acpi backlight could be exposed to
the VESA framebuffer or any other driver whos backlight is not implemented.