Difference between revisions of "UVC Webcams"

From ArmadeusWiki
Jump to: navigation, search
m (Introduction)
(Using driver)
Line 37: Line 37:
  
 
<pre class="apf">
 
<pre class="apf">
usb 2-1: new full speed USB device using mxc-ehci and address 2
+
usb 1-1: new high speed USB device using mxc-ehci and address 2
usb 2-1: New USB device found, idVendor=046d, idProduct=08b2
+
usb 1-1: New USB device found, idVendor=046d, idProduct=0805
usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
+
usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=2
usb 2-1: configuration #1 chosen from 1 choice
+
usb 1-1: SerialNumber: E097D370
pwc: Logitech QuickCam 4000 Pro USB webcam detected.
+
usb 1-1: configuration #1 chosen from 1 choice
pwc: Registered as /dev/video0.
+
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
 
</pre>
 
</pre>
  

Revision as of 17:55, 9 November 2010

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