Switching off the screen

Here is all the tutorials, FAQ and support for RetroStone
Post Reply
mmason75123
Posts: 7
Joined: Thu 6 Sep 2018 18:52

Switching off the screen

Post 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
User avatar
Admin
Administrateur du site
Posts: 505
Joined: Sat 10 Dec 2016 13:12

Re: Switching off the screen

Post by Admin »

it can't be done by software, maybe by using a GPIO it would work
mmason75123
Posts: 7
Joined: Thu 6 Sep 2018 18:52

Re: Switching off the screen

Post 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.
Post Reply