Comment 186 for bug 550625

Revision history for this message
mättu (matthias-puffin) wrote :

works, great.

I edited the patch according your inscructions (line 175) and changed the git diff lilnes so that it can be applied directly in ~/linux-2.6.35/drivers/input/mouse/

Here is what I had to do on delle6510 with ubuntu 10.10 2.6.35-22-generic-pae:
(to remind myself of my first kernel module patching session) ;-)

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

thanks everybody very much!
:m)