From: Andres Salomon <dilinger@queued.net>
To: linux-fbdev-devel@lists.sourceforge.net
Cc: jrhee@qualcomm.com
Subject: Re: LCD backlight IOCTL
Date: Thu, 13 Mar 2008 14:05:44 -0400 [thread overview]
Message-ID: <20080313140544.187ae2cc@ephemeral> (raw)
In-Reply-To: <27AAC353AE72C840926448157F375E7201DD65E1@NAEX17.na.qualcomm.com>
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/
prev parent reply other threads:[~2008-03-13 18:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-13 16:38 LCD backlight IOCTL Rhee, C. Joon
2008-03-13 18:05 ` Andres Salomon [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080313140544.187ae2cc@ephemeral \
--to=dilinger@queued.net \
--cc=jrhee@qualcomm.com \
--cc=linux-fbdev-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).