How can I get two-finger scrolling working on my trackpad?

I got this working recently for a friend's Yoga 2 by patching the psmouse kernel module to recognize the trackpad. Here's how I did it (from memory and browser history):

wget 'https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1166442/+attachment/3941591/+files/psmouse-elantech-x551c.tar.gz'
sudo dkms ldtarball --force psmouse-elantech-x551c.tar.gz
sudo dkms install -m psmouse -v elantech-x551c
sudo rmmod psmouse && sudo modprobe psmouse

You have to restart X (or reboot) afterwards.

Sources:

  • Ubuntu bugreport in particular comments #137 and #161
  • Evilcodingmonkey

In case it doesn't work give us the output of:

cat /proc/bus/input/devices

Jon if output for xinput -list ->>>> ↳ ETPS/2 Elantech Touchpad sees links:

http://www.yourownlinux.com/2014/10/how-to-install-linux-kernel-3-18-rc1-in-linux.html or http://linuxg.net/how-to-install-kernel-3-18-rc2-on-ubuntu-14-10-ubuntu-14-04-and-derivatives/

reboot your ubuntu:

1 - Click on the "Option Settings The System "(the gear icon on the launch bar of Ubuntu). You can also access the same option by clicking the icon located next to the clock on the top bar Ubuntu.

2 - Inside " The System Settings ", click on" option Mouse and Touchpad ".

3 - In the window that opens, look for the "option Touchpad ". If it is not active (" On "), click" button Off ", located on the right side to activate it.

4 - Now select "option Scrolling With Two Fingers "by clicking the box next to the option.

Ready! Now you can use two fingers to do the scrolling in Ubuntu whenever you need.