Closed OOHehir closed 2 years ago
In order to further troubleshoot the issue I removed (rm) /dev/input/event0, i.e. the 'raw' device feed of the touchscreen as generated by the on-chip ADC.
Subsequently my application appears to not get any touchscreen events even after calling running:
EGT_INPUT_DEVICE=tslib:/dev/input/event2 /usr/share/egtApp
However the ts_uinput device still seems to be working:
ts_verify /dev/input/event2
tslib 1.21 / libts ABI version 0 (0x000A03)
Release-Date: 2019-10-22
===================== test run 0 =====================
TEST ts_read_mt (blocking) 1 ...... PASS
TEST ts_read_mt (blocking) 5 ...... PASS
TEST ts_read_mt (nonblocking) 1 ...... PASS
TEST ts_read_mt (nonblocking) 5 ...... PASS
TEST ts_read (blocking) 1 ...... PASS
TEST ts_read (blocking) 5 ...... PASS
TEST ts_read (nonblocking) 1 ...... PASS
TEST ts_read_raw_mt (blocking) 1 ...... PASS
TEST ts_read_raw_mt (blocking) 5 ...... PASS
TEST ts_read_raw_mt (nonblocking) 1...... PASS
TEST ts_read_raw_mt (nonblocking) 5...... PASS
TEST ts_read_raw(blocking) 1 ...... PASS
I'm now trying to work out if the issue is the EGT application not receiving the events or if there's a missing link somewhere between the device & the EGT application.
Looks like this is an issue with the GUI application, not tslib so closing
Hello, Thanks for all your work on this project. I'm using your library with a SAMA5D4 Xplained board with a touchscreen connected to it's inbuilt peripheral. I'm using the screen in connection with a Microchip version of Qt (EGT).
I've run ts_calibrate & the ts_test_mt which works very accurately.
However after running: ts_uinput -d -v
I've noticed no improvement in the accuracy of the screen (as opposed when ts_uinput is not running) & indeed running ts_test_mt it's possible to see that the touches to the bottom of the screen are appearing at the top. Here's some info:
/etc/ts.conf:
Would you have any suggestions as to where I'm going wrong?
Thanks for looking!