Nov. 24th, 2008

hansdegoede: me (Default)
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
make
sudo make install
reboot

Notes:
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
    system.

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

Profile

hansdegoede: me (Default)
Hans de Goede

July 2025

S M T W T F S
  123 45
6789101112
13141516171819
20212223242526
2728293031  

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 28th, 2025 11:08 pm
Powered by Dreamwidth Studios