2008-07-20

Logitech QuickCam Communicate MP Plus on Ubuntu Linux 7.10/8.04

by Forrest Sheng Bao http://fsbao.net

The QuickCam Communicate MP Plus (USB ID number: 046d:09a1) is supported by uvcvideo project. Thus, it could work with Linux without any problem. But Ubuntu 7.10/8.04 doesn't support it out of the box, maybe because they didn't come with the latest version of uvcvideo.

So, a five-minute work is needed to rock the webcam.

  1. Download the latest uvcvideo driver by executing
    svn checkout svn://svn.berlios.de/linux-uvc/linux-uvc/trunk
    Then you should see a new folder called trunk under current working directory. Enter that folder.
  2. Compile the driver. Please make sure that you have installed the Linux kernel source code before doing so.
    forrest@dolphin:~/trunk$ make
    Building USB Video Class driver...
    make[1]: Entering directory `/usr/src/linux-headers-2.6.22-15-generic'
    CC [M] /home/forrest/trunk/uvc_driver.o
    LD [M] /home/forrest/trunk/uvcvideo.o
    Building modules, stage 2.
    MODPOST 1 modules
    LD [M] /home/forrest/trunk/uvcvideo.ko
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-15-generic'
  3. I found the sudo make install doesn't work. So, go to the directory containing old uvcvideo driver and replace the old kernel module (on my computer, it is /lib/modules/2.6.22-15-generic/ubuntu/media/usbvideo/uvcvideo.ko ) by the new uvcvideo.ko under your current working directory. It would be better to backup the old uvcvideo.ko before overwriting. For example, I did:
    sudo mv /lib/modules/2.6.22-15-generic/ubuntu/media/usbvideo/uvcvideo.ko /lib/modules/2.6.22-15-generic/ubuntu/media/usbvideo/uvcvideo-bakcup.ko
    sudo cp uvcvideo.ko /lib/modules/2.6.22-15-generic/ubuntu/media/usbvideo/uvcvideo.ko
  4. Remove the old kernel module and load the new one.
    sudo modprobe -r uvcvideo
    sudo modprobe uvcvideo
  5. Then you can test it by any webcam capture problem, for example, the cheese or camstream, or Skype. When capturing video, the green indication LED on the webcam will be on. The snd_usb_audio module should support the building microphone of the webcam out-of-the-box.

If you have any problem, don't hesitate to bother me.

2 comments:

Pepe Usagre said...

Hello Thanks by the explanation. I have been able to install the webcam in Ubuntu 7.10. But I have a problem with skype, I can´t use the micro.I hear but not listen me.
lspci| grep -i audio
00:05.0 Audio device: nVidia Corporation MCP61 High Definition Audio (rev a2)
lspci
00:00.0 RAM memory: nVidia Corporation MCP61 Memory Controller (rev a1)
00:01.0 ISA bridge: nVidia Corporation MCP61 LPC Bridge (rev a2)
00:01.1 SMBus: nVidia Corporation MCP61 SMBus (rev a2)
00:01.2 RAM memory: nVidia Corporation MCP61 Memory Controller (rev a2)
00:02.0 USB Controller: nVidia Corporation MCP61 USB Controller (rev a3)
00:02.1 USB Controller: nVidia Corporation MCP61 USB Controller (rev a3)
00:04.0 PCI bridge: nVidia Corporation MCP61 PCI bridge (rev a1)
00:05.0 Audio device: nVidia Corporation MCP61 High Definition Audio (rev a2)
00:06.0 IDE interface: nVidia Corporation MCP61 IDE (rev a2)
00:07.0 Bridge: nVidia Corporation MCP61 Ethernet (rev a2)
00:08.0 IDE interface: nVidia Corporation MCP61 SATA Controller (rev a2)
00:09.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2)
00:0b.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2)
00:0c.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2)
00:0d.0 VGA compatible controller: nVidia Corporation GeForce 6100 nForce 405 (rev a2)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
Bye

Anonymous said...

FYI: This is what I get following these directions on ubuntu 8.10
------------------- WARNING
------------
The USB Video Class driver has moved to http://linuxtv.org/.
Using the Berlios SVN repository is now deprecated.
Please check http://linux-uvc.berlios.de/ for download instructions.
If you really want to compile this historical version, run 'make uvcvideo'.
--------------------------------------------------------------------------------