|
修改Linux内核:
MY-CAM001U属于UVC摄像头,所以在内核的配置中,必须将UVC的支持添加进去。
[mw_shl_code=bash,true]Device Drivers --->
<*> Multimedia support --->
Video capture adapters --->
V4L USB devices --->
<*> USB Video Class (UVC)
UVC input events device support[/mw_shl_code]
修改完内核配置后,重新编译内核,并下载到开发板上,启动开发板终端有类似的输出:
[mw_shl_code=bash,true]usb 1-2: new high speed USB device number 2 using atmel-ehci
uvcvideo: Found UVC 1.00 device USB 2.0 Camera (174f:5a35)
input: USB 2.0 Camera as /devices/platform/atmel-ehci/usb1/1-2/1-2:1.0/input/input2[/mw_shl_code]
成功后会在/dev 目录下生成 video1 结点。
|
|