Ps3eyeMT mod installation on ubuntu (HOWTO). New patch available.

This HOWTO has been tested with UBUNTU 9.10 kernel 2.6.31-10-generic
but it should work with kernel since version 2.6.30.

To avoid to type a lot of "sudo" we will work as root (BE CAREFUL Wink ):

sudo -i

Install necessary tools pkgs:
apt-get install kernel-package libncurses5-dev wget bzip2 build-essential

Install your kernel-sources:
cd /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 linux

Download and apply my Ps3eyeMT patch:


patch -p1 < ps3eyeMT-2.6.31-10-generic.patch

Retrieve your current kernel configuration and Module.symvers:
make oldconfig
cp /usr/src/linux-headers-2.6.<your version>/Module.symvers /usr/src/linux

Compile your new patched driver:
make modules_prepare
make SUBDIRS=drivers/media/video/gspca modules

Install the new driver in the modules directory and refresh dependencies:
cp drivers/media/video/gspca/gspca_ov534.ko /lib/modules/$(uname -r)/kernel/drivers/media/video/gspca/

Test if the installed module is the good one:
modinfo gspca-ov534

Unload if any old module is loaded and load the new one:
modprobe -r gspca-ov534
modprobe  gspca-ov534 videomode=10 autogain=0 exposure=200 hflip=1

Exit to normal user.

To see all available init parameters:

modinfo gspca-ov534

All values except videomode, can be set when running via any V4L2 compatible software.

You can now launch your preferred blob tracker. Party

I hope this will help a lot of Multitouch beginner with Ps3eye and Linux Cool


Average: 2.7 (9 votes)


using the correct linux sources

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-source
by 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?