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
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: recommends linux-image-$(uname -r) [your-version] " directory into your home
sudo apt-get build-dep --no-install-
apt-get source linux-image-$(uname -r)
this puts a "linux-
install git:
sudo apt-get install git
change into it: input/mouse
cd src/drivers/
backup alps.c, alps.h, psmouse.h
apply patch:
patch -p0 < patch-dell-e6510
make & install: drivers/ input/mouse/
make -C /lib/modules/`uname -r`/build M=`pwd` psmouse.ko
sudo rmmod psmouse
sudo cp psmouse.ko /lib/modules/`uname -r`/kernel/
sudo modprobe psmouse
thanks everybody very much!
:m)