Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
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?


  Search this Thread
Old 05-27-2009, 09:00 AM   #1
Registered: Aug 2008
Posts: 86

Rep: Reputation: 15
Question Linux Driver for Quickcam USB cameras

Hi There,

I am trying to install a logitech quickcam on suse linux v10.3.
I am using a driver package called qc-usb-0.6.6 for which these are needed ...

Kernel >= 2.2.18, kernel 2.4.x, or kernel 2.6.x with USB and V4L support. If you are running a version 2.2 kernel, you really need to upgrade to at least 2.4.
Kernel source for the kernel you are running. The symbolic link /lib/modules/`uname -r`/build should point to the source directory.

What does this all mean ? What do I actually need to do here ?
What is V4L and how do I install it ? rpm ?

When I run the driver install script (which will fail) I get this ....

Now checking if you have kernel source installed.
Press Ctrl+C to quit, Enter to continue --->

awk: cmd. line:1: fatal: cannot open file `/usr/src/linux/include/linux/version.h' for reading (No such file or directory)
/bin/sh: line 0: [: -ge: unary operator expected
/bin/sh: line 0: [: -ge: unary operator expected
Kernel source directory: /usr/src/linux
[!] Can not find kernel source or even headers.

Any help would be appreciated ...


Steven Matthews
Old 05-27-2009, 09:44 AM   #2
Senior Member
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
V4L means video 4 linux. It is a separate software package. You should be able to find it in your distribution's software package repository. Your distribution's software repository probably has two versions of V4L. These are version 1 and version 2. You should probably install version 2 if it is available.

I have found that Logiteck Quickcams generally work with the generic UVC driver when combined with V4L. UVC means USB video codec. This should be available in your distribution's software package repository.

Once you've installed video 4 linux and USB video codec you will need an application to use the camera. I've had good results with XawTV. This should also be available in your distribution's software package repository.

Quick start steps:
- Unplug the camera if it is possible to do so. If the camera is built into the computer then don't worry about disconnecting it.

- Install video 4 linux.

- Install USB video codec.

- Install Xawtv.

- Plug the camera into the computer.

- Start Xawtv. If it won't start then it probably doesn't see any video devices.

- If Xawtv does start then the camera active light on the camera should turn on and you should see a picture of what the camera sees in the Xawtv window.

I have had pretty good luck withe the Kubuntu 8.04 and PCLinuxOS 2009 distributions with regard to webcams and wireless NICs.

The Fedora Core 10 release notes say that they have put in a lot of effort to make webcams easy to use with their distribution. I have not tested webcams on this distribution.

You may find, as I did, that a hardware device doesn't seem to work no matter what you do. Then after a patch update the device starts to work. This happened to me on Kubuntu 8.04 with a webcam after the hal-info package was automatically upgraded.

Getting webcams to work in Linux is pretty much a matter of trial and error and luck. That is why I have used words like 'probably' in this reply. You can't be sure that any set of instructions will work in a particular situation.

I would make sure that I used a 32 bit distribution rather than a 64 bit distribution. I just tried to get my Quickcam to work on my 64 bit Kubuntu machine and failed totally even though the camera works on my 32 bit Kubuntu machine. This could be due to any number of things such as the motherboard BIOS microcode or whatever. It's really difficult to diagnose webcam failures because this is a fairly new area for Linux.

If the camera is going to work then the HAL (hardware abstraction layer) software should map it to /dev/video0. You can look in the /dev directory to see if a video0 device exists after you plug the camera into the computer. You can also look at the system kernel messages after you plug the camera into the computer to see if there are messages indicating that Linux has detected your camera and loaded a driver for it. You can open a terminal window and enter the dmesg command. If the camera is detected then you should see something like the following at the end of the messages.
# dmesg
[  132.430743] usb 5-2: new high speed USB device using ehci_hcd and address 4
[  132.691246] usb 5-2: configuration #1 chosen from 1 choice
[  132.691867] uvcvideo: Found UVC 1.00 device <unnamed> (046d:0990)
If Xawtv doesn't work then try another application such as Zapping TV Viewer or KDE TV Viewer.

Last edited by stress_junkie; 05-27-2009 at 10:27 AM.


camera, video, 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

Similar Threads
Thread Thread Starter Forum Replies Last Post
quickcam easy qc-usb driver build error anirudhvij Linux - Software 0 05-03-2007 04:24 AM
quickcam usb driver showwaddy Linux - Hardware 1 07-11-2006 06:19 AM
LXer: Linux QCam driver for QImaging FireWire cameras LXer Syndicated Linux News 0 06-08-2006 05:21 AM
SD Cards / USB Cameras lucianomx Red Hat 6 01-08-2006 11:42 AM
QuickCam USB Device Driver Tanyakolee Linux - Hardware 1 05-18-2002 03:35 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:42 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration