Logitech Webcam (quickcam express plus) won't work with Ubuntu 8.04
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Logitech Webcam (quickcam express plus) won't work with Ubuntu 8.04
I'm having a confusing time with this webcam. When I plug it in, dmesg shows it is recognised and needs the module gspca_spca561
[ 6644.595789] usb 1-6: new full speed USB device using ohci_hcd and address 4
[ 6644.707379] usb 1-6: configuration #1 chosen from 1 choice
[ 6644.752736] Linux video capture interface: v2.00
[ 6644.755290] gspca: main v2.6.0 registered
[ 6644.756667] gspca: probing 046d:092f
[ 6644.847191] gspca: probe ok
[ 6644.847213] usbcore: registered new interface driver spca561
[ 6644.847217] spca561: registered
[ 6644.860949] gspca: disagrees about version of symbol video_devdata
[ 6644.860959] gspca: Unknown symbol video_devdata
[ 6644.861179] gspca: disagrees about version of symbol video_unregister_device
[ 6644.861181] gspca: Unknown symbol video_unregister_device
[ 6644.861264] gspca: disagrees about version of symbol video_device_alloc
[ 6644.861266] gspca: Unknown symbol video_device_alloc
[ 6644.861296] gspca: disagrees about version of symbol video_register_device
[ 6644.861307] gspca: Unknown symbol video_register_device
[ 6644.861451] gspca: disagrees about version of symbol video_usercopy
[ 6644.861453] gspca: Unknown symbol video_usercopy
[ 6644.861483] gspca: disagrees about version of symbol video_device_release
[ 6644.861485] gspca: Unknown symbol video_device_release
However, there is no result in skype, ekiga, or awetv, although the device /dev/video0 is created.
A short while ago, there was a kernel update from Ubuntu 2.6.24-23-generic to 2.6.24-24-generic, and the webcam magically started working, using a different module, gspca. However, after some celebration, I found that my usb tv dongle, which uses the dvb_usb_af9015 module, ceased working.
I corrected this by recompiling the dvb_usb_af9015 module, using source from http://linuxtv.org/hg/~anttip/af9015/ ----after another celebration, I found that the webcam had stopped working again, and I have not been able to make it work since, despite recompiling the gspca module from http://mxhaard.free.fr/download.html.
Attempting to insert the gspca module produced from this gives:
insmod: error inserting 'gspca.ko': -1 Unknown symbol in module
Another thing I've noted, is that the gspca module will work when I boot into earlier kernels (eg 2.6.24-21-generic).
If anyone who has read this far can suggest what might be going on, I would appreciate it.
Well, I fixed it, I reinstalled the original modules and image file for Ubuntu 2.6.24-24-generic, which got the webcam working again. Here are my notes, which got the tv dongle back, in case it's a help to someone else
I had the gspca module in quite a few locations after all this
This version of the module won't install, has symbol errors
-rw-r--r-- 1 root root 394136 2009-04-24 18:42 /lib/modules/2.6.24-24-generic/ubuntu/media/gspcav1/gspca.ko
Each version of the older kernel, through 2.6.24-19 to 2.6.24-23 has identical modules listed.
This version of the module is the one which installs OK ---the one I reinstalled with synaptic package manager.
-rw-r--r-- 1 root root 1428901 2009-05-17 14:50 /lib/modules/2.6.24-24-generic/kernel/drivers/usb/media/gspca.ko
This is almost the same one that I compiled after downloading from the mxhaard site, which also works:
pete@putting:~$ ll /home/pete/tmp/gspcav1-20071224/gspca.ko
-rw-r--r-- 1 pete pete 1428310 2009-05-15 10:16 /home/pete/tmp/gspcav1-20071224/gspca.ko
Here's another one, which I downloaded and compiled from the Easycam site, and has the same number of bytes as the first one above.
pete@putting:~$ ll /usr/share/EasyCam2/drivers/gspca/gspca.ko
-rw-r--r-- 1 root root 1428901 2009-05-17 14:50 /usr/share/EasyCam2/drivers/gspca/gspca.ko
It loads OK, the only difference in the lsmod is the memory used for gspca is slightly different, at 696016 bytes
Note that you can't modprobe a .ko file - eg
~$ sudo modprobe -v /usr/share/EasyCam2/drivers/gspca/gspca.ko
FATAL: Module /usr/share/EasyCam2/drivers/gspca/gspca.ko not found.
You can insmod a .ko file, but must have the dependent modules modprobed first-- find these using modinfo gspca. Then:
~$ sudo modprobe videodev
~$ sudo modprobe compat_ioctl32
Ekiga identifies it as a Logitech Quickcam EC under the v4l tab
Cheese works, but doesn't give any details.
xawtv works well, shows video source as spca561, the module that doesn't work in this situation, but probably is referring to the chip the camera uses. Shows ??? in the title bar.
Skype works, also shows it a Logitech Quickcam EC(/dev/video0)
(lsusb shows it as: ID 046d:092f Logitech, Inc. QuickCam express Plus)
So, what's going on, everything works now, but as soon as I install my leadtek USB Dongle gold, I know the webcam will be broken. I'm supposing that the some of the dependent modules get overwritten by the install, and they are different, don't support the webcam.
Following the tutorial in http://ubuntuforums.org/showthread.php?t=606487, in particular:
Install at least the following packages
- Download the firmware to /lib/firmware/dvb-usb-af9015.fw
- remove any loaded v4l and dvb modules from your kernel
* first check what modules are loaded by issuing 'lsmod'
* remove modules by calling modprobe --remove modulename
ex: 'sudo modprobe --remove v4l2_common'
* if you get the error message "FATAL: Module v4lsomething is in use.", check which module is using it, and remove that one first.
- Download and unpack af9015-(use the latest).tar.bz2 from http://linuxtv.org/hg/~anttip/af9015/
- go to the af9015-ca6a41d1798b directory
- run `make`
- go to the subdirectory v4l (typing ls *.ko should show a whole bunch of kernel modules)
- 'sudo modprobe i2c-core'
- 'sudo insmod ./dvb-core.ko'
- 'sudo insmod ./dvb-usb.ko'
- 'sudo insmod ./mt2060.ko'
- 'sudo insmod ./qt1010.ko'
- 'sudo insmod ./af9013.ko'
- 'sudo insmod ./dvb-usb-af9015.ko'
Note: If you get something like "symbol not found (-1)" while insmod:ing the modules, check dmesg for the details and try to figure which module you are missing.
(I noticed it was using 2.6.24-21-generic at the start of the make, so stopped it, did a "make clean", "make release", which apparently points things to the current kernel, then "make" again.)
After successfully doing this, you get an lsmod like this
dvb_usb_af9015 38848 0
dvb_usb 26508 1 dvb_usb_af9015
dvb_core 105772 1 dvb_usb
af9013 23684 1
qt1010 9092 0
mt2060 7556 0
gspca 696016 0
compat_ioctl32 11136 1 gspca
videodev 30720 1 gspca
v4l2_common 21888 2 compat_ioctl32,videodev
v4l1_compat 15492 1 videodev
The tv dongle and the webcam now work together.
The next step is to reboot and try to make things automatic.
In my case, I don't need the qt1010 or mt2060 modules. the dvb_usb and dvb_core modules were a different size, so after rebooting, I removed them with modprobe -r dvb-usb (don't need to do dvb_core, it is automatic, then put them back with insmod, dvb-core.ko first, dvb-usb.ko next. Then insmod af9013.ko then dvb-usb-af9015.ko.
After that, the tv dongle was happy again.
Now that I know which modules need replacing, I copied the modules from my build directory, to the normal places they reside in /lib/modules, making a backup first:
tmp/af9015-46560e0b658e/v4l$sudo mv /lib/modules/2.6.24-24-generic/kernel/drivers/media/dvb/dvb-usb/dvb-usb.ko /lib/modules/2.6.24-24-generic/kernel/drivers/media/dvb/dvb-usb/dvb-usb.ko.buUsinNewModule (made a backup of the ubuntu produced module in case this didn't work)
Of course, I did this for modules dvb-core, af9013, and dvb-usb-af9015 as well.
I did a sudo depmod -a, then rebooted.
Tv dongle and webcam OK again hopefully nothing else has been ruined, and I can use these notes for the next kernel upgrade, which will probably break things again....