Hi,
I have compiled a document.
1. Build the image as described in the Board Support Package document.
2. Open the menu config to add the UVC driver support in the driver.
build> bitbake linux-yocto –c menuconfig
The above command opens a config menu window. From the menuconfig window enable the following to enable UVC:
Device Drivers
Multimedia support
Media USB Adapters [*]
USB Video Class [M]
UVC input events device support [*]
3. Ensure the following configs are enabled:
CONFIG_VIDEOBUF2_CORE=m
CONFIG_VIDEOBUF2_MEMOPS=m
CONFIG_VIDEOBUF2_VMALLOC=m
CONFIG_MEDIA_USB_SUPPORT=y
CONFIG_USB_VIDEO_CLASS=m
CONFIG_USB_VIDEO_CLASS_INPUT_EDEV=y
4. Copy the modified .config file to the Edison build config location.
cp edison-src/build/tmp/work/edison-poky-linux/linux-yocto/3.10.17+gitAUTO*/linux-edison-standard-build/.config edison-src/device-software/metaedison/recipes-kernel/linux/files/defconfig
5. Rebuild the Edison image
build> bitbake edison-image
6. Flash the new build to Edison. The built image should contain UVC driver support.
7. Switch the USB to host mode (switch SW1 towards USB or away from mini-USB).
8. Reboot the board.
9. Connect the camera to USB host. Camera will be registered as “video0”: /dev/video0.
If the UVC driver is added as modular then execute the following command to register camera:
$ modprobe uvcvideo
Let me know if you any further information.
Thanks,
Vinay