Re: How to completely switch off LCD backlight

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If you are not using it, put .reset_gpio = 96 in your board file for the
DSS2 structure. Then echo 1/0 > .../fb0/blank will do the trick to turn
on/off your screen,

GrÃgoire

On Sun, 2011-02-06 at 21:53 +0400, Elvis Dowson wrote:
> 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 majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux