Re: How to completely switch off LCD backlight

2011-02-06 Thread Elvis Dowson
On Feb 7, 2011, at 12:42 AM, Elvis Dowson wrote: > > Where can I get the souces or patches for the generic PWM device for > omap3503? Right now in my android-2.6.32 kernel config, I do not have a > HAVE_PWM option, to enable leds-pwm. My bad, that link you sent me had the required patches. El

Re: How to completely switch off LCD backlight

2011-02-06 Thread Elvis Dowson
Hi Grant, On Feb 6, 2011, at 10:58 PM, Grant Erickson wrote: > The generic PWM device is then handling the level then the enable GPIO is > asserted (which, again, you are controlling in your notify callback). Where can I get the souces or patches for the generic PWM device for omap3503? Right n

Re: How to completely switch off LCD backlight

2011-02-06 Thread Grant Erickson
On 2/6/11 9:53 AM, Elvis Dowson wrote: > 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_p

Re: How to completely switch off LCD backlight

2011-02-06 Thread Gregoire Gentil
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

Re: How to completely switch off LCD backlight

2011-02-06 Thread Elvis Dowson
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

Re: How to completely switch off LCD backlight

2011-02-06 Thread Grant Erickson
On 2/6/11 9:09 AM, Elvis Dowson wrote: >I've got LCD backlight brightness control working with a custom > beagleboard design, with the LCD backlight pwm control signal connected to > OMAP3503's gpt9_pwm_evt timer. > > GPIO 96 is connected to the LCD LED enable pin for controlling the on/of

How to completely switch off LCD backlight

2011-02-06 Thread Elvis Dowson
Hi, I've got LCD backlight brightness control working with a custom beagleboard design, with the LCD backlight pwm control signal connected to OMAP3503's gpt9_pwm_evt timer. GPIO 96 is connected to the LCD LED enable pin for controlling the on/off for the LCD backlight. I also see a bl