intermittent touch problems on xiaomi-wt88047
Describe your issue
What's the expected behaviour?
Touch should always work reliably.
What's the current behaviour?
Sometimes touch doesn't react correctly. tinydm.log lists messages like:
kwin_core: Detected a touch move that never has been down, discarding
kwin_core: Detected a touch that never started, discarding
How to reproduce your issue?
It seems to happen somewhat randomly.
What device are you using?
xiaomi-wt88047
On what postmarketOS version did you encounter the issue?
-
edge ( master
branch) -
v23.12
-
v23.06
-
I confirm that the issue still is present after running sudo apk upgrade -a
On what environment did you encounter the issue?
Environments
-
GNOME Shell on Mobile -
Phosh -
Plasma Mobile -
Sxmo (Wayland/Sway) Please post the output of sxmo_version.sh
-
Other: Please fill out
How did you get postmarketOS image?
-
from https://images.postmarketos.org -
I built it using pmbootstrap -
It was preinstalled on my device
What's the build date of the image? (in yyyy-mm-dd format)
Years ago
Additional information
When listening to the touch screen via evtest
has it appear (at least to me) fully functional even while the issue is happening:
Click to expand
$ evtest /dev/input/event3
Input driver version is 1.0.1
Input device ID: bus 0x18 vendor 0x0 product 0x0 version 0x0
Input device name: "generic ft5x06 (51)"
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 143
Min 0
Max 719
Event code 1 (ABS_Y)
Value 636
Min 0
Max 1279
Event code 47 (ABS_MT_SLOT)
Value 0
Min 0
Max 9
Event code 53 (ABS_MT_POSITION_X)
Value 0
Min 0
Max 719
Event code 54 (ABS_MT_POSITION_Y)
Value 0
Min 0
Max 1279
Event code 57 (ABS_MT_TRACKING_ID)
Value 0
Min 0
Max 65535
Properties:
Property type 1 (INPUT_PROP_DIRECT)
Testing ... (interrupt to exit)
Event: time 1702402260.767959, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 3018
Event: time 1702402260.767959, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 383
Event: time 1702402260.767959, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 858
Event: time 1702402260.767959, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 1
Event: time 1702402260.767959, type 3 (EV_ABS), code 0 (ABS_X), value 383
Event: time 1702402260.767959, type 3 (EV_ABS), code 1 (ABS_Y), value 858
Event: time 1702402260.767959, -------------- SYN_REPORT ------------
Event: time 1702402261.028473, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 386
Event: time 1702402261.028473, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 850
Event: time 1702402261.028473, type 3 (EV_ABS), code 0 (ABS_X), value 386
Event: time 1702402261.028473, type 3 (EV_ABS), code 1 (ABS_Y), value 850
Event: time 1702402261.028473, -------------- SYN_REPORT ------------
Event: time 1702402262.867608, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value -1
Event: time 1702402262.867608, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 0
Event: time 1702402262.867608, -------------- SYN_REPORT ------------
For comparison while the touch screen is properly working:
Click to expand
$ evtest /dev/input/event3
Input driver version is 1.0.1
Input device ID: bus 0x18 vendor 0x0 product 0x0 version 0x0
Input device name: "generic ft5x06 (51)"
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 422
Min 0
Max 719
Event code 1 (ABS_Y)
Value 976
Min 0
Max 1279
Event code 47 (ABS_MT_SLOT)
Value 0
Min 0
Max 9
Event code 53 (ABS_MT_POSITION_X)
Value 0
Min 0
Max 719
Event code 54 (ABS_MT_POSITION_Y)
Value 0
Min 0
Max 1279
Event code 57 (ABS_MT_TRACKING_ID)
Value 0
Min 0
Max 65535
Properties:
Property type 1 (INPUT_PROP_DIRECT)
Testing ... (interrupt to exit)
Event: time 1702402811.408027, -------------- SYN_REPORT ------------
Event: time 1702402812.487747, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 7
Event: time 1702402812.487747, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 355
Event: time 1702402812.487747, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 407
Event: time 1702402812.487747, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 1
Event: time 1702402812.487747, type 3 (EV_ABS), code 0 (ABS_X), value 355
Event: time 1702402812.487747, type 3 (EV_ABS), code 1 (ABS_Y), value 407
Event: time 1702402812.487747, -------------- SYN_REPORT ------------
Event: time 1702402812.772239, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 363
Event: time 1702402812.772239, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 412
Event: time 1702402812.772239, type 3 (EV_ABS), code 0 (ABS_X), value 363
Event: time 1702402812.772239, type 3 (EV_ABS), code 1 (ABS_Y), value 412
Event: time 1702402812.772239, -------------- SYN_REPORT ------------
Event: time 1702402812.845691, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value -1
Event: time 1702402812.845691, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 0
Event: time 1702402812.845691, -------------- SYN_REPORT ------------