On Thu, 13 Mar 2008 09:38:51 -0700
"Rhee, C. Joon" [off-list ref] wrote:
Hi, I'm searching for how we can specify the LCD backlight level through
/dev/fb.
And for this, should we introduce a new IOCTL?
FBIOGET/SET_BACKLIGHT
I looked through CONFIG_FB_BACKLIGHT and bl_dev registration but I found
this is more of internal usage when there is fb event and I don't really
see how user app can specify the level.
backlight_device_register() takes a struct backlight_ops that has
callbacks for getting and setting the backlight. This ends up
being exported via sysfs, and is a nice way to adjust the backlight.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/