Jump to content

Armbian Jessie + LCD + TouchScreen issue


zielec

Recommended Posts

Hi

I have Pine64+ with LCD + TouchScreen - all from Pine team.

I checked some OS, but only Armbian DE is responsiveness enough for me.

Now, Armbian Jessie is on SD card, stable ISO with all updates and upgrades installed - 3.10.107-pine64.

Change from HDMI to LCD done by changing pine64_lcd to 'on' in /boot/armbianEnv.txt 

I add gt9xxf_ts in /etc/modues and restart Pine64. But cursor doesn't move on any touch.

 

I confirm that the gt9xxf_ts module loaded by runing 'lsmod' as root, but this module is used by 0 (nobody).

I've checked which event is assigned and I got:

cat /proc/bus/input/devices | grep -B 2 -A 8 gt9xxf_ts

I: Bus=0018 Vendor=dead Product=beef Version=28bb
N: Name="gt9xxf_ts"
P: Phys=input/goodix-ts
S: Sysfs=/devices/virtual/input/input4
U: Uniq=
H: Handlers=event4 autohotplug cpufreq_interactive
B: PROP=2
B: EV=b
B: KEY=400 0 0 0 0 0
B: ABS=265000000000000

I even check if module works correctly. I installed 'evtest' and run it:

apt-get install evtest
evtest /dev/input/event4

I received confirmation that module works:

First part after start testing, second after touching the screen.

Input driver version is 1.0.1
Input device ID: bus 0x18 vendor 0xdead product 0xbeef version 0x28bb
Input device name: "gt9xxf_ts"
Supported events:
  Event type 0 (EV_SYN)
  Event type 1 (EV_KEY)
    Event code 330 (BTN_TOUCH)
  Event type 3 (EV_ABS)
    Event code 48 (ABS_MT_TOUCH_MAJOR)
      Value      0
      Min        0
      Max      255
    Event code 50 (ABS_MT_WIDTH_MAJOR)
      Value      0
      Min        0
      Max      255
    Event code 53 (ABS_MT_POSITION_X)
      Value      0
      Min        0
      Max     1024
    Event code 54 (ABS_MT_POSITION_Y)
      Value      0
      Min        0
      Max      600
    Event code 57 (ABS_MT_TRACKING_ID)
      Value      0
      Min        0
      Max      255
Properties:
  Property type 1 (INPUT_PROP_DIRECT)
Testing ... (interrupt to exit)


[...]
Event: time 1533817457.820178, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 1
Event: time 1533817457.820178, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 292
Event: time 1533817457.820178, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 247
Event: time 1533817457.820178, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 37
Event: time 1533817457.820178, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 37
Event: time 1533817457.820178, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 0
Event: time 1533817457.820178, ++++++++++++++ EV_REL ++++++++++++
Event: time 1533817457.820178, -------------- EV_SYN ------------
Event: time 1533817457.830562, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 292
Event: time 1533817457.830562, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 247
Event: time 1533817457.830562, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 37
Event: time 1533817457.830562, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 37
Event: time 1533817457.830562, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 0
Event: time 1533817457.830562, ++++++++++++++ EV_REL ++++++++++++
Event: time 1533817457.830562, -------------- EV_SYN ------------
Event: time 1533817457.841032, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 292
Event: time 1533817457.841032, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 247
Event: time 1533817457.841032, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 37
Event: time 1533817457.841032, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 37
Event: time 1533817457.841032, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 0
Event: time 1533817457.841032, ++++++++++++++ EV_REL ++++++++++++
Event: time 1533817457.841032, -------------- EV_SYN ------------
Event: time 1533817457.851437, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 292
Event: time 1533817457.851437, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 247
Event: time 1533817457.851437, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 37
Event: time 1533817457.851437, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 37
Event: time 1533817457.851437, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 0
Event: time 1533817457.851437, ++++++++++++++ EV_REL ++++++++++++
Event: time 1533817457.851437, -------------- EV_SYN ------------
Event: time 1533817457.861906, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 292
Event: time 1533817457.861906, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 247
Event: time 1533817457.861906, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 37
Event: time 1533817457.861906, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 37
Event: time 1533817457.861906, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 0
Event: time 1533817457.861906, ++++++++++++++ EV_REL ++++++++++++
Event: time 1533817457.861906, -------------- EV_SYN ------------
Event: time 1533817457.871984, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 292
Event: time 1533817457.871984, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 247
Event: time 1533817457.871984, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 37
Event: time 1533817457.871984, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 37
Event: time 1533817457.871984, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 0
Event: time 1533817457.871984, ++++++++++++++ EV_REL ++++++++++++
Event: time 1533817457.871984, -------------- EV_SYN ------------
Event: time 1533817457.882381, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 0
Event: time 1533817457.882381, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 0
Event: time 1533817457.882381, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 0
Event: time 1533817457.882381, ++++++++++++++ EV_REL ++++++++++++
Event: time 1533817457.882381, -------------- EV_SYN ------------

 

 

What I miss to move cursor with touch?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines