|
【Android】
3288J 3288C这两款usb问题
发表于 2022-3-11 15:38:37
浏览:6503
|
回复:4
打印
只看该作者
[复制链接]
楼主
这两款板子我们调试usb摄像头。发现用libuvc的库无法预览摄像头。
看了原理图发现usb是用了hub。我们改成不使用hub,直通到底板的usb端口,结果连usb摄像头设备都检测不到了。
提示log
[ 733.154747] Using Buffer DMA mode
[ 733.154766] Periodic Transfer Interrupt Enhancement - disabled
[ 733.154774] Multiprocessor Interrupt Enhancement - disabled
[ 733.154782] OTG VER PARAM: 0, OTG VER FLAG: 0
[ 733.154789] ^^^^^^^^^^^^^^^^^^Host Mode
[ 733.199026] Init: Power Port (0)
[ 733.483952] Indeed it is in host mode hprt0 = 00021501
[ 733.661048] usb 3-1: new high-speed USB device number 18 using usb20_host
[ 734.074185] usb 3-1: device not accepting address 18, error -71
[ 734.074511] Indeed it is in host mode hprt0 = 00001101
[ 734.251426] usb 3-1: new high-speed USB device number 19 using usb20_host
[ 739.378141] NYET/NAK/ACK/other in non-error case, 0x00000002
[ 744.504712] usb 3-1: device not accepting address 19, error -110
[ 744.505022] Indeed it is in host mode hprt0 = 00001501
[ 744.681754] usb 3-1: new high-speed USB device number 20 using usb20_host
[ 744.683712] Indeed it is in host mode hprt0 = 00001101
[ 744.858881] usb 3-1: device descriptor read/64, error -71
[ 744.968965] Indeed it is in host mode hprt0 = 00001101
[ 745.144341] usb 3-1: device descriptor read/64, error -71
[ 745.252555] Indeed it is in host mode hprt0 = 00001101
[ 745.429708] usb 3-1: new high-speed USB device number 21 using usb20_host
[ 750.349798] NYET/NAK/ACK/other in non-error case, 0x00000002
[ 755.269850] NYET/NAK/ACK/other in non-error case, 0x00000002
[ 760.189702] Indeed it is in host mode hprt0 = 00001501
[ 760.366800] usb 3-1: device descriptor read/64, error -110
[ 760.476061] Indeed it is in host mode hprt0 = 00001101
[ 760.652156] usb 3-1: device descriptor read/64, error -71
[ 760.760403] hub 3-0:1.0: unable to enumerate USB device on port 1
怀疑是这两款板子的usb设计有问题。有人解决过这问题么。
或者有能用libuvc预览usbcamera的方案也行。
|
|