You are here

WebCam drivers (uvcvideo) on Debian

Uditha Atukorala's picture

These steps are to install linux UVC (USB Video Class) drivers on Debian. UVC drivers will work with most of the standard USB web cams (including built-in web cams on laptops).

Tested on Debian Lenny (testing).

1 - Check your USB devices
$ lsusb
Bus 005 Device 004: ID 0c45:62c0 Microdia
Bus 005 Device 002: ID 05e3:0718 Genesys Logic, Inc.
Bus 005 Device 001: ID 0000:0000 
Bus 004 Device 001: ID 0000:0000 
Bus 003 Device 002: ID 03f0:171d Hewlett-Packard
Bus 003 Device 001: ID 0000:0000 
Bus 002 Device 003: ID 1267:0210 Logic3 / SpectraVideo plc
Bus 002 Device 001: ID 0000:0000 
Bus 001 Device 001: ID 0000:0000

2 - Install prerequisites
# aptitude install linux-uvc-source libpt-plugins-v4l2
3 - Build the UVC module
# m-a prepare
# m-a a-i linux-uvc

4 - Load the UVC module
# modprobe uvcvideo
5 - Check
# dmesg | tail

...
uvcvideo: Found UVC 1.00 device USB 2.0 Camera (0c45:62c0)
usbcore: registered new interface driver uvcvideo
USB Video Class driver (v0.1.0)
...

6 - Make links
# ln -s /dev/video0 /dev/video