OrangePi Plus 2 and Waveshare touchscreen 5"


Recommended Posts

Donate and support the project!

I attached a 7" touchscreen (Ft5x based)  - I tried Your advice, but unfortunately didn't help me.

 

It works fine, evtest is ok:

 

Input driver version is 1.0.1
Input device ID: bus 0x0 vendor 0x0 product 0x0 version 0x0
Input device name: "ft5x_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      200
    Event code 53 (ABS_MT_POSITION_X)
      Value      0
      Min        0
      Max      800
    Event code 54 (ABS_MT_POSITION_Y)
      Value      0
      Min        0
      Max      480
    Event code 57 (ABS_MT_TRACKING_ID)
      Value      0
      Min        0
      Max        4
Properties:
Testing ... (interrupt to exit)
Event: time 1485798524.194207, ++++++++++++++ EV_REL ++++++++++++
Event: time 1485798524.194222, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 2
Event: time 1485798524.194224, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 200
Event: time 1485798524.194226, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 399
Event: time 1485798524.194228, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 339
Event: time 1485798524.194230, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 1
Event: time 1485798524.194232, ++++++++++++++ EV_REL ++++++++++++
Event: time 1485798524.194246, -------------- EV_SYN ------------
Event: time 1485798524.211226, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 0
Event: time 1485798524.211231, -------------- EV_SYN ------------

 

But touchscreen doesn't work at all with X11!!

xinput:

 

⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ Logitech USB Receiver                     id=7    [slave  pointer  (2)]
⎜   ↳ vmouse                                    id=8    [slave  pointer  (2)]
⎜   ↳ MCE IR Keyboard/Mouse (sunxi-ir)          id=10   [slave  pointer  (2)]
⎣ Virtual core keyboard                         id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ touchscreen                               id=6    [slave  keyboard (3)]
    ↳ sunxi-gpiokey                             id=9    [slave  keyboard (3)]
    ↳ sunxi-ir                                  id=11   [slave  keyboard (3)]
root@bananapim2plus:~# xinput list 6
touchscreen                                     id=6    [slave  keyboard (3)]
        Reporting 1 classes:
                Class originated from: 6. Type: XIKeyClass
                Keycodes supported: 248

 

first: I don't understand why is in "Virtual core keyboard" section ??

 

xinput test 6 is blank - doesn't work at all

 

Could anyone help me what am I wrong? ...or settings or bug?   I don't understand at all this weird thing

 

ps: I can present xorg.log xorg.conf etc if You need.....
 

Link to post
Share on other sites
Guest
This topic is now closed to further replies.