Solved the problem with the following script. Requires source
repositories enabled:

Ubuntu: 
http://askubuntu.com/questions/158871/how-do-i-enable-the-source-code-repositories
Mint: menu->software sources->Enable source code repositories

#!/bin/bash
sudo apt-get install git
sudo apt-get build-dep xserver-xorg-input-evdev xserver-xorg-input-synaptics

wget 
https://aur.archlinux.org/packages/xf/xf86-input-evdev-trackpoint/xf86-input-evdev-trackpoint.tar.gz
tar -xzf xf86-input-evdev-trackpoint.tar.gz
git clone git://git.debian.org/git/pkg-xorg/driver/xserver-xorg-input-evdev
git clone git://git.debian.org/git/pkg-xorg/driver/xserver-xorg-input-synaptics

mv xf86-input-evdev-trackpoint arch
mv xserver-xorg-input-evdev evdev
mv xserver-xorg-input-synaptics synaptics

cp 
synaptics/src/{eventcomm.c,eventcomm.h,properties.c,synaptics.c,synapticsstr.h,synproto.c,synproto.h}
 evdev/src
cp synaptics/include/synaptics-properties.h evdev/src
cp arch/*.patch evdev

cd evdev
patch -p1 -i 0001-implement-trackpoint-wheel-emulation.patch
patch -p1 -i 0008-disable-clickpad_guess_clickfingers.patch
patch -p1 -i 0010-add-synatics-files-into-Makefile.am.patch

dpkg-buildpackage

cd ..
sudo dpkg -i xserver-xorg-input-evdev_*.deb
sudo apt-get remove xserver-xorg-input-synaptics

sudo mkdir /etc/X11/xorg.conf.d/
sudo cp arch/90-evdev-trackpoint.conf /etc/X11/xorg.conf.d

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xserver-xorg-input-evdev in Ubuntu.
https://bugs.launchpad.net/bugs/1246683

Title:
  Middle button does not work for scrolling

Status in “xserver-xorg-input-evdev” package in Ubuntu:
  Incomplete

Bug description:
  With my Lenovo T440s laptop the Trackpad/Trackpoint laptop scrolling
  does not work when pressing middle button + moving the Trackpoint.
  evdev seems to be set correctly ( http://paste.ubuntuusers.de/416732/
  ). Middle button itself works fine for middle clicks just no
  scrolling.

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: xserver-xorg-input-evdev 1:2.7.3-0ubuntu3.1
  Uname: Linux 3.12.0-031200rc7-generic x86_64
  ApportVersion: 2.12.5-0ubuntu2.1
  Architecture: amd64
  Date: Thu Oct 31 12:36:14 2013
  InstallationDate: Installed on 2013-10-17 (13 days ago)
  InstallationMedia: Xubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016)
  MarkForUpload: True
  SourcePackage: xserver-xorg-input-evdev
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-evdev/+bug/1246683/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to