On Wednesday 25 October 2006 15:07, Pavel Machek wrote: > Hi! > > > > > a generic ACPI driver that exports the _BCL and _BCM method > > > > implementations via that same interface, so that systems providing > > > > that will "just work". drivers/acpi/video.c currently exports this > > > > via /proc/acpi/video/$DEVICE/brightness, which isn't the same as > > > > /sys/class/backlight. :-( > > > > > > Yes, I'm working on acpi video driver transition , and have posted a > > > patch to user backlight for acpi video driver. > > > http://marc.theaimsgroup.com/?l=linux-acpi&m=115574087203605&w=2 > > > > Just updated the backlight and output sysfs support for ACPI Video driver > > on bugzilla. If you are interested this, please take a look at > > http://bugzilla.kernel.org/show_bug.cgi?id=5749#c18 > > > > [patch 1/3] vidoe sysfs support: Add dev argument for baclight sys dev > > Two typos in one line :-). > > > [patch 2/3] Add display output class support > > I guess this needs Documentation/ so we can tell if user<->kernel > interface is sane.. > > > [patch 3/3] backlight and output sysfs support for acpi video driver > > Some whitespace is not okay there... > Pavel updated version. [patch 1/4] video sysfs support: Add dev argument for backlight sys dev drivers/video/backlight/backlight.c | 3 ++- include/linux/backlight.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) [patch 2/4] Add display output class support drivers/video/output.c | 110 +++++++++++++++++++++++++++++++++++++++++++++++++ include/linux/output.h | 23 ++++++++++ 2 files changed, 133 insertions(+) [patch 3/4] backlight and output sysfs support for acpi video driver acpi/Kconfig | 2 acpi/video.c | 257 +++++++++++++++++++++++++++++++++++++++++++++++++++++---- video/Kconfig | 8 + video/Makefile | 1 4 files changed, 252 insertions(+), 16 deletions(-) [patch 4/4] Add output class document video-output.txt | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) Thanks, Luming