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 |
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. |
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 I then completed the dkms commands, and typed Code:
modprobe spca5xx Code:
spca5xx 342160 0 Thanks again for your help. |
You're welcome.
|
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. |
Does spca50xx appear in the list of modules added to your kernel when you type:
lsmod |
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 |
All times are GMT -5. The time now is 12:30 AM. |