Summary: | libinput 1.9.2 makes Thinkpad trackpoint too fast and user settings are ignored | ||
---|---|---|---|
Product: | Wayland | Reporter: | Mikko Rapeli <mikko.rapeli> |
Component: | libinput | Assignee: | Wayland bug list <wayland-bugs> |
Status: | RESOLVED WONTFIX | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | bugra, hugh, meribold, peter.hutterer, tomi |
Version: | unspecified | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Mikko Rapeli
2017-11-28 19:59:50 UTC
On #wayland irc channel I got the instructions to run: # libinput measure trackpoint-range This tool measures the commonly used pressure range of the trackpoint. Push the trackpoint: - Four times around the screen edges - From the top left to the bottom right and back, twice - From the top right to the bottom left and back, twice A minimum of 1000 events for each axis is required Movements should emulate fast pointer movement on the screen but not use excessive pressure that would not be used during day-to-day movement. For best results, run this tool several times to get an idea of the common range. Trackpoint sends: max x: 52, max y: 49 samples [6968, 6780]^C Histogram for x axis deltas, in counts of 5 -44: -43: -42: -41: -40: -39: -38: -37: -36: -35: + -34: + -33: + -32: + -31: + -30: + -29: ++ -28: + -27: + -26: + -25: + -24: ++ -23: ++ -22: ++ -21: ++++ -20: +++++ -19: +++++ -18: +++++ -17: ++++++++++ -16: +++++++++++++++ -15: ++++++++++++++++++ -14: ++++++++++++++++++++ -13: +++++++++++++++++ -12: ++++++++++++++++ -11: ++++++++++++++++++ -10: ++++++++++++++++++++++++++ -9: ++++++++++++++++++++++++++++++ -8: ++++++++++++++++++++++++++++++++++++ -7: ++++++++++++++++++++++++++++++++++++++ -6: +++++++++++++++++++++++++++++++++++++++++++ -5: ++++++++++++++++++++++++++++++++++++++++++++++++ -4: +++++++++++++++++++++++++++++++++++++++++++++++++++++ -3: +++++++++++++++++++++++++++++++++++++++++++++++++++++++ -2: +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -1: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 0: +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3: +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 4: ++++++++++++++++++++++++++++++++++++++++++++++++++++ 5: ++++++++++++++++++++++++++++++++++++++ 6: ++++++++++++++++++++++++++++++++++++++++ 7: ++++++++++++++++++++++++++++++++++++++++++ 8: +++++++++++++++++++++++++++++++++++++++++++ 9: ++++++++++++++++++++++++++++++++ 10: +++++++++++++++++++++++++++++++++ 11: ++++++++++++++++++++++++++++ 12: +++++++++++++++++++++++++ 13: ++++++++++++++++++++++ 14: ++++++++++++++++ 15: ++++++++++++++++++ 16: +++++++++++++ 17: ++++++++++++ 18: +++++++++++ 19: ++++++++++ 20: ++++++++++ 21: ++++++++++ 22: +++++++++ 23: +++++++++ 24: ++++++ 25: ++++++ 26: ++++ 27: + 28: + 29: ++ 30: + 31: + 32: + 33: + 34: + 35: + 36: 37: + 38: 39: 40: + 41: 42: + 43: + 44: 45: 46: + 47: + 48: 49: 50: 51: 52: Histogram for y axis deltas, in counts of 5 -49: -48: -47: -46: -45: -44: + -43: -42: -41: -40: -39: -38: -37: + -36: -35: ++ -34: -33: + -32: + -31: + -30: -29: + -28: + -27: + -26: + -25: ++ -24: ++ -23: ++++ -22: +++++ -21: +++++++ -20: ++++++++ -19: ++++++++++ -18: ++++++++++ -17: +++++++++++ -16: ++++++++++ -15: ++++++++++++ -14: +++++++++ -13: ++++++++++ -12: +++++++++++++++++ -11: +++++++++++++++++++++++ -10: ++++++++++++++++++++++++ -9: +++++++++++++++++++++++ -8: ++++++++++++++++++++++++++++++ -7: ++++++++++++++++++++++++++++++++ -6: ++++++++++++++++++++++++++++++++++++++ -5: +++++++++++++++++++++++++++++++++++++++ -4: +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -3: +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -2: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -1: +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 0: +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3: +++++++++++++++++++++++++++++++++++++++++++++++++++++ 4: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 5: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 6: +++++++++++++++++++++++++++++++++++++++++ 7: ++++++++++++++++++++++++++++++++++++++ 8: +++++++++++++++++++++++++++++++ 9: +++++++++++++++++++++++++++++++++++++ 10: ++++++++++++++++++++++++++ 11: ++++++++++++++++++ 12: +++++++++++++++++ 13: ++++++++++++ 14: +++++++++++++ 15: +++++++++++ 16: +++++++ 17: ++++++++ 18: ++++++ 19: +++++++++ 20: ++++ 21: ++++ 22: ++++ 23: ++ 24: + 25: + 26: + 27: ++ 28: + 29: + 30: + 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: Average for abs deltas: x: 7 y: 6 Median for abs deltas: x: 6 y: 4 95% percentile for abs deltas: x: 22 y: 20 The libinput Accel Speed property still shows 0, have you tried lowering it? It's a double in the range [-1, 1] for slowest/fastest. The range of the trackpoint seems to fall into the default of 20, so whatever that trackpoint is doing, it's different to the laptops the current accel method was designed on. Not sure how to debug this, tbh. My TrackPoint also started to behave very differently after installing libinput 1.9.3. I'm using a ThinkPad X121e running Arch Linux. Using sysfs to change the sensitivity worked. Locate the files we can change (command from <https://gist.github.com/noromanba/11261595>): $ find /sys/devices/platform/i8042 -name name | xargs grep -Fl TrackPoint | sed 's/\/input\/input[0-9]*\/name$//' /sys/devices/platform/i8042/serio4/serio5 I checked whether the upgrade changed any values at this point, which it didn't: # for f in /sys/devices/platform/i8042/serio4/serio5/*; do [[ -f $f ]] && echo "$f" && cat "$f"; done > new-values.txt # pacman -U /var/cache/pacman/pkg/libinput-1.8.3-1-x86_64.pkg.tar.xz # downgrade libinput # systemctl reboot # for f in /sys/devices/platform/i8042/serio4/serio5/*; do [[ -f $f ]] && echo "$f" && cat "$f"; done > old-values.txt $ diff -s new-values.txt old-values.txt Files old-values.txt and new-values.txt are identical In the end I changed /sys/devices/platform/i8042/serio4/serio5/sensitivity to a lower value: $ cat /sys/devices/platform/i8042/serio4/serio5/{speed,sensitivity} 97 128 $ echo 100 | sudo tee /sys/devices/platform/i8042/serio4/serio5/sensitivity fwiw, I never got an answer to "The libinput Accel Speed property still shows 0, have you tried lowering it? It's a double in the range [-1, 1] for slowest/fastest." Also, I'd need the libinput debug-events --verbose output, the initial output of it at least before any motion events (or with, doesn't matter) Too long in needinfo, closing. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.