Difference between revisions of "UVC Webcams"

From ArmadeusWiki
Jump to: navigation, search
(Using driver)
m (Using driver)
Line 34: Line 34:
 
</pre>
 
</pre>
  
* Plug in your camera; as you can see, your device is now recognized:
+
* Plug in your camera; as you can see, your device is now recognized (for example with Logitech C300):
  
 
<pre class="apf">
 
<pre class="apf">

Revision as of 17:33, 3 October 2011

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 (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