个人工具

UbuntuHelp:InstallingLogitechQuickcamPro5000OnEdgy

来自Ubuntu中文

跳转至: 导航, 搜索

<<Include(Tag/Unsupported)>> Installing Logitech Quickcam Pro 5000 on Edgy Do everything as root

Confirm hardware

 lsusb

You should see a line similar to

 Bus 001 Device 002: ID 046d:08c5 Logitech, Inc

Install driver

 aptitude install libpt-plugins-v4l2 v4l2ucp subversion libsdl1.2-dev
 svn checkout svn://svn.berlios.de/linux-uvc/linux-uvc/trunk
 cd trunk
 make
 make install

luvcview

luvcview allows you to see what the webcam sees, and take pics and videos from it.

Download/installation

 wget http://mxhaard.free.fr/spca50x/Investigation/uvc/luvcview-20060920.tar.gz
 zcat luvcview-20060920.tar.gz |tar xvf -
 cd luvcview-20060920
 make
 make install
 luvcview

Usage

At the command prompt, type

 luvcview

You will see the webcam image in the main window. Down the bottom of the screen will be a row of buttons. When you hover your mouse over the buttons, you will see the title bar on the window describe its purpose.

  • The button "Take a Picture" will save an image to quickcam.jpg
  • The button "AVI Start/Stop" starts/stops saving to a video called video.avi

These items will be saved in the current working directory

Mysteries needing resolution

I have yet to determine how to combine the webcam with other programs like camorama and instant messaging. Any ideas? I saw a post at http://www.mail-archive.com/[email protected]/msg00808.html:

 Wed, 28 Feb 2007 14:47:54 -0800
 
 > I have successfully compiled and loaded the uvcvideo module with the
 > Logitech Quickcam Fusion, but have not gotten it to work with any
 > applications. dmesg gives
 ...
 > However when I try to use the camera with xawtv  it gives:
 >
 > This is xawtv-3.94, running on Linux/i686 (2.6.13.2)
 > /dev/video0 [v4l2]: no overlay support
 ...
 
 Xawtv is known not to work with the Linux UVC driver. It doesn't support V4L2 
 properly. The latest mplayer version should work, as I sent a patch to fix a 
 few small problems. You could also try luvcview and ekiga.

From http://www.linuxtv.org/v4lwiki/index.php/Webcams:

    * The linux-uvc driver is V4L2-only. This means applications which support V4L1 only will not work. V4L1 is officially deprecated, and have been removed from the kernel recently, so most drivers have or will switch to V4L2 anyway. 

    * The 4 webcams mentioned above compress images in MJPEG for resolutions up to 960x720. This means that applications must be able to decompress MJPEG streams to use the webcam at lower resolutions. Ekiga supports MJPEG compression. 

    * On some hardware, a possible bug in the webcam firmware is triggered by Linux. L

From http://ubuntuforums.org/showthread.php?t=321862:

 Webcam drivers are broken in edgy. If you must have webcam support, use dapper or wait for a possible fix with fiesty. I'm not necessarily saying to give up in edgy, but your chances are slim.

See also

LogitechQuickCamPro5000 http://www.mail-archive.com/[email protected]/msg00652.html - original source of this page http://ubuntuforums.org/showthread.php?p=2341818#post2341818 - discussion on getting it to work.