LCD Support on Linux
#1
Information 
This thread/post is intended to pull together scattered discussions from the forum on LCD Support on Linux, and put the current information of the state of affairs of LCD support on the pine64 with regards to the Linux operating systems in one place. It is a living post, so may be subject to change by myself or other moderators as needed to correct any inaccuracies over time. Any support requests will be moved to a different thread as that is NOT the focus of this thread. If you have any suggestions as to more information or related forum threads, please leave a reply!

Out of the box, the pine64 has always supported both the HDMI and LCD outputs via the Android images - but not at the same time. More recently in that area, the need for two different images has been removed, and a simply change to the uEnv.txt file was needed.

This was not the case with linux... until recently, there was no LCD support at all. It was certainly possible, as it had been done before with other boards using the Allwinner Display Engine, but was not enabled on the pine64 until recently. There are currently no "official" images that support the LCD and/or touchscreen out of the box. However, it was pointed out in Nov 2016 that support was present in the official Armbian repo, so there is in fact a ready to use image that is available for download or for you to build yourself. Check out the latest Armbian Beta image (I won't direct link as it is rebuilt daily, but you want the Pine64_Ubuntu_xenial build), and also look at the pine64 specific documentation on their site in order to try it out for yourself! 

To enable the LCD panel under Armbian navigate to /boot, open the armbianEnv.txt file with a text editor and  
change the pine64_lcd=off value to on. You will also need to add gt9xxf_ts to /ect/modules if you wish to enable the touch screen support. 
For more information please see (the last three points of) the pine64 specific Armbian documentation

[Image: FUx71W7.jpg]


Instructions for installing the touch screen driver in Debian (and possibly other images) 

Other threads/subforums:
Notes:
  • Posts talking about adding LCD support to linux images (made a list - will create redirects once this thread is open ~ Luke)
  • An OpenSuse LCD image is now available (just video/ no touch)

One way to increase/decrease brightness using GPIO:

Code:
echo 362 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio362/direction

while true; do
case "`xscreensaver-command -time | egrep -o ' blanked|non-blanked|locked'`" in
  " blanked")     echo 1 > /sys/class/gpio/gpio362/value ;;
  "non-blanked")  echo 0 > /sys/class/gpio/gpio362/value ;;
esac
sleep 5
done



Changelog:
  •  2017-03-19 - Added link to "[EXPERIMENTAL] Linux on the LCD screen" thread
  Reply


Messages In This Thread
LCD Support on Linux - by pfeerick - 12-07-2016, 01:13 AM
RE: LCD Support on Linux - by Workaholic - 10-09-2017, 10:45 AM
RE: LCD Support on Linux - by Luke - 10-09-2017, 12:24 PM
RE: LCD Support on Linux - by chilicon - 02-18-2020, 11:50 AM
RE: LCD Support on Linux - by LrdShaper - 06-16-2020, 09:06 AM
RE: LCD Support on Linux - by Learnincurve - 06-05-2020, 03:10 AM
RE: LCD Support on Linux - by HBeserra - 08-24-2020, 12:55 AM
RE: LCD Support on Linux - by JAYJAYN - 12-28-2020, 05:18 AM
RE: LCD Support on Linux - by HBeserra - 02-08-2021, 03:30 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [EXPERIMENTAL] Linux on the LCD screen Terra854 24 35,234 07-21-2017, 07:41 AM
Last Post: apple4ever
  Linux Support UnixOutlaw 69 90,681 03-18-2017, 07:25 PM
Last Post: apple4ever
  Touch screen support shariq_2001 14 19,919 12-07-2016, 07:47 AM
Last Post: Luke
Photo Playbox LCD on Linux MackPI 10 16,067 10-19-2016, 07:49 AM
Last Post: Zoidiano0
  Received a bad LCD, can't get support. bryanlyon 3 4,929 09-27-2016, 03:55 AM
Last Post: Luke
  Touchscreen support? NoahJ 12 15,650 07-09-2016, 12:01 PM
Last Post: yodermk
  LVDS support Flood_of_SYNs 2 6,480 12-22-2015, 05:08 PM
Last Post: balornt

Forum Jump:


Users browsing this thread: 1 Guest(s)