Hei,
This guide will show you how to install a driver for Logitech QuickCam E 2500 camera. It is a USB camera. This is what I do in Ubuntu 9.04 (Jaunty Jackalope).
1) First, check the camera's USB identifier. It should report 046d:089d.
$ lsusb
Bus 001 Device 002: ID 046d:089d Logitech, Inc.
The latest gspca_zc3xx driver har support for this camera.
-------
2) I found some good instructions in this posting... on Ubuntuforums.org.
I just repeat the instructions here. Type these commands in a terminal window (gnome-terminal or similar).
cd $HOME
mkdir webcam_driver
cd webcam_driver
mkdir v4l
cd v4l
-------
3) Install Mercurial source code management tool. The hd command below will need it. You can easily uninstall Mercurial afterwards. Install also compiler tools (build-essential).
sudo apt-get install mercurial build-essential
-------
4) Then downoad and prepare the source
hg clone http://linuxtv.org/hg/v4l-dvb
cd v4l-dvb
cp /boot/config-`uname -r` v4l/.config
-------
5) Notice: There is no need to edit any source files (eg. the zc3xx.c). The source already contains the identifier (046d, 089d) for the Logitech QuickCam E 2500. Just compile and install the driver. Do compile and install
make
sudo make install
-------
6) Plugin the camera and restart your computer so the driver is loaded.
sudo reboot
-------
7) Test your camera with the GNOME's cheese app.
sudo aptitude install cheese
cheese
-------
8) Check the system log to verify if the "gspca" driver is loaded successfully.
dmesg | grep gspca
You should see this:
[ 20.073910] gspca: main v2.5.0 registered
[ 20.088514] gspca: probing 046d:089d
[ 20.094440] gspca: probe ok
[ 20.094450] gspca: probing 046d:089d
[ 20.094460] gspca: probing 046d:089d
The driver will create a device name /dev/video# (eg. /dev/video0). My computer has also a Hauppauge TV card therefore the /dev contains both /dev/video0 and /dev/video1.
Check the device names
$ ls -l /dev/video*
crw-rw----+ 1 root video 81, 0 2009-02-26 08:14 /dev/video0 <-- Camera device.
crw-rw----+ 1 root video 81, 1 2009-02-26 08:14 /dev/video1 <-- TV-card stream.
Luckily Cheese can now distinguish between these devices and it chooses /dev/video0, which is the camera. You can change the device in the Preferences dialog.
Siste kommentarer
7 år 42 uker siden
7 år 44 uker siden
8 år 1 uke siden
8 år 1 uke siden
8 år 2 uker siden
8 år 6 dager siden
8 år 7 uker siden
8 år 8 uker siden
8 år 9 uker siden
8 år 1 uke siden