I’m using ubuntu 14.04 installed in VM, Toradex version 2.6, Colibri evaluation board and i.MX7S.
I’m working with angstrom-qt5-x11-image and a Qt5 widget only application.
I need to configure two type of touch panel: one resistive and one capacitive.
Resistive touch: ok, image is displayed and touch events are used by qt application.
Capacitive touch (ic controller sitronix 1633i): following Capacitive Multi-Touch Display, image is displayed but touch event are not used by qt application.
Using evtest, output is:
root@colibri-imx7:~# evtest
No device specified, trying to scan all of /dev/input/event*
Available devices:
/dev/input/event0: st1633i-touchscreen
/dev/input/event1: gpio-keys
Select the device event number [0-1]: 0
Input driver version is 1.0.1
Input device ID: bus 0x18 vendor 0x0 product 0x0 version 0x0
Input device name: "st1633i-touchscreen"
Supported events:
Event type 0 (EV_SYN)
Event type 1 (EV_KEY)
Event type 3 (EV_ABS)
Event code 48 (ABS_MT_TOUCH_MAJOR)
Value 0
Min 0
Max 255
Event code 53 (ABS_MT_POSITION_X)
Value 0
Min 0
Max 799
Event code 54 (ABS_MT_POSITION_Y)
Value 0
Min 0
Max 479
Properties:
Testing ... (interrupt to exit)
Event: time 1477410927.229868, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), val
ue 589
Event: time 1477410927.229868, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), val
ue 250
Event: time 1477410927.229868, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 1477410927.229868, -------------- SYN_REPORT ------------
Event: time 1477410927.241652, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), val
ue 589
Event: time 1477410927.241652, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), val
ue 250
Event: time 1477410927.241652, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 1477410927.241652, -------------- SYN_REPORT ------------
Event: time 1477410927.253336, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), val
ue 589
Event: time 1477410927.253336, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), val
ue 250
Event: time 1477410927.253336, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 1477410927.253336, -------------- SYN_REPORT ------------
Event: time 1477410927.288264, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), val
ue 589
Event: time 1477410927.288264, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), val
ue 249
Event: time 1477410927.288264, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 1477410927.288264, -------------- SYN_REPORT ------------
Event: time 1477410927.311788, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 1477410927.311788, -------------- SYN_REPORT ------------
Then touch events seems to be processed by the kernel but not by the qt application.
What am i missing in the touch capacitive configuration?
Thanks for any help you can give