Difference between revisions of "PWC Webcams"
From ArmadeusWiki
m (→Install driver) |
m (→Links) |
||
Line 73: | Line 73: | ||
==Links== | ==Links== | ||
− | * http://www.saillard.org/linux/pwc/ | + | * [http://www.saillard.org/linux/pwc/ Homepage for the PWC driver] |
* http://doc.ubuntu-fr.org/pwc | * http://doc.ubuntu-fr.org/pwc |
Revision as of 11:01, 25 March 2010
Page under construction... 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 work on Linux with the PWC driver. The source of this driver is included in the current Linux kernel. PWC driver is NOT working on APF9328.
Find your webcam model
In order to find your webcam model, you can connect your USB webcam to your Host computer and use dmesg.
[ ] $ dmesg ... usb 6-1: new full speed USB device using uhci_hcd and address 5 usb 6-1: configuration #1 chosen from 1 choice pwc: Philips webcam module version 10.0.13 loaded. pwc: Supports Philips PCA645/646, PCVC675/680/690, PCVC720[40]/730/740/750 & PCVC830/840. pwc: Also supports the Askey VC010, various Logitech Quickcams, Samsung MPC-C10 and MPC-C30, pwc: the Creative WebCam 5 & Pro Ex, SOTEC Afina Eye and Visionite VCS-UC300 and VCS-UM100. pwc: Logitech QuickCam 4000 Pro USB webcam detected. pwc: Registered as /dev/video1.
Install driver
- PWC driver is not selected by default in the Armadeus Linux kernel, you will need to use the following commands to install it:
$ cd armadeus/ $ make linux26-menuconfig
- PWC driver still depends on V4L1:
Device Drivers ---> Multimedia devices ---> <M> Video For Linux [*] Enable Video For Linux API 1 (DEPRECATED)
- Then you need to choose the right driver:
Device Drivers ---> Multimedia devices ---> [*] Video capture adapters ---> [*] V4L USB devices ---> <M> USB Philips Cameras [ ] USB Philips Cameras verbose debug
- Now you can build the kernel and then update your board (kernel & rootfs):
$ make
Load driver
- Load the driver using modprobe:
# modprobe pwc
- 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.
- To access your webcam, you can now use /dev/video0 with a V4L compatible application.