LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-22-2004, 04:54 PM   #31
wytiger
Member
 
Registered: Nov 2003
Location: Virginia
Distribution: Fedora Core 4
Posts: 121

Rep: Reputation: 15

d1l2w3:

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

Code:
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:

Code:
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:

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

make clean
make
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.
 
Old 09-22-2004, 08:54 PM   #32
d1l2w3
Member
 
Registered: May 2004
Location: Amboy WA USA
Distribution: Mandriva 2007
Posts: 366

Original Poster
Rep: Reputation: 30
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.
PLEASE IGNORE THE "Overriding SUBDIRS" WARNING
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.
MODPOST
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'
 
Old 09-24-2004, 09:05 AM   #33
wytiger
Member
 
Registered: Nov 2003
Location: Virginia
Distribution: Fedora Core 4
Posts: 121

Rep: Reputation: 15
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.

Last edited by wytiger; 09-24-2004 at 09:09 AM.
 
Old 09-24-2004, 11:45 AM   #34
d1l2w3
Member
 
Registered: May 2004
Location: Amboy WA USA
Distribution: Mandriva 2007
Posts: 366

Original Poster
Rep: Reputation: 30
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.
dlw
 
Old 09-24-2004, 01:20 PM   #35
wytiger
Member
 
Registered: Nov 2003
Location: Virginia
Distribution: Fedora Core 4
Posts: 121

Rep: Reputation: 15
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!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How To Install A Usb Webcam [Genius WebCam on Suse 9.1 Personal] ofvergara SUSE / openSUSE 4 11-29-2006 12:09 PM
How do I INstall my WebCam chem1 Linux - Hardware 8 06-29-2006 11:49 AM
webcam problem pwc install steveel Slackware 3 11-17-2005 10:22 PM
How to install a Labtec webcam? jayhel Slackware 3 03-14-2005 10:17 PM
Labtec Webcam Rh9 2.4.20-6 install help konflict676 Linux - Hardware 0 07-28-2004 10:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration