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
Switching off the screen
Re: Switching off the screen
it can't be done by software, maybe by using a GPIO it would work
-
- Posts: 7
- Joined: Thu 6 Sep 2018 18:52
Re: Switching off the screen
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.
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.