Difference between revisions of "UVC Webcams"
From ArmadeusWiki
m (→Introduction) |
m (→Install driver) |
||
(4 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{Under_Construction}} | {{Under_Construction}} | ||
− | On this page, you will find some | + | On this page, you will find some informations to add "UVC" USB webcams support to your Armadeus board. |
== Introduction == | == Introduction == | ||
Some USB webcams are working on Linux with the [http://www.ideasonboard.org/uvc/ UVC driver] (USB Video Class). The source of this driver is included in the current Armadeus Linux kernel. | Some USB webcams are working on Linux with the [http://www.ideasonboard.org/uvc/ 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 == | == Install driver == | ||
Line 11: | Line 13: | ||
<pre class="host"> | <pre class="host"> | ||
$ cd armadeus/ | $ cd armadeus/ | ||
− | $ make | + | $ make linux-menuconfig |
</pre> | </pre> | ||
* Then you need to choose the right driver: | * Then you need to choose the right driver: | ||
Line 34: | Line 36: | ||
</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"> | ||
− | usb | + | usb 1-1: new high speed USB device using mxc-ehci and address 2 |
− | usb | + | usb 1-1: New USB device found, idVendor=046d, idProduct=0805 |
− | usb | + | usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=2 |
− | usb | + | 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 | ||
</pre> | </pre> | ||
Latest revision as of 19:41, 4 September 2013
Page under construction... 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
- To access your webcam, you can now use /dev/video0 with a V4L (Video for Linux) compatible application.