[oe] [RFC] ipaq-sleep backlight control
Andrew Paulsen
andrew.paulsen at gmail.com
Mon Mar 24 21:23:00 UTC 2008
On Thu, Mar 20, 2008 at 7:40 AM, Andrew Paulsen
<andrew.paulsen at gmail.com> wrote:
> I did a code cleanup on ipaq-sleep and added the option to use your
> own backlight control script instead of gpe-conf to adjust brightness.
>
> http://bugs.openembedded.org/show_bug.cgi?id=4101
>
> I have since heard that all 2.6 devices use the standard
> /sys/class/backlight/*/ method to control brightness and that we don't
> need/want to support others.
>
> So I have three options and I'd like some opinions:
> 1) Leave ipaq-sleep the way it is and ship a standard backlight
> control script that can be overridden/changed per machine. This still
> allows the legacy gpe-conf method (the default right now)
> 2) Have ipaq-sleep write directly to /sys/class/backlight/*/ to tweak
> the brightness and skip this whole mess
> 3) Have the option to select between 1&2 via conf file entry
I made a generic backlight control script that emulates the old
gpe-conf methods and enabled it by default. It can easily be
overridden to the old behavior by changing ipaq-sleep.conf to point at
/usr/bin/bl instead of /usr/bin/bl-ctrl. The code and recipe are in
the bugtracker.
>
> Thanks!
> Andrew
>
More information about the Openembedded-devel
mailing list