I have questioned previously this issue on Apalis TK1 touchscreen calibration issue - Technical Support - Toradex Community, but can’t find answer yet.
To sum up, my touchscreen has a problem on Apalis TK1, but I have confirmed that this is not hardware problem via using Imx6q apalis board.
To describe the problem and more update, with TK1 board, my touchscreen device get wrong cursor location and drag points even after xinput_calibrator.
With a command
xinput set-prop "Silicon Works Multi-touch Device" --type=float "Coordinate Transformation Matrix" 0.5 0 0 0 0.2 0 0 0 1
I confirmed that the drag point and speed seems corrected, I found that 0.5 and 0.2 is need for width and height. However, when I try to click some space, it doesn’t show the correct location.
- With evtest, I found the different log.
TK1
Input driver version is 1.0.1
Input device ID: bus 0x3 vendor 0x2b7f product 0x2403 version 0x100
Input device name: "Silicon Works Multi-touch Device"
Supported events:
Event type 0 (EV_SYN)
Event type 1 (EV_KEY)
Event code 272 (BTN_LEFT)
Event code 273 (BTN_RIGHT)
Event code 330 (BTN_TOUCH)
Event type 3 (EV_ABS)
Event code 0 (ABS_X)
Value 0
Min 0
Max 32767
Event code 1 (ABS_Y)
Value 0
Min 0
Max 32767
Event code 40 (ABS_MISC)
Value 0
Min 0
Max 1
Event code 41 (?)
Value 0
Min 0
Max 1
Event code 42 (?)
Value 0
Min 0
Max 1
Event code 43 (?)
Value 0
Min 0
Max 1
Event code 44 (?)
Value 0
Min 0
Max 1
Event code 45 (?)
Value 0
Min 0
Max 1
Event code 46 (?)
Value 0
Min 0
Max 1
Event code 47 (ABS_MT_SLOT)
Value 0
Min 0
Max 1
Event code 48 (ABS_MT_TOUCH_MAJOR)
Value 0
Min 0
Max 1
Event code 49 (ABS_MT_TOUCH_MINOR)
Value 0
Min 0
Max 1
Event code 50 (ABS_MT_WIDTH_MAJOR)
Value 0
Min 0
Max 10
Event code 51 (ABS_MT_WIDTH_MINOR)
Value 0
Min 0
Max 65535
Event type 4 (EV_MSC)
Event code 4 (MSC_SCAN)
Imx6q
Input driver version is 1.0.1
Input device ID: bus 0x3 vendor 0x2b7f product 0x2403 version 0x100
Input device name: "Silicon Works Multi-touch Device"
Supported events:
Event type 0 (EV_SYN)
Event type 1 (EV_KEY)
Event code 330 (BTN_TOUCH)
Event type 3 (EV_ABS)
Event code 0 (ABS_X)
Value 0
Min 0
Max 32767
Resolution 118
Event code 1 (ABS_Y)
Value 0
Min 0
Max 32767
Resolution 210
Event code 47 (ABS_MT_SLOT)
Value 0
Min 0
Max 9
Event code 53 (ABS_MT_POSITION_X)
Value 0
Min 0
Max 32767
Resolution 118
Event code 54 (ABS_MT_POSITION_Y)
Value 0
Min 0
Max 32767
Resolution 210
Event code 57 (ABS_MT_TRACKING_ID)
Value 0
Min 0
Max 65535
I have no idea what do I have to do… Is it a problem of device driver?