Comment 19 for bug 926917

Revision history for this message
pgreenland (philip-pgreenland) wrote :

SM,

Yep, was a lot easier than I thought to be honest I was only originally intending to look for the cause out of interest as it was annoying me so much.

From a fresh install of Ubuntu 12.04 (tested in a VM) the following sequence of commands will download, patch and install the updated driver.

Open a terminal:

sudo apt-get install build-essential xserver-xorg-dev libudev-dev
wget http://archive.ubuntu.com/ubuntu/pool/main/x/xserver-xorg-input-evdev/xserver-xorg-input-evdev_2.7.0.orig.tar.gz
wget https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-evdev/+bug/926917/+attachment/3373367/+files/horizontal_scrolling.patch
tar -zxvf xserver-xorg-input-evdev_2.7.0.orig.tar.gz
cd xf86-input-evdev-2.7.0
patch -p1 < ../horizontal_scrolling.patch
./configure
make

Logout of graphical session, change to a tty (Ctrl + F1), login and execute the following to install the new build of evdev:

cd xf86-input-evdev-2.7.0
sudo stop lightdm
sudo make install
sudo start lightdm

The last block of steps above do the actual install but I believe need to be completed when the xserver isn't running (as it crashed when I tried to swap out the evdev_drv.so file while it was running).

Hope that helps,

Phil