I have been using a script to configure trackpoint for ages. It worked on my current Lenovo x230 laptop with Gentoo but stopped working probably due to some software update.#!/bin/bashtrackpoint=TPPS/2 IBM TrackPointxinput set-prop $trackpoint Device Accel Profile 3xinput set-prop $trackpoint Device Accel Velocity Scaling 30xinput set-prop $trackpoint Evdev Wheel Emulation 1xinput set-prop $trackpoint Evdev Wheel Emulation Button 2xinput set-prop $trackpoint Evdev Wheel Emulation Timeout 200xinput set-prop $trackpoint Evdev Wheel Emulation Axes 6 7 4 5The error message is more than clear.Warning: There are multiple devices matching 'TPPS/2 IBM TrackPoint'.To ensure the correct one is selected, please use the device ID, or prefix thedevice name with 'pointer:' or 'keyboard:' as appropriate.unable to find device TPPS/2 IBM TrackPointIt is easy to check that the error message is right.$ xinput Virtual core pointer                      id=2    [master pointer  (3)]    Virtual core XTEST pointer                id=4    [slave  pointer  (2)]    TPPS/2 IBM TrackPoint                     id=11   [slave  pointer  (2)]    TPPS/2 IBM TrackPoint                     id=12   [slave  pointer  (2)]    SynPS/2 Synaptics TouchPad                id=10   [slave  pointer  (2)]So the questions are (1) why is there now two trackpoint records and (2) how to fix it. In the past xinput only saw one trackpoint and everything worked.There is a workaround of using 12 instead of device name but there's no guarantee the id would be stable, especially when it only exists because of a bug.I didn't find any useful resources on the web.I realized there are two different Xorg input drivers, one called evdev, the other called libinput. I'm using evdev on Gentoo and I don't have any other input drivers compiled. I don't know how to properly check the list of kernel devices and how evdev and libinput treat them.Related links:https://ask.fedoraproject.org/en/question/71205/fedora-22-split-my-mouse-into-two-devices-one-for-the-pointer-and-one-for-scrolling-how-to-fix-it/https://stackoverflow.com/questions/18755967/how-to-make-a-program-that-finds-ids-of-xinput-devices-and-sets-xinput-some-set/18756948#18756948
xinput shows two trackpoints instead of one
xorg;gentoo;xinput