Hello,
I’m using an eGalax touchscreen, trying to get it to work with Raspberry Pi and Qt5. I’ve got it working with X11, but that doesn’t help with eglfs; it sounds like it needs to work with tslib.
I’ve been able to get tslib to work with this display using a tarball and two patches from:
http://repository.timesys.com/buildsources/t/tslib/tslib-1.0/
I downloaded the tarball, applied the tslib-1.0-svn_updates-r50-r78.patch and tslib-1.0-egalax.patch patches, and built it.
(loosely following directions from http://handychen.blogspot.com/2011/03/try-egalaxy-usb-touch-for-tslib.html).
After screwing with some shared library paths and setting TSLIB_TSDEVICE=/dev/input/event1, I’ve been able to get the screen working with ts_calibrate and ts_test, but still not with Qt. Here’s the output:
$ qmlscene dragselection.qml
evdevtouch: Using device /dev/input/event1
min X: 0 max X: 0
min Y: 0 max Y: 0
min pressure: 0 max pressure: 0
device name: eGalax Inc. Touch
Protocol type A
Based on this thread [qt-project.org], I think I need to use the evdevmouse or tslib plugins rather than evdevtouch. However, I’ve tried this:
$ qmlscene dragselection.qml -plugin Tslib:/dev/input/event1
and
$ qmlscene dragselection.qml -plugin EvdevMouse
and the output is no different; it still appears to be using evdevtouch. Is there any way I can disable the evdevtouch plugin so my tslib or evdevmouse arguments might work?
↧