IStar Posted May 28, 2016 Posted May 28, 2016 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.
Jimmy Belanger Posted September 20, 2016 Posted September 20, 2016 sudo h3disp -m 5 -d reboot enjoy http://forum.armbian.com/index.php/topic/1637-solved-orange-pi-pc-h3-winner-compiled-with-igorpecovnik-jessie-desktop/
Sunset Posted January 30, 2017 Posted January 30, 2017 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.1Input device ID: bus 0x0 vendor 0x0 product 0x0 version 0x0Input 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 4Properties: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 2Event: time 1485798524.194224, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 200Event: time 1485798524.194226, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 399Event: time 1485798524.194228, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 339Event: time 1485798524.194230, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 1Event: 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 0Event: 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 6touchscreen 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.....
Recommended Posts