UVC Webcams

From ArmadeusWiki
Jump to: navigation, search

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

On this page, you will find some informations to add "UVC" 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.

Tested models are listed on this page: USB_Webcams.

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 linux-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 (for example with Logitech C300):
usb 1-1: new high speed USB device using mxc-ehci and address 2
usb 1-1: New USB device found, idVendor=046d, idProduct=0805
usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=2
usb 1-1: SerialNumber: E097D370
usb 1-1: configuration #1 chosen from 1 choice
uvcvideo: Found UVC 1.00 device <unnamed> (046d:0805)
input: UVC Camera (046d:0805) as /devices/platform/mxc-ehci.0/usb1/1-1/1-1:1.0/input/input0

Links