Tuesday, December 18, 2012

Lenovo x220 Trackpoint and Ubuntu

Although I'm using my Lenovo x220 laptop for more than a year, I discovered the settings for the track-point yesterday (random searches and forums, don't remember). I was never really thinking about it, but the track-point was a bit slow and stiff. The configuration settings of the usual UI configuration menu had no effect at all (yes, certainly a bug), either.

So, to reveal the magic, here it is. I've added a udev configuration file here:

$ cat /etc/udev/rules.d/trackpoint.rules

SUBSYSTEM=="serio", DRIVERS=="psmouse", WAIT_FOR="/sys/devices/platform/i8042/serio1/serio2/sensitivity", ATTR{sensitivity}="240", ATTR{speed}="95", ATTR{press_to_select}="1", ATTR{inertia}="6"



This is just one line for the settings of sensitivity, speed and intertia. You can also play around with them manually, e.g.

$ echo "5" | sudo tee /sys/devices/platform/i8042/serio1/serio2/inertia