* LCD backlight IOCTL
@ 2008-03-13 16:38 Rhee, C. Joon
2008-03-13 18:05 ` Andres Salomon
0 siblings, 1 reply; 2+ messages in thread
From: Rhee, C. Joon @ 2008-03-13 16:38 UTC (permalink / raw)
To: linux-fbdev-devel
[-- Attachment #1.1: Type: text/plain, Size: 367 bytes --]
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.
[-- Attachment #1.2: Type: text/html, Size: 2614 bytes --]
[-- Attachment #2: Type: text/plain, Size: 228 bytes --]
-------------------------------------------------------------------------
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/
[-- Attachment #3: Type: text/plain, Size: 182 bytes --]
_______________________________________________
Linux-fbdev-devel mailing list
Linux-fbdev-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-fbdev-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: LCD backlight IOCTL
2008-03-13 16:38 LCD backlight IOCTL Rhee, C. Joon
@ 2008-03-13 18:05 ` Andres Salomon
0 siblings, 0 replies; 2+ messages in thread
From: Andres Salomon @ 2008-03-13 18:05 UTC (permalink / raw)
To: linux-fbdev-devel; +Cc: jrhee
On Thu, 13 Mar 2008 09:38:51 -0700
"Rhee, C. Joon" <jrhee@qualcomm.com> 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/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-03-13 18:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-13 16:38 LCD backlight IOCTL Rhee, C. Joon
2008-03-13 18:05 ` Andres Salomon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).