LCD Installation Walkthrough
#31
(02-15-2017, 12:52 PM)akron Wrote: Thanks for the link and dpkg builds! Unfortunately, the armbian Debian Linux distro must be behind the ubuntu, and the xf86-input library that you linked to the tslib input is a version ahead of the one that I am using. I think I'll be able to use the libts packages though. Did you need to patch xf86-input-tslib on launchpad to get it to work?

(02-10-2017, 03:31 PM)@lex Wrote:
(02-10-2017, 01:31 PM)akron Wrote: This is the information I wish was in one place when I was getting my LCD/touch to work using a Linux distro as opposed to Android.

Problems connecting LCD and touch to your Pine64? Make sure to use the following instructions:

http://files.pine64.org/doc/guide/PINE64..._Guide.pdf

Problems getting LCD/touch to work with Linux? Check out the following:

https://docs.armbian.com/board_details/pine64/

both Debian and Ubuntu Armbian builds worked for me if you follow the instructions for editing the armbianEnv.txt.

Load the gt9xxf_ts kernel module, and the touch interface should work although you still need to configure X.

I can currently cat the raw device from /dev/input/eventX and verify that the touch device works but haven't figured out how to get X11 to load the evdev module for it. My XOrg.log says that it can't find a driver for it. Tried adding a "99-touch.conf" file to xorg.conf.d directory, but no luck. Anyone have a pointer to how to resolve this problem? The XOrg.Log file looks the same with or without this additional .conf file. Not necessarily a Pine64 question but one that will help other Pine64 Touch users.

I am not sure if i understand your question, when you say: "Load the gt9xxf_ts kernel module, and the touch interface should work although you still need to configure X. ", you mean you can get the Touch events but it does not work in X11?

Yes. The kernel module loads. The xf86 evdev driver does not seem to recognize the touchpad, no touch pointer seen with xinput --list.

Okay, got it working using evdev xorg drivers. You must patch xserver-xorg-input-evdev with the patch at:

https://cgit.freedesktop.org/xorg/driver...07668d040c

After you build the dpkg with the above patch, the following should be added as /etc/X11/xorg.conf.d/99-touchscreen.conf

Section "InputClass"
  Identifier    "touchscreen catchall"
  Driver        "evdev"
  MatchDevicePath "/dev/input/event*"
  MatchProduct "gt9xxf_ts"
  Option        "Mode" "Absolute"
  Option        "Emulate3Buttons" "true"
  Option        "SendCoreEvents" "true"
EndSection

The 'Option' lines might not be necessary.

I restarted my [x]dm service, and all was good. (xdm could be lightdm, sddm, etc.)

When you run 'xinput', you should see gt9xxf_ts listed as a pointer under 'Virtual core pointer'
  Reply


Messages In This Thread
LCD Installation Walkthrough - by edinor - 06-05-2016, 12:58 PM
RE: LCD Installation Walkthrough - by tllim - 06-06-2016, 01:12 AM
RE: LCD Installation Walkthrough - by nagmier - 06-08-2016, 08:39 AM
RE: LCD Installation Walkthrough - by tllim - 06-08-2016, 10:07 AM
RE: LCD Installation Walkthrough - by tllim - 06-11-2016, 11:30 PM
RE: LCD Installation Walkthrough - by Luke - 06-06-2016, 05:52 AM
RE: LCD Installation Walkthrough - by CaptainZalo - 06-09-2016, 11:53 AM
RE: LCD Installation Walkthrough - by tllim - 06-10-2016, 05:54 PM
RE: LCD Installation Walkthrough - by tllim - 06-26-2016, 07:36 PM
RE: LCD Installation Walkthrough - by g_t_j - 06-26-2016, 05:55 PM
RE: LCD Installation Walkthrough - by nielsnuebel - 06-30-2016, 12:51 AM
RE: LCD Installation Walkthrough - by melissagirl - 06-30-2016, 12:54 PM
RE: LCD Installation Walkthrough - by Topgun505 - 07-01-2016, 07:34 AM
RE: LCD Installation Walkthrough - by nielsnuebel - 07-01-2016, 08:01 AM
RE: LCD Installation Walkthrough - by JulianM - 07-03-2016, 01:48 PM
LCD Installation Walkthrough - by Flyingcom - 07-04-2016, 06:29 PM
RE: LCD Installation Walkthrough - by sharpey - 07-05-2016, 12:11 AM
RE: LCD Installation Walkthrough - by wanthalf - 07-28-2016, 03:23 AM
RE: LCD Installation Walkthrough - by micklen - 12-31-2016, 07:20 AM
RE: LCD Installation Walkthrough - by psychedup - 12-31-2016, 03:39 PM
RE: LCD Installation Walkthrough - by wanthalf - 07-28-2016, 06:26 AM
RE: LCD Installation Walkthrough - by tllim - 07-30-2016, 06:00 PM
RE: LCD Installation Walkthrough - by akron - 02-10-2017, 01:31 PM
RE: LCD Installation Walkthrough - by @lex - 02-10-2017, 03:31 PM
RE: LCD Installation Walkthrough - by @lex - 02-10-2017, 07:49 PM
RE: LCD Installation Walkthrough - by akron - 02-15-2017, 12:52 PM
RE: LCD Installation Walkthrough - by akron - 02-16-2017, 01:58 PM
RE: LCD Installation Walkthrough - by apple4ever - 03-12-2017, 05:58 PM
RE: LCD Installation Walkthrough - by apple4ever - 03-18-2017, 07:25 PM
RE: LCD Installation Walkthrough - by YellowCake - 03-12-2017, 10:37 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Information & installation of the LCD [GERMAN] JulianM 1 3,111 08-05-2016, 11:21 AM
Last Post: tllim

Forum Jump:


Users browsing this thread: 2 Guest(s)