Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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:
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 04:49 PM.
Reason: //have keybd, can't type.
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!
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.