Web lists-archives.com

Re: [Spca50x-devs] 046d:08d9 - works with gspca-modules but not 2.6.27-rc3




Jean-Francois Moine wrote, on 30/08/08 01:41:
> On Sat, 2008-08-30 at 00:17 +0930, Arthur Marsh wrote:
> 	[snip]
>> I have built 2.6.27-rc4 but have not yet installed it on the machine 
>> with the 046d:08d9 webcam.
> 
> Hello Arthur,
> 
> There is no v4l change in the 2.6.27 tree since -rc3. You must do as
> Hans de Goede said:
> 
>>> 2.6.27-rc3 is a bit old. Try the latest v4l-dvb hg tree (all gspca changes 
>>> there are scheduled to become part of 2.6.27 final):
>>>
>>> hg clone http://linuxtv.org/hg/~jfrancois/gspca/
>>> cd gspca
> 
> (may be also do a copy of your kernel .config to v4l)
> 
>>> make menuconfig
>>> make
>>> sudo make install
>>>
>>> The remove *all* video related modules (so including videodev !!)
>>> and do:
>>> modprobe gspca_zc3xx
> 
> Best regards.
> 

I'm compiling on a different machine to the machine that built the kernel.

What I had to do after:

apt-get install mercurial

cd /usr/src

hg clone http://linuxtv.org/hg/~jfrancois/gspca/

was:

apt-get linux-source-2.6.27

cd /usr/src
bzip2 -dc linux-source-2.6.27-rc4.tar.bz2|tar -xf /dev/fd/0
ln -s linux-source-2.6.27-rc4 linux
cd linux
cp /boot/config-2.6.27-rc4 .config
make prepare
make scripts

cd /lib/modules/2.6.27-rc4
ln -s /usr/src/linux build

cd /usr/src/gspca
make
checkinstall make install

This failed as the installation attempted to overwrite existing modules.

Running:

make install

worked, but this doesn't help me to install the modules on a machine 
that they weren't built on.

Any suggestions?

Arthur.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Spca50x-devs mailing list
Spca50x-devs@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/spca50x-devs