-   Linux - Hardware (
-   -   webcam install (

wytiger 09-22-2004 04:54 PM


I have e-mailed you a copy of the patched drivers. Do all the following commands as root:


urpmi kernel-source
This will install the kernel source, which is needed to compile. Install any dependencies listed.

Once this is complete, do the following:


cd /lib/modules/2.6.3-7mdk
ln -s /usr/src/linux-2.6.3-7mdk build

This will create the symbolic link for the "build" directory.

Next, change to the folder you downloaded the tar file to and do the following:


tar xzf spca5xx-10092004-patched.tar.gz
cd spca5xx-10092004-patched

make clean
make install

The IC150 should work now.

If you have gnomemeeting installed (I think MDK does this by default), you may even see a shortcut automagically appear on your desktop.

Please let me know of your success or failure.

d1l2w3 09-22-2004 08:54 PM

Still not working.

[root@localhost spca5xx-10092004-patched]# make clean
rm -r -f drivers/usb/*.o drivers/usb/.spcadecoder.o.cmd \
drivers/usb/.spca50x.o.cmd *.o *.ko *.mod.* .[a-z]* core *.i
[root@localhost spca5xx-10092004-patched]# make
Building SPCA5XX driver for 2.5/2.6 kernel.
Remember: you must have read/write access to your kernel source tree.
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/don/Documents/spca5xx-10092004-patched modules
make[1]: Entering directory `/usr/src/linux-2.6.3-7mdk'
CC scripts/empty.o
MKELF scripts/elfconfig.h
HOSTCC scripts/file2alias.o
HOSTCC scripts/modpost.o
HOSTLD scripts/modpost
SPLIT include/linux/autoconf.h -> include/config/*
*** Warning: Overriding SUBDIRS on the command line can cause
*** inconsistencies
CC arch/i386/kernel/asm-offsets.s
CHK include/asm-i386/asm_offsets.h
CC [M] /home/don/Documents/spca5xx-10092004-patched/drivers/usb/spca50x.o
CC [M] /home/don/Documents/spca5xx-10092004-patched/drivers/usb/spcadecoder.o
LD [M] /home/don/Documents/spca5xx-10092004-patched/spca50x.o
Building modules, stage 2.
CC /home/don/Documents/spca5xx-10092004-patched/spca50x.mod.o
LD [M] /home/don/Documents/spca5xx-10092004-patched/spca50x.ko
make[1]: Leaving directory `/usr/src/linux-2.6.3-7mdk'
[root@localhost spca5xx-10092004-patched]# make install
install -c -m 0644 spca50x.ko /lib/modules/`uname -r`/kernel/drivers/usb/media/
/sbin/depmod -ae
[root@localhost spca5xx-10092004-patched]#

gnomeeting looks for a /dev/video1 or /dev/video2.
I have neither.
Mine is /proc/bus/usb/002/003
sane-find-scanner lists it as 'libusb:002:003'

wytiger 09-24-2004 09:05 AM

The install looks good from my perspective... check dmesg to verify that the spca50x driver registered.

If you have xawtv installed, you can try xawtv -hwscan as root and as yourself. If your device is really registered, it should show up there.

Also, try v4l-info, which should give you more info on your devices.

d1l2w3 09-24-2004 11:45 AM

It is working.
Thank you for your time and effort.
Below is what 'dmesg' has to say.
Does the 'kernel tainted' mean anything?

Linux video capture interface: v1.00
spca50x: no version for "struct_module" found: kernel tainted.
/home/don/Documents/spca5xx-10092004-patched/drivers/usb/spca50x.c: USB SPCA5XX camera found. Type MicroInnovation IC150 (SPCA561+PB100)
/home/don/Documents/spca5xx-10092004-patched/drivers/usb/spca50x.c: [spca50x_probe:7323] Camera type GBRG

I have another problem now.
I don't know if any of what I did caused it.
I use KDE. However, after getting gnomemeeting working an icon for gnomemeeting appears on one of my desktops and that desktop is now Gnome whereas the others are KDE. Seems weird to me.

Anyway, that's another matter.
Once again I thank you.

wytiger 09-24-2004 01:20 PM

My pleasure. I'm glad that we were able to get it working! :)

As far as the 'kernel tainted' message is concerned, I wouldn't worry too much. That message is typically associated with non-GPL code being inserted into the kernel. While the spca50x driver is GPL, it does not explicitly state it, which may be the reason for the message.

Enjoy your webcam! :D

All times are GMT -5. The time now is 02:01 PM.