发帖
10 0 0

Ai-M61-32S连接USB摄像头无图像输出

校服
金牌会员

2

主题

10

回帖

1771

积分

金牌会员

积分
1771
Ai-M61系列 3861 10 2023-11-22 10:23:31
Ai-M61-32S开发板连接罗技的C920摄像头,用示例的AiPi-Cam修改set(CONFIG_CHERRYUSB 1)烧录后,在串口打印中没见到USB相关的打印,后来改用园长在http://bbs.ai-thinker.com/forum. ... 42017&pid=59769帖子中发的固件,见到USB相关的打印了,但是WEB页中,依旧看不到图像,是不支持这款型号的摄像头吗?看到有USB的ERROR的日志。

  1. [I/USB] New device found,idVendor:046d,idProduct:082d,bcdDevice:0011
  2. [E/USB] Interface altsetting num overflow
  3. [E/USB] Parse config fail
  4. [E/USB] Port 1 enumerate fail
复制代码


──── 0人觉得很赞 ────

使用道具 举报

同样的情况,我有两个摄像头,一个摄像头可以,一个摄像头,不可以,请问如何修改兼容其他usb摄像头,以及求助支持哪些usb摄像头
2023-11-23 19:21:30
又换了两种摄像头,还是没有图像输出

  1. [I/USB] New full-speed device on Hub 1, Port 1 connected
  2. [I/USB] New device found,idVendor:1902,idProduct:8301,bcdDevice:0100
  3. [I/USB] The device has 2 interfaces
  4. [I/USB] Enumeration success, start loading class driver
  5. [I/USB] Loading video_ctrl class driver
  6. [I/USB] Close video device
  7. [I/USB] ============= Video device information ===================
  8. [I/USB] bcdVDC:0100
  9. [I/USB] Num of altsettings:3
  10. [I/USB] Ingore altsetting 0
  11. [I/USB] Altsetting:1, Ep=83 Attr=05 Mps=192 Interval=01 Mult=00
  12. [I/USB] Altsetting:2, Ep=83 Attr=05 Mps=944 Interval=01 Mult=00
  13. [I/USB] bNumFormats:1
  14. [I/USB]   FormatIndex:1
  15. [I/USB]   FormatType:mjpeg
  16. [I/USB]   bNumFrames:1
  17. [I/USB]   Resolution:
  18. [I/USB]       FrameIndex:1
  19. [I/USB]       wWidth: 640, wHeight: 480
  20. [I/USB] ============= Video device information ===================
  21. [I/USB] Register Video Class:/dev/video0
  22. [I/USB] Loading video_streaming class driver
  23. [I/USB] Ep=83 Attr=05 Mps=192 Interval=01 Mult=00
  24. [I/USB] Open video and select formatidx:1, frameidx:1, altsetting:1
  25. uvc mps :192
  26. FPS uvc:  0
  27. [RTC info]:[RTC]mjpeg frame pop timeout!
  28. FPS uvc:  0
  29. [RTC info]:[RTC]mjpeg frame pop timeout!
  30. FPS uvc:  0
  31. [RTC info]:[RTC]mjpeg frame pop timeout!
复制代码



  1. [I/USB] New high-speed device on Hub 1, Port 1 connected
  2. [I/USB] New device found,idVendor:05e3,idProduct:0515,bcdDevice:0524
  3. [I/USB] The device has 2 interfaces
  4. [I/USB] Enumeration success, start loading class driver
  5. [I/USB] Loading video_ctrl class driver
  6. [I/USB] Close video device
  7. [I/USB] ============= Video device information ===================
  8. [I/USB] bcdVDC:0100
  9. [I/USB] Num of altsettings:2
  10. [I/USB] Ingore altsetting 0
  11. [I/USB] Altsetting:1, Ep=81 Attr=05 Mps=1024 Interval=01 Mult=02
  12. [I/USB] bNumFormats:1
  13. [I/USB]   FormatIndex:1
  14. [I/USB]   FormatType:uncompressed
  15. [I/USB]   bNumFrames:6
  16. [I/USB]   Resolution:
  17. [I/USB]       FrameIndex:1
  18. [I/USB]       wWidth: 640, wHeight: 480
  19. [I/USB]       FrameIndex:2
  20. [I/USB]       wWidth: 160, wHeight: 120
  21. [I/USB]       FrameIndex:3
  22. [I/USB]       wWidth: 176, wHeight: 144
  23. [I/USB]       FrameIndex:4
  24. [I/USB]       wWidth: 320, wHeight: 240
  25. [I/USB]       FrameIndex:5
  26. [I/USB]       wWidth: 352, wHeight: 288
  27. [I/USB]       FrameIndex:6
  28. [I/USB]       wWidth: 640, wHeight: 480
  29. [I/USB] ============= Video device information ===================
  30. [I/USB] Register Video Class:/dev/video0
  31. [I/USB] Loading video_streaming class driver
  32. FPS uvc:  0
  33. [RTC info]:[RTC]mjpeg frame pop timeout!
  34. fail to open video, ret:-19
  35. FPS uvc:  0
  36. [RTC info]:[RTC]mjpeg frame pop timeout!
  37. fail to open video, ret:-19
  38. FPS uvc:  0
复制代码


2023-11-22 11:14:48
Ai-Thinker小泽 发表于 2023-11-22 11:09
你如果用的M61-32S开发板,那个USB口是接的串口,得自己引线接USB口


是的,我接的是板子的USB_DP和USB_DM引脚。


Ai-Thinker小泽 发表于 2023-11-22 11:09
你如果用的M61-32S开发板,那个USB口是接的串口,得自己引线接USB口

因为我们也是采购了几款摄像头进行调试,其它的也没试过,但是理论上是通用的
你如果用的M61-32S开发板,那个USB口是接的串口,得自己引线接USB口
2023-11-22 11:07:43
居然还可以接USB摄像头,厉害了
2023-11-22 11:05:21
Ai-Thinker小泽 发表于 2023-11-22 10:58
你这摄像头像素好像有点高呀

720P,1280×720=921600,100W的啊,我看手册上说支持100W的USB摄像头啊
你这摄像头像素好像有点高呀
2023-11-22 10:53:56
给你抓个工程师来看下
您需要登录后才可以回帖 立即登录
高级模式
12下一页
统计信息
  • 会员数: 30898 个
  • 话题数: 44869 篇