Skip to content

Instantly share code, notes, and snippets.

@e-minguez
Last active April 16, 2020 07:23
Show Gist options
  • Select an option

  • Save e-minguez/9948f2668852ea4894fb48817a8884f3 to your computer and use it in GitHub Desktop.

Select an option

Save e-minguez/9948f2668852ea4894fb48817a8884f3 to your computer and use it in GitHub Desktop.
pine64 lcd stuff

Image

Armbian_5.83_Pine64_Ubuntu_xenial_default_3.10.107_desktop

Tweaks

Turning up to full brightness and turning off work well, by following:

# echo 362 > /sys/class/gpio/export
# echo out > /sys/class/gpio362/direction (turns up to full)
# echo in > /sys/class/gpio362/direction (turns off backlight)

I can also turn on and off by echoing:

# echo 0 > /sys/class/gpio362/value (turns on)
# echo 1 > /sys/class/gpio362/value (turns off)

And

# xset -display :0.0 dpms force off
# xset -display :0.0 dpms force on

https://forum.pine64.org/showthread.php?tid=4438

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment