找回密码
 注册
搜索
查看: 12108|回复: 6

[讨论] 请教 MT6582的USB camera 问题

[复制链接]
发表于 2015-5-29 15:31:15 | 显示全部楼层 |阅读模式
最近在调试 UVC camera,内核把USB摄像头相关的配置都打开了,在dev 目录下出现了video1的设备节点,用android测试APP,测试,底层报了错:
[  118.685046].(0)[1565:ra.simplewebcam]uvcvideo: Trying format 0x56595559 (YUYV): 640x480.
[  118.686227].(0)[1565:ra.simplewebcam]uvcvideo: Using default frame interval 200000.0 us (5.0 fps).
[  118.709016].(1)[131:surfaceflinger][USER ION_SHARE_CLOSE]
[  118.709968].(1)[131:surfaceflinger][USER ION_SHARE_CLOSE] DONE
[  118.715739].(1)[1565:ra.simplewebcam]uvcvideo: Setting frame interval to 1/15 (666666).
[  118.729343].(1)[1565:ra.simplewebcam]uvcvideo: uvc_v4l2_mmap
[  118.730738].(1)[1565:ra.simplewebcam]uvcvideo: uvc_v4l2_mmap
[  118.731849].(1)[1565:ra.simplewebcam]uvcvideo: uvc_v4l2_mmap
[  118.732942].(1)[1565:ra.simplewebcam]uvcvideo: uvc_v4l2_mmap
[  118.735738].(1)[1565:ra.simplewebcam]uvcvideo: Device requested 1024 B/frame bandwidth.
[  118.737308].(1)[1565:ra.simplewebcam]uvcvideo: Selecting alternate setting 3 (3072 B/frame bandwidth).
[  118.755337].(0)[1565:ra.simplewebcam]uvcvideo: Allocated 5 URB buffers of 8x3072 bytes each.
[  118.762019].(1)[1762:Thread-89]uvcvideo: uvc_v4l2_poll
[  118.806176].(1)[305:Binder_3][USER ION_ALLOC] handle 0xa2fdbe
[  119.080886].(0)[131:surfaceflinger][USER ION_SHARE_CLOSE]
[  119.081810].(0)[131:surfaceflinger][USER ION_SHARE_CLOSE] DONE
[  119.440735]-(0)[0:swapper/0]uvcvideo: Non-zero status (-71) in video completion handler.
[  119.441903].(1)[1762:Thread-89]uvcvideo: uvc_v4l2_poll
[  119.442354]-(0)[0:swapper/0]uvcvideo: Non-zero status (-71) in video completion handler.
[  119.442478]-(0)[0:swapper/0]uvcvideo: Non-zero status (-71) in video completion handler.
[  119.442601]-(0)[0:swapper/0]uvcvideo: Non-zero status (-71) in video completion handler.
[  119.442722]-(0)[0:swapper/0]uvcvideo: Non-zero status (-71) in video completion handler.

以为是APP本身出错,为了验证,自己写了个标准的V4L2的C代码,编译到板子上,发现依旧会出现 Non-zero status (-71) in video completion handler错误。不知道你们遇到过没,分享你的经验。3Q
52RD网友  发表于 2016-2-23 15:49:30
搞定了没?
回复

使用道具

52RD网友  发表于 2016-6-13 10:07:28
之前也听过前辈调过,首先看芯片是否支持usb Camera
52RD网友  发表于 2016-6-13 10:15:08
搞定了吗?
回复

使用道具

发表于 2016-11-1 09:41:32 | 显示全部楼层
[em38]
点评回复

使用道具 举报

发表于 2017-10-13 15:50:19 | 显示全部楼层
看着好复杂
点评回复

使用道具 举报

52RD网友  发表于 2018-11-20 16:41:56
usb driver fifo size有问题。
高级模式
B Color Image Link Quote Code Smilies

本版积分规则

Archiver|手机版|小黑屋|52RD我爱研发网 ( 沪ICP备2022007804号-2 )

GMT+8, 2024-11-22 20:38 , Processed in 0.060086 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

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