LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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
 
LinkBack Search this Thread
Old 09-24-2009, 02:58 AM   #1
Logomachist
LQ Newbie
 
Registered: Aug 2009
Posts: 20

Rep: Reputation: 0
Question 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?
 
Old 09-24-2009, 04:47 AM   #2
business_kid
Senior Member
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware 13.37 & Cyanogenmod 6.0
Posts: 3,833

Rep: Reputation: 313Reputation: 313Reputation: 313Reputation: 313
From memory
http://mxhaard.free.fr

Is _the_ source for linux drivers for webcams. Try looking there for ideas or drivers
 
Old 09-24-2009, 08:14 PM   #3
Logomachist
LQ Newbie
 
Registered: Aug 2009
Posts: 20

Original Poster
Rep: Reputation: 0
Question Th

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.
 
Old 09-25-2009, 03:38 AM   #4
business_kid
Senior Member
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware 13.37 & Cyanogenmod 6.0
Posts: 3,833

Rep: Reputation: 313Reputation: 313Reputation: 313Reputation: 313
I would cd to the kernel source, run

make clean
make (x/menu)config if required
make

no need to install - that's the kernel you already have, isn't it?
Then try his stuff.
 
Old 09-26-2009, 01:02 AM   #5
Logomachist
LQ Newbie
 
Registered: Aug 2009
Posts: 20

Original Poster
Rep: Reputation: 0
Where is the "kernal source"?
 
Old 09-27-2009, 05:52 AM   #6
business_kid
Senior Member
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware 13.37 & Cyanogenmod 6.0
Posts: 3,833

Rep: Reputation: 313Reputation: 313Reputation: 313Reputation: 313
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.
 
Old 10-14-2009, 01:19 AM   #7
Logomachist
LQ Newbie
 
Registered: Aug 2009
Posts: 20

Original Poster
Rep: Reputation: 0
I'm sorry but could you dumb it down a little further? What's "Then cp in your config-version from boot and rename it to .config."

What should I type on the command line?
 
Old 10-15-2009, 04:50 AM   #8
business_kid
Senior Member
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware 13.37 & Cyanogenmod 6.0
Posts: 3,833

Rep: Reputation: 313Reputation: 313Reputation: 313Reputation: 313
Post in newbie in future.

What's your distribution?
What does uname -r report?
 
Old 10-15-2009, 12:01 PM   #9
Shadow_7
Member
 
Registered: Feb 2003
Posts: 822

Rep: Reputation: 70
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.
 
Old 10-23-2009, 08:00 AM   #10
Logomachist
LQ Newbie
 
Registered: Aug 2009
Posts: 20

Original Poster
Rep: Reputation: 0
uname -r outputs "2.6.28-15-generic"

I'm running the latest version of Kubuntu; 9.04 I think.

The webcam is ancient. Like, from 2000 or so.
 
Old 10-24-2009, 04:19 AM   #11
business_kid
Senior Member
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware 13.37 & Cyanogenmod 6.0
Posts: 3,833

Rep: Reputation: 313Reputation: 313Reputation: 313Reputation: 313
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.
 
  


Reply

Tags
webcam


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Webcam Works under Cheese but not under Skype, help!!!! mstjohn1974 Linux - Hardware 4 08-07-2009 08:59 AM
WebCam: xawtv works, camorama/skype don't bkeeper Linux - Hardware 6 07-30-2009 02:11 AM
Chicony built-in Webcam on Toshiba Sattelite AMD crashing Cheese SLED 11 apmcomp Linux - Hardware 0 05-16-2009 04:44 AM
ekiga recignises logitec webcam, cheese doesnt Person_1873 Linux - Software 2 02-01-2009 10:32 PM
Cheese video patchy with Internal Webcam on HP DV9000 w/ubuntu studio. Rockgod2099 Linux - Software 1 12-22-2007 04:50 PM


All times are GMT -5. The time now is 03:46 PM.

Main Menu
 
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
Open Source Consulting | Domain Registration