Open OOHehir opened 2 years ago
with 'debug-enabled'
ts_test_mt
tslib 1.22 / libts ABI version 0 (0x000A04)
Release-Date: 2020-07-01
Host OS: Linux, trying to open /dev/input/touchscreen0
Loading module input
Loading module pthres (pmin=1)
Loading module dejitter (delta=100)
Loading module linear
LINEAR: Reading rotation 0 from calibfile
Linear calibration constants: 20662 132 -3934343 330 16605 -10816635 65536
tslib input device: vendor 0x0 product 0x0 version 0x0 on bus 0x19
tslib: We have a pressure value
INPUT-RAW: read type 3 code 0 value 3141 time 1520651784.23152
INPUT-RAW: read type 3 code 1 value 2438 time 1520651784.23152
INPUT-RAW: read type 3 code 24 value 4437 time 1520651784.23152
INPUT-RAW: read type 1 code 330 value 1 time 1520651784.23152
INPUT-RAW: read type 0 code 0 value 0 time 1520651784.23152
PTHRES: read 1 samples (mem: 1 nr x 1 slots)
DEJITTER: read 1 samples (mem: 1 nr x 1 slots)
LINEAR: read 1 samples (mem: 1 nr x 1 slots)
BEFORE CALIB:
(slot 0) X:3141 Y:2438 P:4437
TS_READ_MT----> slot 0: x = 935, y = 468, pressure = 4437
INPUT-RAW: read type 3 code 0 value 3162 time 1520651784.39173
INPUT-RAW: read type 3 code 1 value 2502 time 1520651784.39173
INPUT-RAW: read type 3 code 24 value 4797 time 1520651784.39173
INPUT-RAW: read type 0 code 0 value 0 time 1520651784.39173
PTHRES: read 1 samples (mem: 1 nr x 1 slots)
DEJITTER: read 1 samples (mem: 1 nr x 1 slots)
DEJITTER----------------> 3154 2478 4662
LINEAR: read 1 samples (mem: 1 nr x 1 slots)
BEFORE CALIB:
(slot 0) X:3154 Y:2478 P:4662
TS_READ_MT----> slot 0: x = 939, y = 478, pressure = 4662
INPUT-RAW: read type 3 code 0 value 3010 time 1520651784.55172
INPUT-RAW: read type 3 code 1 value 2489 time 1520651784.55172
INPUT-RAW: read type 3 code 24 value 6868 time 1520651784.55172
INPUT-RAW: read type 0 code 0 value 0 time 1520651784.55172
PTHRES: read 1 samples (mem: 1 nr x 1 slots)
DEJITTER: read 1 samples (mem: 1 nr x 1 slots)
DEJITTER: pen movement exceeds threshold
LINEAR: read 1 samples (mem: 1 nr x 1 slots)
BEFORE CALIB:
(slot 0) X:3010 Y:2489 P:6868
TS_READ_MT----> slot 0: x = 893, y = 480, pressure = 6868
INPUT-RAW: read type 1 code 330 value 0 time 1520651784.56447
INPUT-RAW: read type 0 code 0 value 0 time 1520651784.56447
PTHRES: read 1 samples (mem: 1 nr x 1 slots)
DEJITTER: read 1 samples (mem: 1 nr x 1 slots)
DEJITTER----------------> 3010 2489 6868
LINEAR: read 1 samples (mem: 1 nr x 1 slots)
BEFORE CALIB:
(slot 0) X:3010 Y:2489 P:6868
TS_READ_MT----> slot 0: x = 893, y = 480, pressure = 6868
Hello,
I'm using your library (v1.21) in conjunction with a SAMA5D4 Xplained board & a restive touchscreen.
I've run ts_calibrate & subsequently ts_read outputs:
But on running ts_test_mt I get no output. Its my understanding that ts_test_mt supports multi-touch screens but still support single touch screens. Below is the output of ts_verify:
ts_test_mt also works:
Could you suggest a solution?
Regards,