LCD backlight IOCTL

Started by Rhee, C. Joon on Mar 13, 2008 · 2 messages from 2 authors · Last reply Mar 13, 2008

open the first message on its own page

Message details and related content
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.

 
Message details and related content
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/
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help