6818
- 收藏
- 点赞
- 分享
- 举报
hi3519V101 USB Device摄像头无法实现采用V4L2采集
hi3519V101 利用usb3.0做USB Device摄像头,完全按照海思SDK(Hi3519 V101R001C01SPC020)中《外围设备驱动操作指南》中的方法,仍然无法无法实现采用V4L2采集视频,主机host端和板子device端都能成功识别出UVC Camera,但是采用AMCAP软件仍然无法正常显示视频(黑屏或者闪屏,没有图像信息),用海思给的Linux端放虚拟机中采集写yuv文件也还是不行,请问有谁在hi3519v101上实现过???我就想知道到底hi3519v101能不能做USB摄像头采集????
另外,板子上运行uvc-gadget程序,输出这些信息,是什么意思????是否正常???,如下:
/mnt/nfs/MCU/hi3519_V101/usb_cam # ./uvc-gadget
------------[ cut here ]------------
WARNING: CPU: 1 PID: 138 at drivers/usb/gadget/composite.c:313 usb_function_activate+0x8c/0x90 [libcomposite]()
Modules linked in: g_webcam usb_f_uvc libcomposite configfs dwc_usb3
CPU: 1 PID: 138 Comm: uvc-gadget Not tainted 3.18.20 #1
[] (unwind_backtrace) from [] (show_stack+0x10/0x14)
[] (show_stack) from [] (dump_stack+0x88/0x98)
[] (dump_stack) from [] (warn_slowpath_common+0x6c/0x88)
[] (warn_slowpath_common) from [] (warn_slowpath_null+0x1c/0x24)
[] (warn_slowpath_null) from [] (usb_function_activate+0x8c/0x90 [libcomposite])
[] (usb_function_activate [libcomposite]) from [] (uvc_function_connect+0x18/0x38 [usb_f_uvc])
[] (uvc_function_connect [usb_f_uvc]) from [] (uvc_v4l2_open+0x54/0x64 [usb_f_uvc])
[] (uvc_v4l2_open [usb_f_uvc]) from [] (v4l2_open+0x9c/0x100)
[] (v4l2_open) from [] (chrdev_open+0xd0/0x190)
[] (chrdev_open) from [] (do_dentry_open+0x1d8/0x2f0)
[] (do_dentry_open) from [] (do_last+0x6b0/0xc5c)
[] (do_last) from [] (path_openat+0xb8/0x640)
[] (path_openat) from [] (do_filp_open+0x2c/0x88)
[] (do_filp_open) from [] (do_sys_open+0x104/0x1c8)
[] (do_sys_open) from [] (ret_fast_syscall+0x0/0x38)
---[ end trace f6c5647bbc5c908f ]---
g_webcam gadget: UVC connect failed with -22
open succeeded, file descriptor = 3
device is dwc_usb3_pcd on bus gadget
Unable to open MJPEG image './mjpeg'
uvc_fill_streaming_control(dev, &dev->probe, 0, 0); func:uvc_events_init line:1124
uvc_fill_streaming_control:V4L2_PIX_FMT_YUYV,line:795
uvc_fill_streaming_control(dev, &dev->commit, 0, 0); func:uvc_events_init line:1126
uvc_fill_streaming_control:V4L2_PIX_FMT_YUYV,line:795
[img]D:\1.png[/img]
另外,板子上运行uvc-gadget程序,输出这些信息,是什么意思????是否正常???,如下:
/mnt/nfs/MCU/hi3519_V101/usb_cam # ./uvc-gadget
------------[ cut here ]------------
WARNING: CPU: 1 PID: 138 at drivers/usb/gadget/composite.c:313 usb_function_activate+0x8c/0x90 [libcomposite]()
Modules linked in: g_webcam usb_f_uvc libcomposite configfs dwc_usb3
CPU: 1 PID: 138 Comm: uvc-gadget Not tainted 3.18.20 #1
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
---[ end trace f6c5647bbc5c908f ]---
g_webcam gadget: UVC connect failed with -22
open succeeded, file descriptor = 3
device is dwc_usb3_pcd on bus gadget
Unable to open MJPEG image './mjpeg'
uvc_fill_streaming_control(dev, &dev->probe, 0, 0); func:uvc_events_init line:1124
uvc_fill_streaming_control:V4L2_PIX_FMT_YUYV,line:795
uvc_fill_streaming_control(dev, &dev->commit, 0, 0); func:uvc_events_init line:1126
uvc_fill_streaming_control:V4L2_PIX_FMT_YUYV,line:795
[img]D:\1.png[/img]
我来回答
回答3个
时间排序
认可量排序
认可0
认可0
认可0
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
相关问答
-
2021-03-14 15:00:26
-
2018-01-10 09:50:58
-
2018-12-27 20:39:38
-
2016-08-03 11:08:32
-
2017-09-11 11:11:56
-
2018-12-05 16:16:17
-
2021-04-20 17:00:15
-
2019-04-10 21:28:45
-
2018-12-06 09:46:39
-
2023-08-09 11:30:32
-
2024-06-13 18:37:26
-
2016-02-24 22:36:10
-
2017-09-22 23:13:08
-
2019-05-10 12:56:41
-
2017-08-15 15:05:59
-
2017-11-13 15:29:50
-
2017-11-29 19:36:43
-
2017-09-12 09:18:45
-
2017-10-19 17:54:47
无更多相似问答 去提问
点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
悬赏问答
-
5Hi3516CV610 如何使用SD卡升级固件
-
5cat /dev/logmpp 报错 <3>[ vi] [func]:vi_send_frame_node [line]:99 [info]:vi pic queue is full!
-
50如何获取vpss chn的图像修改后发送至vo
-
5FPGA通过Bt1120传YUV422数据过来,vi接收不到数据——3516dv500
-
50SS928 运行PQtools 拼接 推到设备里有一半画面会异常
-
53536AV100的sample_vdec输出到CVBS显示
-
10海思板子mpp怎么在vi阶段改变视频数据尺寸
-
10HI3559AV100 多摄像头同步模式
-
9海思ss928单路摄像头vio中加入opencv处理并显示
-
10EB-RV1126-BC-191板子运行自己编码的程序
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认