Welcome!
Wednesday 08 September 2010 @ 15:01 CEST

Linux and Logitech QuickCam Pro 9000

TechI've been on the lookout for a decent webcam. After some searching, the choice fell on Logitech QuickCam Pro 9000, which should be supported according to the Linux UVC driver page. It's not one of the cheaper models, but not the most expensive either. It also has "HD-quality" (which in this case translates to resolution up to 1600x1200). So how does this camera works under Linux?

My first thought after unwrapping was "Is that it?". It was smaller than I had anticipated. But when it comes to webcam, smaller is better I guess.

Ubuntu 7.10 (i386) ships with UVC drivers, but they are too old. So we install new ones from trunk:

(Update! This webcam works out of the box on Ubuntu 8.04)

 $ svn checkout svn://svn.berlios.de/linux-uvc/linux-uvc/trunk
$ cd trunk
$ make
$ sudo make install

When we now plug in the camera, it's detected properly:

$ dmesg
...
[14323.676000] usb 5-1: new high speed USB device using ehci_hcd and address 7
[14323.932000] usb 5-1: configuration #1 chosen from 1 choice
[14324.056000] Linux video capture interface: v2.00
[14324.168000] usbcore: registered new interface driver snd-usb-audio
[14324.180000] uvcvideo: Found UVC 1.00 device (046d:0990)
[14324.196000] usbcore: registered new interface driver uvcvideo
[14324.200000] USB Video Class driver (v0.1.0)

$ lsusb
...
Bus 005 Device 007: ID 046d:0990 Logitech, Inc.

We see the modules are loaded:

$ lsmod | grep uvc
uvcvideo 48644 0
compat_ioctl32 2304 1 uvcvideo
videodev 29312 1 uvcvideo
v4l1_compat 15364 2 uvcvideo,videodev
v4l2_common 18432 2 uvcvideo,videodev
usbcore 138632 10 snd_usb_audio,uvcvideo,snd_usb_lib,hci_usb,appleir,xpad,usbhid,ehci_hcd,uhci_hcd

The camera also has a built in microphone, which is detected and works (number #1 here):

$ cat /proc/asound/cards
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0x90440000 irq 21
1 [U0x46d0x990 ]: USB-Audio - USB Device 0x46d:0x990
USB Device 0x46d:0x990 at usb-0000:00:1d.7-1, high speed

Time for testing!

A capable webcam viewer is luvcview. It has the ability to take snapshot (photos), record video (avi), change resolution etc. We download and install luvcview from here.

One nice feature is to list all supported resolutions:

 $ luvcview -L
luvcview version 0.2.1
Video driver: x11
A window manager is available
video /dev/video0
/dev/video0 does not support read i/o
{ pixelformat = 'MJPG', description = 'MJPEG' }
{ discrete: width = 160, height = 120 }
Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5,
{ discrete: width = 176, height = 144 }
Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5,
{ discrete: width = 320, height = 240 }
Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5,
{ discrete: width = 352, height = 288 }
Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5,
{ discrete: width = 640, height = 480 }
Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5,
{ discrete: width = 800, height = 600 }
Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5,
{ discrete: width = 960, height = 720 }
Time interval between frame: 1/15, 1/10, 1/5,
{ pixelformat = 'YUYV', description = 'YUV 4:2:2 (YUYV)' }
{ discrete: width = 160, height = 120 }
Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5,
{ discrete: width = 176, height = 144 }
Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5,
{ discrete: width = 320, height = 240 }
Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5,
{ discrete: width = 352, height = 288 }
Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5,
{ discrete: width = 640, height = 480 }
Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5,
{ discrete: width = 800, height = 600 }
Time interval between frame: 1/25, 1/20, 1/15, 1/10, 1/5,
{ discrete: width = 960, height = 720 }
Time interval between frame: 1/10, 1/5,
{ discrete: width = 1600, height = 1200 }
Time interval between frame: 1/5,

1600x1200 is bigger than my screen here, so 960x720 will have to do. I had to disable SDL hardware acceleration to use resolution above 800x600, or else luvcview crashed:

 $ luvcview -w -s 960x720

The colors look good, it adapt well to light and I've had no stability issues (yet). The camera also works with ekiga (gnomemeeting):

Kopete:

And Skype (2.0 beta) (the microphone also works):

Trackback

Trackback URL for this entry: http://blog.larsstrand.org/trackback.php?id=Linux_and_LogitechQuickCamPro9000

Here's what others have to say about 'Linux and Logitech QuickCam Pro 9000':

Logitech Quickcam 9000 Pro und SuSe from www.endlich-nerd.de
Webcams und Linux sind keine ganz einfache Sache. Das war mir schon beim Kauf klar und daher habe ich mir auch brav vorher ergoogelt, was da derzeit angesagt und funktionsf?hig ist. H?ngen geblieben bin ich an der Logitech Quickcam 9000 Pro, die qualitati [read more]
Tracked on Friday 22 February 2008 @ 19:43 CET

?????? » Blog Archive » Webcams in Linux
Tracked on Sunday 20 April 2008 @ 07:40 CEST

usb webcam over network - openSUSE Forums
Tracked on Friday 21 August 2009 @ 14:39 CEST

Linux and Logitech QuickCam Pro 9000 | 28 comments | Create New Account
The following comments are owned by whomever posted them. This site is not responsible for what they say.
Linux and Logitech QuickCam Pro 9000
Authored by: Anonymous on Wednesday 20 February 2008 @ 05:02 CET
Thanks man!
It works with skype under my Debian Lenny with ?2.6.24-1-686-bigmem? kernel I got from Debian ?Sid?.
Linux and Logitech QuickCam Pro 9000
Authored by: Anonymous on Friday 22 February 2008 @ 15:52 CET
Thanks, very useful post. But I wonder why there's not 1280x1024 among the possible resolutions.... ?
Linux and Logitech QuickCam Pro 9000
Authored by: Anonymous on Sunday 02 March 2008 @ 00:38 CET
I can get the QC 9000 working under Ubuntu 7.10 with Skype, however after some random amount of time the camera locks up and I stop transmitting video even though I can still receive it. I've installed the latest UVC drivers from subversion but the problem still remains.

You guys don't seem to be having this problem? Any ideas

Regards

Brad
Linux and Logitech QuickCam Pro 9000 / efficiency?
Authored by: Anonymous on Friday 14 March 2008 @ 09:59 CET
On Windows, the cpu load when capturing and display 564x480 video from the logitech 9000 is quite high (25% on a 3.6 GHz pentium).
Is it that high with linux?
thanks
Linux and Logitech QuickCam Pro 9000
Authored by: Anonymous on Tuesday 17 June 2008 @ 00:39 CEST
I also found a nice server software for that webcam called "MJPG-streamer"
Linux and Logitech QuickCam Pro 9000
Authored by: Anonymous on Saturday 21 June 2008 @ 16:04 CEST
Thanks hor the nice Howto...

The cam works fine :)
Linux and Logitech QuickCam Pro 9000
Authored by: Anonymous on Monday 28 July 2008 @ 23:34 CEST
Unfortunately I'm not able to get my QuickCam Pro 9000 to work. I get:

uvcvideo: Found UVC 1.00 device <unnamed> (046d:0990)
uvcvideo: Failed to query (135) UVC control 1 (unit 0) : -110 (exp. 26).
uvcvideo: Failed to query (129) UVC control 1 (unit 0) : -110 (exp. 26).

I'll post again if I can find a solution--- I'm running Ubuntu 8.04 on x64.


Linux and Logitech QuickCam Pro 9000
Authored by: Anonymous on Wednesday 05 November 2008 @ 22:58 CET
I have had other Webcams which have worked out of the box in Linux, but which have created very high CPU load (one CPU on my Intel Centrino Duo) for just displaying a small video - I assume bad USB or Video drivers are to blame. How was the CPU load when you used your QucikCam Pro 9000?
Linux and Logitech QuickCam Pro 9000
Authored by: Anonymous on Sunday 04 January 2009 @ 06:56 CET
MJPEG-streamer is great. I use it to check my webcam at home while I am at work. I can just use FF to watch the stream...
Linux and Logitech QuickCam Pro 9000
Authored by: Anonymous on Monday 04 May 2009 @ 01:56 CEST
hello! thanks for the usefull infos on the page.
i wonder if you could post some additional info about how to focus this cam. can it be done manually or with the driver in linux?
it also would be very nice if you could post some macro shots taken with this camera under linux!

greets!
Linux and Logitech QuickCam Pro 9000
Authored by: Anonymous on Monday 15 June 2009 @ 00:37 CEST
working under Ubuntu 7.10 with Skype, however after some random amount of time the camera locks up and I stop transmitting video even though I can still receive it. I've installed the latest UVC drivers from subversion but the problem
Logitech QuickCam Pro 9000 microphone
Authored by: Anonymous on Tuesday 16 June 2009 @ 03:40 CEST
Thanks for the very informative post. I am trying to use the webcam with Skype and while the video works just fine, the microphone does not. I tried using the GNOME sound recorder app and Skype echo call but there was no input from the microphone.

System info:
Fedora 9 on x64 laptop.

Here is what I tried:

1. Set System->Preferences->System->Sound preferences->Device: USB device
2. Set Skype->Options->Sound Devices->Sound In->USB Device

You mentioned that the microphone worked for you on Skype. Any suggestions??
Linux and Logitech QuickCam Pro 9000
Authored by: Anonymous on Saturday 15 August 2009 @ 14:02 CEST
Superb! I've been working on getting my quickcam for ages, I almost gave up! Thank you! Jimmy @ Reborn Babies
Linux and Logitech QuickCam Pro 9000
Authored by: Anonymous on Wednesday 02 September 2009 @ 02:25 CEST
I just wanted to let everyone know the following tip. My framerate was terrible... 3 fps on average. ie: i would wave my hand and see it much later, if at all. I was able to increase my framerate by disabling auto-exposure and manually substantially increasing the exposure substantially: to ~180. This was done using luvcview.
Linux and Logitech QuickCam Pro 9000
Authored by: Anonymous on Friday 02 October 2009 @ 03:09 CEST
Lars, I followed the instructions, my camera works in the viewer, but it doesn't work in skype. When I run the test in skype my camera lights up, but there is no video in the test widow. The audio doesn't work either. Any suggestions?
Linux and Logitech QuickCam Pro 9000
Authored by: Anonymous on Wednesday 14 October 2009 @ 06:23 CEST
{ discrete: width = 1600, height = 1200 }
Time interval between frame: 1/5,
chris@chris-desktop:~$ sudo luvcview -w -s 1600x1200
luvcview 0.2.4

SDL information:
Video driver: x11
A window manager is available
Device information:
Device path: /dev/video0
Stream settings:
Frame format: MJPG
Frame size: 960x720 (requested size 1600x1200 is not supported by device)
Frame rate: 15/1 fps (requested frame rate 30 fps is not supported by device)

Quit signal received.
Cleanup done. Exiting ...
--
Why cant I force this resolution?
Linux and Logitech Webcam Pro 9000
Authored by: Anonymous on Monday 07 December 2009 @ 15:54 CET
Hello,
Is a Logitech Webcam pro 9000 similar to the Quickcam pro 9000. I have used the driver installation as outlined here on Mepis 7 and Mepis 8, but cannot get the Webcam pro 9000 to work. I have assumed that the same protocol would work with Webcam Pro 9000. It briefly gave an excellent image in Kopete, but after some further tweaking, it no longer works at all. When I try to access luvcview, I get the following output: nfflow@mepis7:~$ luvcview
luvcview version 0.2.1
Video driver: x11
A window manager is available
video /dev/video0
ERROR opening V4L interface
: No such file or directory
nfflow@mepis7:~$
Is there a different procdure to use for a Logitech Webcam Pro 9000. Thanks
Linux and Logitech QuickCam Pro 9000
Authored by: Anonymous on Saturday 05 June 2010 @ 20:41 CEST
Hi

thank you for the post but I have some question.

Webcam that I have is the same as yours (Logitech 9000, 046d:0990) and I am in luvcview witj -L command getting the same video format. For example, at 960x720 resolution, with MJPG maximum fps is 15. My question is how can I increase that to have maybe 20 fps or higher? I understand things about exposure, set that parametar very high, and testing with others features but maximum fps that I can archive is 15 fps at 960x720. I think that camera can do better. Is this limitation in UVC driver, V4L, or? Can I modify something?

Thank you.
Linux and Logitech QuickCam Pro 9000
Authored by: Anonymous on Tuesday 10 August 2010 @ 12:36 CEST
I have faced few issues as mentioned below while compilation of drivers ....after commenting those lines. All issues solved

<b> t613.c:1339: error: implicit declaration of function 'setfreq;</b>

<b>implicit declaration of function 'usb_alloc_coherent' </b>



Thanks for sharing info.