geng4344 发表于 2015-5-29 15:31:15

请教 MT6582的USB camera 问题

最近在调试 UVC camera,内核把USB摄像头相关的配置都打开了,在dev 目录下出现了video1的设备节点,用android测试APP,测试,底层报了错:
.(0)uvcvideo: Trying format 0x56595559 (YUYV): 640x480.
.(0)uvcvideo: Using default frame interval 200000.0 us (5.0 fps).
.(1)
.(1) DONE
.(1)uvcvideo: Setting frame interval to 1/15 (666666).
.(1)uvcvideo: uvc_v4l2_mmap
.(1)uvcvideo: uvc_v4l2_mmap
.(1)uvcvideo: uvc_v4l2_mmap
.(1)uvcvideo: uvc_v4l2_mmap
.(1)uvcvideo: Device requested 1024 B/frame bandwidth.
.(1)uvcvideo: Selecting alternate setting 3 (3072 B/frame bandwidth).
.(0)uvcvideo: Allocated 5 URB buffers of 8x3072 bytes each.
.(1)uvcvideo: uvc_v4l2_poll
.(1) handle 0xa2fdbe
.(0)
.(0) DONE
-(0)uvcvideo: Non-zero status (-71) in video completion handler.
.(1)uvcvideo: uvc_v4l2_poll
-(0)uvcvideo: Non-zero status (-71) in video completion handler.
-(0)uvcvideo: Non-zero status (-71) in video completion handler.
-(0)uvcvideo: Non-zero status (-71) in video completion handler.
-(0)uvcvideo: Non-zero status (-71) in video completion handler.

以为是APP本身出错,为了验证,自己写了个标准的V4L2的C代码,编译到板子上,发现依旧会出现 Non-zero status (-71) in video completion handler错误。不知道你们遇到过没,分享你的经验。3Q

发表于 2016-2-23 15:49:30

搞定了没?

发表于 2016-6-13 10:07:28

之前也听过前辈调过,首先看芯片是否支持usb Camera

发表于 2016-6-13 10:15:08

搞定了吗?

jiangyx1028 发表于 2016-11-1 09:41:32

duantao7584567 发表于 2017-10-13 15:50:19

看着好复杂

发表于 2018-11-20 16:41:56

usb driver fifo size有问题。
页: [1]
查看完整版本: 请教 MT6582的USB camera 问题