设为首页收藏本站
查看: 9392|回复: 0

配置SAMA5D3X支持MY-CAM001U模块

[复制链接]

25

主题

9

回帖

280

积分

中级会员

积分
280
Willian.Mo 发表于 2015-6-23 10:40:02 | 显示全部楼层 |阅读模式
修改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 结点。

  • 回复

    使用道具 举报

    您需要登录后才可以回帖 登录

    本版积分规则

    Archiver|手机版|小黑屋|米尔科技论坛   

    GMT+8, 2024-4-26 14:02 , Processed in 0.046665 second(s), 19 queries .

    Powered by Discuz! X3.5

    © 2001-2024 Discuz! Team.

    快速回复 返回顶部 返回列表