
To avoid to type a lot of "sudo" we will work as root (BE CAREFUL
):
sudo -iapt-get install kernel-package libncurses5-dev wget bzip2 build-essentialcd /usr/src
apt-get install linux-source
tar --bzip2 -xvf linux-source-2.6.<your version>.tar.bz2
ln -s linux-2.6.<your version> linux
cd linuxDownload and apply my Ps3eyeMT patch:
wget http://kaswy.free.fr/sites/default/files/download/ps3eye/0.5/ps3eyeMT-2.6.31-10-generic.patchpatch -p1 < ps3eyeMT-2.6.31-10-generic.patchmake oldconfig
cp /usr/src/linux-headers-2.6.<your version>/Module.symvers /usr/src/linuxmake modules_prepare
make SUBDIRS=drivers/media/video/gspca modulescp drivers/media/video/gspca/gspca_ov534.ko /lib/modules/$(uname -r)/kernel/drivers/media/video/gspca/
depmodmodinfo gspca-ov534modprobe -r gspca-ov534
modprobe gspca-ov534 videomode=10 autogain=0 exposure=200 hflip=1To see all available init parameters:
modinfo gspca-ov534All values except videomode, can be set when running via any V4L2 compatible software.
You can now launch your preferred blob tracker.
I hope this will help a lot of Multitouch beginner with Ps3eye and Linux
Comments
using the correct linux sources
hi
thanks a lot for providing this help. without it, i wouldn't have been able to get my pseye working.
however, i had a little issue, when trying it to compile for the linux-rt kernel from ubuntu karmic. it compiled fine, but i couldn't load the modules because of unkown symbols. so i replaced (from your guide):
apt-get install linux-sourceby this:
apt-get source linux-image-$(uname -r)in order to get the sources matching exactly my current kernel. then i could compile the necessary modules AND i was able to load them.
can someone confirm, that this is the correct way?
roman