[Wayland-bugs] [Bug 106798] Cursor jumps on Lenovo W541 with i3, Xorg during typing

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Jun 3 18:15:12 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=106798

            Bug ID: 106798
           Summary: Cursor jumps on Lenovo W541 with i3, Xorg during
                    typing
           Product: Wayland
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: libinput
          Assignee: wayland-bugs at lists.freedesktop.org
          Reporter: xtiansimon at gmail.com

Created attachment 139994
  --> https://bugs.freedesktop.org/attachment.cgi?id=139994&action=edit
evemu

Cursor jumps on Lenovo W541 with i3, Xorg during typing. This is an
intermittent issue where the cursor jumps at random times (I can't recreate the
issue on demand) while typing. I notice this most profoundly while working in
VIM when the cursor jumps to a different line and typing continues from there.

Using a suggestion from the
[url=https://wiki.archlinux.org/index.php/Libinput#Troubleshooting]Archlinux
Wiki[/url], and the
[url=https://wayland.freedesktop.org/libinput/doc/latest/touchpad_pressure.html#touchpad_pressure_hwdb]Wayland
site[/url] I found these tools for troubleshooting:

[code]
[1] xtian at spaceghost> sudo libinput measure touchpad-pressure >>
libinput-touchpad-pressure.log
Traceback (most recent call last):
  File "/usr/lib/libinput/libinput-measure-touchpad-pressure", line 299, in
<module>
    main(sys.argv)
  File "/usr/lib/libinput/libinput-measure-touchpad-pressure", line 289, in
main
    loop(device)
  File "/usr/lib/libinput/libinput-measure-touchpad-pressure", line 246, in
loop
    handle_event(device, event)
  File "/usr/lib/libinput/libinput-measure-touchpad-pressure", line 233, in
handle_event
    handle_abs(device, event)
  File "/usr/lib/libinput/libinput-measure-touchpad-pressure", line 224, in
handle_abs
    print("\r{}".format(s))
  File "/usr/lib/libinput/libinput-measure-touchpad-pressure", line 105, in
__str__
    return self._str_state() if self.is_active else self._str_summary()
  File "/usr/lib/libinput/libinput-measure-touchpad-pressure", line 114, in
_str_summary
    self.avg(),
  File "/usr/lib/libinput/libinput-measure-touchpad-pressure", line 96, in avg
    return int(sum([p.pressure for p in self.points])/len(self.points))
ZeroDivisionError: division by zero
[/code]

[code]
xtian at spaceghost> sudo libinput debug-events >> libinput-events.log
libinput error: event19 - Synaptics TM3053-003: kernel bug: Touch jump detected
and discarded.
See
https://wayland.freedesktop.org/libinput/doc/1.10.7/touchpad_jumping_cursor.html
for details
libinput error: event19 - Synaptics TM3053-003: kernel bug: Touch jump detected
and discarded.
See
https://wayland.freedesktop.org/libinput/doc/1.10.7/touchpad_jumping_cursor.html
for details
^Z
zsh: suspended  sudo libinput debug-events >> libinput-events.log
[/code]

This last item brought me to the Wayland sight and the instructions for
submitting a bug report:

1) libinput version:
> sudo pacman -Ss libinput 
extra/libinput 1.10.7-1 [installed]
    Input device management and event handling library
extra/xf86-input-libinput 0.27.1-1 (xorg-drivers) [installed]
    Generic input driver for the X.Org server based on libinput

2) current libinput settings for the device (if you are on X11).
> xinput list-props 13  
Device 'Synaptics TM3053-003':
        Device Enabled (145):   1
        Coordinate Transformation Matrix (147): 1.000000, 0.000000, 0.000000,
0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        libinput Tapping Enabled (280): 0
        libinput Tapping Enabled Default (281): 0
        libinput Tapping Drag Enabled (282):    1
        libinput Tapping Drag Enabled Default (283):    1
        libinput Tapping Drag Lock Enabled (284):       0
        libinput Tapping Drag Lock Enabled Default (285):       0
        libinput Tapping Button Mapping Enabled (286):  1, 0
        libinput Tapping Button Mapping Default (287):  1, 0
        libinput Natural Scrolling Enabled (288):       0
        libinput Natural Scrolling Enabled Default (289):       0
        libinput Disable While Typing Enabled (290):    1
        libinput Disable While Typing Enabled Default (291):    1
        libinput Scroll Methods Available (292):        1, 1, 0
        libinput Scroll Method Enabled (293):   1, 0, 0
        libinput Scroll Method Enabled Default (294):   1, 0, 0
        libinput Click Methods Available (295): 1, 1
        libinput Click Method Enabled (296):    1, 0
        libinput Click Method Enabled Default (297):    1, 0
        libinput Middle Emulation Enabled (298):        0
        libinput Middle Emulation Enabled Default (299):        0
        libinput Accel Speed (300):     0.000000
        libinput Accel Speed Default (301):     0.000000
        libinput Left Handed Enabled (302):     0
        libinput Left Handed Enabled Default (303):     0
        libinput Send Events Modes Available (265):     1, 1
        libinput Send Events Mode Enabled (266):        0, 0
        libinput Send Events Mode Enabled Default (267):        0, 0
        Device Node (268):      "/dev/input/event12"
        Device Product ID (269):        1739, 0
        libinput Drag Lock Buttons (304):       <no items>
        libinput Horizontal Scroll Enabled (305):       1

3) a virtual description of your input device,
> udevadm info /sys/class/input/event13 
P:
/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input16/event13
N: input/event13
E: DEVNAME=/dev/input/event13
E:
DEVPATH=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input16/event13
E: ID_INPUT=1
E: ID_INPUT_KEY=1
E: ID_PATH=acpi-LNXVIDEO:00
E: ID_PATH_TAG=acpi-LNXVIDEO_00
E: LIBINPUT_DEVICE_GROUP=19/0/6:LNXVIDEO/video
E: MAJOR=13
E: MINOR=77
E: SUBSYSTEM=input
E: TAGS=:power-switch:
E: USEC_INITIALIZED=21752466

4) Output from udevadm info,

5) Vendor model number of your laptop,
"Lenovo Thinkpad W541

6) Content of /sys/class/dmi/id/modalias.
cat /sys/class/dmi/id/modalias               ~
dmi:bvnLENOVO:bvrGNET86WW(2.34):bd03/07/2018:svnLENOVO:pn20EGS0AE00:pvrThinkPadW541:rvnLENOVO:rn20EGS0AE00:rvrSDK0E50510WIN:cvnLENOVO:ct10:cvrNotAvailable:

7) physical dimensions of your touchpad in mm
57 x 100

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20180603/9905a376/attachment.html>


More information about the wayland-bugs mailing list