UVC Webcams

From ArmadeusWiki
Revision as of 17:53, 9 November 2010 by JulienB (Talk | contribs) (Introduction)

Jump to: navigation, search

Page under construction... Construction.png Informations on this page are not guaranteed !!

On this page, you will find some information to add some USB webcams support to your Armadeus board.

Introduction

Some USB webcams are working on Linux with the UVC driver (USB Video Class). The source of this driver is included in the current Armadeus Linux kernel.

Install driver

  • UVC driver is not selected by default in the Armadeus Linux kernel, you will need to use the following procedure to install it:
$ cd armadeus/
$ make linux26-menuconfig
  • Then you need to choose the right driver:
Device Drivers  --->
    Multimedia devices  --->
        [*] Video capture adapters  --->
            [*] V4L USB devices  --->
                <M>   USB Video Class (UVC)
                [*]     UVC input events device support
  • Now you can build the kernel and then update your board (kernel & rootfs):
$ make

Using driver

  • Load the driver using modprobe:
# modprobe uvcvideo
  • Plug in your camera; as you can see, your device is now recognized:
usb 2-1: new full speed USB device using mxc-ehci and address 2
usb 2-1: New USB device found, idVendor=046d, idProduct=08b2
usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
usb 2-1: configuration #1 chosen from 1 choice
pwc: Logitech QuickCam 4000 Pro USB webcam detected.
pwc: Registered as /dev/video0.

Links