Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

OrangePi Plus 2 and Waveshare touchscreen 5"

Featured Replies

Someone can help me with detail instruction: how I can enable touchscreen trough gpio on OrangePi Plus 2.

Screen setup to 800x480 but cant enable touch, because I am beginner.

 

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.....
 

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.