LinuxQuestions.org
Help answer threads with 0 replies.
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 07-16-2006, 03:11 PM   #1
tur third
Member
 
Registered: Jun 2005
Location: Surrey, UK
Distribution: Ubuntu 10.04, 10.10
Posts: 187

Rep: Reputation: 24
webcam with spca5xx module not found


I have bought a Labtec webcam pro, which should be supported by spca5xx kernel module.

I had problems installing the tar file and instead installed the rpm file:

dkms-spca5xx-0.57.00-2mdk
(i'm using Mandriva 2006)

This had some dependencies which resolved themselves except for kernel source ( I did 'urpmi kernel-source' to install that)

How ever I do not know what to do next to get it to work. Can anyone help.

My lsusb is:
[root@localhost dev]# lsusb
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 002: ID 046d:08a2 Logitech, Inc.
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 004: ID 06b9:4061 Alcatel Telecom Speed Touch ISDN or ADSL Modem
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000

And lsmod is does not have spca5xx and when I try to add this I get:

[root@localhost dev]# modprobe spca5xx
FATAL: Module spca5xx not found.
[root@localhost dev]#

Thanks
 
Old 07-16-2006, 05:46 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,824
Blog Entries: 54

Rep: Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992
Installing the dkms-spca5xx-0.57.00-2mdk RPM places the source for the spca5xx in /usr/src/spca5xx-0.57.00, then dkms should build it, could be it failed. I don't know if this will work but I ripped most of the commands from the rpm so it should, try running this in a shell:
dkms status -m spca5xx -v 0.57.00 2>&1 | tee -a /tmp/dkms.log
dkms add -m spca5xx -v 0.57.00 2>&1 | tee -a /tmp/dkms.log
dkms build -m spca5xx -v 0.57.00 2>&1 | tee -a /tmp/dkms.log
dkms install -m spca5xx -v 0.57.00 2>&1 | tee -a /tmp/dkms.log
then post /tmp/dkms.log.

Last edited by unSpawn; 07-16-2006 at 05:49 PM. Reason: //have keybd, can't type.
 
Old 07-17-2006, 04:01 PM   #3
tur third
Member
 
Registered: Jun 2005
Location: Surrey, UK
Distribution: Ubuntu 10.04, 10.10
Posts: 187

Original Poster
Rep: Reputation: 24
Talking Success, webcam looks to be working now!

Thanks for the help unSpawn! This has enabled me to see the error of my ways. I did as you suggested and ran the dkms commands. Running 'dkms build' told me that I did not have the kernel source installed. (not sure what went wrong there).

Code:
Error! Your kernel source for kernel 2.6.12-12mdk cannot be found at
/lib/modules/2.6.12-12mdk/build or /lib/modules/2.6.12-12mdk/source.
You can use the --kernelsourcedir option to tell DKMS where it's located.
I downloaded the right kernel source rpm, being one for '2.6.12-12'. This put the source in the required directories.

I then completed the dkms commands, and typed

Code:
modprobe spca5xx
lsmod now shows
Code:
spca5xx               342160  0
videodev                7104  1 spca5xx
Then configured GnomeMeeting, and am now looking at a picture of myself!

Thanks again for your help.
 
Old 07-17-2006, 04:30 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,824
Blog Entries: 54

Rep: Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992
You're welcome.
 
Old 09-14-2006, 04:51 PM   #5
wombat21
LQ Newbie
 
Registered: Sep 2006
Location: Caen, France
Distribution: Mandriva LE & 2006
Posts: 2

Rep: Reputation: 0
Mandriva and Logitech Quickcam IM

Hello,

I am in a similar situation with Mandriva 2006. The only difference is that I am using the Logitech Quickcam IM (046d:08d9).

I have installed properly the spca50xx driver which is known to work for this webcam.

My problem with Mandriva is that the webcam is recognized by udev as a audio device. Then obviously having the right driver does not help !
I guess the udev config needs to be changed in order to load the right modules and create /dev/video !

Below you will find the /var/log/messages part generated when I plug it in.

Many thanks for your help.

Jan

> tail /var/log/messages
Sep 14 22:41:28 localhost kernel: usb 3-1: new full speed USB device using uhci_hcd and address 2
Sep 14 22:41:28 localhost kernel: usbcore: registered new driver snd-usb-audio
Sep 14 22:41:28 localhost kernel: usbcore: registered new driver audio
Sep 14 22:41:28 localhost kernel: drivers/usb/class/audio.c: v1.0.0:USB Audio Class driver
Sep 14 22:41:28 localhost udev[4470]: run_program: exec of program failed

> lsusb
Bus 003 Device 002: ID 046d:08d9 Logitech, Inc.

Last edited by wombat21; 09-15-2006 at 02:43 AM.
 
Old 09-18-2006, 07:09 AM   #6
tur third
Member
 
Registered: Jun 2005
Location: Surrey, UK
Distribution: Ubuntu 10.04, 10.10
Posts: 187

Original Poster
Rep: Reputation: 24
Does spca50xx appear in the list of modules added to your kernel when you type:

lsmod
 
Old 09-19-2006, 08:14 AM   #7
wombat21
LQ Newbie
 
Registered: Sep 2006
Location: Caen, France
Distribution: Mandriva LE & 2006
Posts: 2

Rep: Reputation: 0
Hi,

I solved that problem over the weekend but did not have time to post my solution.

So what did I do ?
- I uninstalled the rpm dkms-spca5xx-0.57.00-2mdk (this needs to be done first with dkms and then rpm).
- I downloaded the tarball of spca5xx
- Complied and installed it as instructed.
- performed the modprobe and added the alias in modules.conf

Now the webcam works as designed. I still have the error message : "udev[4470]: run_program: exec of program failed" but that does not seem to bother the system more than that.

Thus I guess that something is wrong in the dkms package of spca5xx for Mandriva 2006 and that udev also has some problems left.

I hope this helps others.

Jan
 
  


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
Webcam software spca5xx-0.57.00 install errors dmwjag Linux - Software 12 05-21-2007 11:08 PM
spca5xx missing my webcam model lukebeales Linux - Hardware 5 06-29-2006 09:52 PM
webcam module squimmy Linux - Software 1 02-05-2006 02:56 PM
kernel 2.6.8-2-k7 and webcam spca5xx driver crispyleif Linux - Software 3 11-20-2005 07:31 PM
fglrx module not found but X runs using module biger problem though HELP! fireicer Linux - Newbie 4 07-30-2004 05:44 PM


All times are GMT -5. The time now is 08:59 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration