Page 1 of 1

Switching off the screen

Posted: Thu 6 Sep 2018 19:27
by mmason75123
While accessing over SSH I'd like to be able to shut the screen off to save power.

Can anyone share a command to turn off power to the LCD? Perhaps I'll use the GPIO button for this purpose.

Thanks

Re: Switching off the screen

Posted: Fri 7 Sep 2018 12:15
by Admin
it can't be done by software, maybe by using a GPIO it would work

Re: Switching off the screen

Posted: Fri 7 Sep 2018 12:52
by mmason75123
This is what I'd hoped... do you have a GPIO map?

The way I imagine this to work is via sysfs e.g:
echo 10 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio10/direction
echo 1 > /sys/class/gpio/gpio10/value

Found the datasheet (http://dl.linux-sunxi.org/H3/Allwinner_ ... t_V1.0.pdf - Chapter 3) but not sure how the board is laid out.