FEDORA 20 HOWTO – Fix Elantech TrackPoint on Lenovo ThinkPad L430

FEDORA 20 HOWTO – Fix Elantech TrackPoint on Lenovo ThinkPad L430

I’ve just switched my laptop Lenovo ThinkPad L430 to the Fedora 20 and found that the TrackPoint is not working (again!).

dmesg shows only bunch of errors like this one psmouse serio1: Touchpad at isa0060/serio1/input0 lost sync at byte 6

In Ubuntu, there was a user PPA repository called ThinkPad Extras that contains a package tp-trackpoint-elantech, that solves the problem. Fedora doesn’t have such package. But the package is not any magic black-box and basically does two things that will be described next. Original info what the package does can be found at the ubuntuusers.de wiki page about TrackPoint. Unfortunately, the procedure must be slightly modified, because in the Fedora has the psmouse module build in the kernel and it is not loaded as an external module.

How to make TrackPoint work in Fedora 20

1) Create a config file

Create a /usr/share/X11/xorg.conf.d/11-trackpoint-elantech.conf which will contain:

Section "InputClass"
    Identifier      "Elantech Trackpoint"
    MatchProduct    "PS/2 Generic Mouse"
    MatchDevicePath "/dev/input/event*"
    Option          "EmulateWheel" "true"
    Option          "EmulateWheelButton" "2"
    Option          "EmulateWheelTimeout" "200" 
    Option          "YAxisMapping" "4 5"
    Option          "XAxisMapping" "6 7"
EndSection

2) Add kernel boot option

Open the /etc/default/grub and add psmouse.proto=bare option to the GRUB_CMDLINE_LINUX and then run the “grub2-mkconfig -o /boot/grub2/grub.cfg

For example, a snippet of my GRUB_CMDLINE_LINUX:

GRUB_CMDLINE_LINUX="psmouse.proto=bare vconsole.font=latarcyrheb-sun16 ....

and then run as root:

$ grub2-mkconfig -o /boot/grub2/grub.cfg

3) Reboot the system

And it should be all.

Leave a Reply

Your email address will not be published. Required fields are marked *