Webcam recognized by Linux but not cheese or camorama- help?
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.
Webcam recognized by Linux but not cheese or camorama- help?
I have a webcam that isn't working. It is an old one, but it worked in Windows and Linux recognizes it. Running lsusb identifies it as a Logitec Quickcam (which it is). However when I run cheese it says that no webcam is detected, and when I run camorama it says "could not connect to video device (/dev/video0) Please check connection".
The cheese help window recommends running "dmesg" to see if it recognises the camera, and it does. Is there anything else I can do to get the camera working?
Thanks for the suggestion. I downloaded the driver but I am afraid I am not smart enough to get it working.
The driver includes the following instructions:
Quote:
The driver module can be built without modifying your kernel source tree.
Before trying to compile the driver, ensure that you've configured your
kernel, and updated the dependencies:
'make [config|menuconfig|xconfig]; make dep'.
Make sure, when compiling the driver, you use the same version of compiler as
was used to compile your kernel. Not doing so can create incompatible binaries.
as root
goes to gspcav1 directory and run:
./gspca_build
if all goes right the module is compiled and load in memory
if not, errors messages can be found in kgspca.err You should post this file to the maintainer
or in the sourceforge project bugs report: http://sourceforge.net/projects/spca50x/ .
Typing 'make [config|menuconfig|xconfig]; make dep' results in a few different errors: "[menuconfig: not found" "xconfig: not found" "no rule to make target '[config' Stop." "No rule to make target 'dep' Stop."
Obviously, unable to get that to work I haven't tried the following steps yet.
The kernel source is the source code which compiles a kernel. Your nearest mirror is
ftp://ftp.<your-country-code>.kernel.org/, in my case, ftp.ie.kernel.org
Grab the source from there, or install it from your distribution package (linux-version or kernel-source-version). Then cp in your config-version from boot and rename it to .config.
This will usually land in /usr/src/linux-version. You can simply copy in the config file from boot, and run
make clean && make
If this fails, you don't have compile tools installed. We'll go there.
Just how old of a webcam? Some are only supported in v4l1, and not v4l2. Which might be the issue if those other apps expect / only work with v4l2. Perhaps v4l1_compat module or other things are not in use? Or you might be limited to things like xawtv and others to use your devices. Assuming that it works in the first place.
Are we still looking at making a kernel to add the webcam modules?
install your kernel source package from your distribution's install disks - usually linux-version. Check also that you have gcc and make
which gcc
which make
If you don't have them, install them. If you have yum, you can do
yum list <pachage>
yum install <package>
Then run this
cd /usr/src/linux-2.6.28.15
cp /boot/config-2.6.28.15-generic .config #The '.' is very important
make
That last one should hopefully set a lot of work going. Then come in with your webcam modules, and follow _their_ instructions.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.