Bug 103328 - sensitivity and speed parameters missing for ETPS/2 Elantech TrackPoint
Summary: sensitivity and speed parameters missing for ETPS/2 Elantech TrackPoint
Status: RESOLVED WORKSFORME
Alias: None
Product: Wayland
Classification: Unclassified
Component: libinput (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Wayland bug list
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-18 07:56 UTC by mrcjkb89@outlook.com
Modified: 2017-10-20 00:14 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description mrcjkb89@outlook.com 2017-10-18 07:56:05 UTC
The maximum speed configurable with libinput is too slow for my personal taste. I found this old bug report in which the solution is to manipulate the speed/sensitivity settings in /sys/devices/platform/i8042/serio1/
(See: https://bugzilla.redhat.com/show_bug.cgi?id=1200717).
However, those settings are missing on my device (see this forum post for details: https://bbs.archlinux.org/viewtopic.php?id=231014).
I am using libinput verstion 1.8.3 (not listed as an option on bugzilla for some reason).
Comment 1 Peter Hutterer 2017-10-18 22:34:20 UTC
Please run the libinput measure-trackpoint-range tool to measure the range of your trackpoint.
Comment 2 mrcjkb89@outlook.com 2017-10-18 23:49:08 UTC
I can't seem to be able to get the tool started.
According to man libinput-measure, the only measurable feature for my device is measusure-touchpad-tap-time (which I also can't execute)
Comment 3 Peter Hutterer 2017-10-19 01:03:51 UTC
'sudo libinput measure trackpoint-range' should be enough, the tool searches for a trackpoint device automatically.
Comment 4 mrcjkb89@outlook.com 2017-10-19 06:59:10 UTC
Theat returns 'Failed to execute 'trackpoint-range' (No such file or directory)'.
Comment 5 Peter Hutterer 2017-10-19 07:41:53 UTC
oh, right. you're on 1.8 - that tool was added (together with a new trackpoint acceleration) in 1.9 - grab libinput from git and build it, you can run that tool directly from the built tree. Though given the new accel method, you're better off trying 1.9 first
Comment 6 mrcjkb89@outlook.com 2017-10-19 09:27:35 UTC
I built verstion 1.9 from the git repo. Now typing 

'sudo libinput measure trackpoint-range' returns an exception:


Traceback (most recent call last):
  File "/usr/libexec/libinput/libinput-measure-trackpoint-range", line 29, in <module>
    import evdev
ModuleNotFoundError: No module named 'evdev'
Comment 7 Peter Hutterer 2017-10-19 09:55:01 UTC
you need to install python-evdev (that's the fedora package name, but you get the gist)
Comment 8 mrcjkb89@outlook.com 2017-10-19 10:11:36 UTC
Ah, I had it confused because the Arch Wiki page on 'evdev' redirects to 'xorg'.
The range is around max x: 13 max y: 9 if I operate it normally. I can get both x and y close to 30 if I push hard (so hard that the surrounding keyboard keys are triggered.
Comment 9 mrcjkb89@outlook.com 2017-10-19 15:03:03 UTC
Update: After a reboot, the trackpoint appears a lot faster.
Strange, 'udevadm hwdb --update' alone was not enough.
Comment 10 Peter Hutterer 2017-10-19 22:33:11 UTC
the hwdb update only updates the database used for the next udev run. to get that to apply to a device you need to unplug the device (rather hard with a trackpoint) or retrigger it as outlined in:
https://wayland.freedesktop.org/libinput/doc/latest/faq.html#faq_hwdb_changes

but if you also update libinput, then you need to restart your session too. A reboot takes care of all of these.

That aside, you're on 1.9 now? The trackpoint accel good enough now?
Comment 11 mrcjkb89@outlook.com 2017-10-19 23:55:50 UTC
Ah, that makes sense :)
Yes, I am on 1.9. It's a lot faster than on 1.8. Even higher acceleration would always be nice, but it would probably impair the accuracy. I'm happy with what I have for now :)
Comment 12 Peter Hutterer 2017-10-20 00:14:41 UTC
ok, thanks. closing this bug


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.