Log in

24 November 2008 @ 12:23 pm
Howto use / try the latest development gspca version  
Hi All,

So I've been getting several reports about cams which used to work with the old gspca no longer working with the in kernel gspca, even when using libv4l. The first thing to do when debugging this is try the latest gspca devel version from git (well mercurial actually). So I thought it would be good to write a little blog post on how to use gspca from mercurial so I have a single place to point people to when I want them to do this.

First of all you need to make sure you have the kernel headers for the kernel you are running installed, and also gcc, make and mercurial. Under Fedora this can be done with the following command:
"yum install kernel kernel-devel gcc make mercurial"

Note if this command installs a new kernel, first reboot into this new kernel before continuing.

Now do:
hg clone http://linuxtv.org/hg/~jfrancois/gspca/
cd gspca
sudo make menuconfig
sudo make install

1) There is no need to make any changes in make menuconfig
2) make menuconfig needs sudo as it wants to write .o files for the menuconfig executable to /usr/src/kernel/.....
3) The reboot is needed as this will also replace videodev.ko and that might already be loaded (and in use) on your

Now plug in your webcam, start some app to test it and hopefully it will work :)
Tags: ,