Hi Grant,
Thanks for the reply.
On Feb 6, 2011, at 9:30 PM, Grant Erickson wrote:
>
> The following script should be instructive:
>
> device="/sys/devices/platform/pwm-backlight.0/backlight/pwm-backlight.0"
For me, this is located in /sys/class/backlight/beagleboard
and bl_power is located in /sys/class/backlight/beagleboard
> power="${device}/bl_power"
> brightness="${device}/brightness"
> max="${device}/max_brightness"
>
>
> disable_backlight () {
> echo 1 > ${power}
> }
>
> enable_backlight () {
> echo 0 > ${power}
> }
I did try
echo 1 > bl_power
but there was no effect. GPIO 96 from the OMAP3503 is physically connected to
LCD LED backlight enable, which I think is what would be used to turn the
backlight on/off.
Where can I specify the mapping of GPIO 96 to the bl_power file, so that the
LCD backlight can be switched off?
Elvis
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html