Jens Thiele <[email protected]> writes:

> as far as i understand maybe i could use a hack to switch the lcd off
> (fake dpms) via the sysfs gpio interface for now?

[...]

> I think the pins for A20 OLinuXino MICRO + A13-LCD10TS would be:
> CONFIG_VIDEO_LCD_POWER="PH8"
> CONFIG_VIDEO_LCD_BL_EN="PH7"
> CONFIG_VIDEO_LCD_BL_PWM="PB2"
>
> will read [1] and try with mainline kernel. Does that make sense? Any
> side-effects?

it somehow works

PH8 => 232
echo 232 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio232/direction
echo 0 > /sys/class/gpio/gpio232/value

=> display is off

switch on again:
echo 1 > /sys/class/gpio/gpio232/value
(white flicker as mentioned in the u-boot code)

PH7 => 231
echo 231 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio231/direction
echo 1 > /sys/class/gpio/gpio231/value
nothing happens
echo 0 > /sys/class/gpio/gpio231/value
nothing happens

PB2 => 34
echo 34 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio34/direction
echo 1 > /sys/class/gpio/gpio34/value

=> backlight? is off (can't see a difference to display off)

echo 0 > /sys/class/gpio/gpio34/value
=> display is on (no flicker)

lol:
cd /sys/class/gpio/gpio34
while true; do echo 0 > value; sleep 0.0001; echo 1 > value; sleep 0.0001; done
(depending on your work-load is a unsteady dim or looks like a broken
display)

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to