请教 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
搞定了没? 之前也听过前辈调过,首先看芯片是否支持usb Camera 搞定了吗? 看着好复杂 usb driver fifo size有问题。
页:
[1]