Comment 274 for bug 550625

Revision history for this message
Dirk (dirk-hellwig) wrote :

An all new coming kernels I was happy with this the attached patch.Install kernel headers:

sudo apt-get build-dep --no-install-recommends linux-image-$(uname -r)
apt-get source linux-image-$(uname -r)
this puts a "linux-[your-version]" directory into your home

install git:
 sudo apt-get install git

change into it:
 cd src/drivers/input/mouse

backup alps.c, alps.h, psmouse.h

apply patch:
 patch -p0 < patch-dell-e6510

make & install:
 make -C /lib/modules/`uname -r`/build M=`pwd` psmouse.ko
 sudo rmmod psmouse
 sudo cp psmouse.ko /lib/modules/`uname -r`/kernel/drivers/input/mouse/
 sudo modprobe psmouse

But now the patch doesen't longer work. I got the following error:

make -C /lib/modules/`uname -r`/build M=`pwd` psmouse.ko
make: Gehe in Verzeichnis '/usr/src/linux-headers-2.6.35-25-generic'
make: *** Keine Regel, um »Dell« zu erstellen. Schluss.
make: Verlasse Verzeichnis '/usr/src/linux-headers-2.6.35-25-generic'