微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

Coral USB 加速器/RPI CM4 - 通过 USB 2.0 崩溃

如何解决Coral USB 加速器/RPI CM4 - 通过 USB 2.0 崩溃

我正在通过 USB 2.0 在 RaspBerry Pi CM4 板上运行 Coral USB 加速器。在使用 python / openCV 示例程序(google-coral/examples-camera/opencv/detect.py,安装了所有先决条件)时,我遇到了间歇性崩溃,我发现下面的 dmesg 错误与崩溃一致。有时它会容忍一两个 chhltd 错误并继续检测,有时它会崩溃并需要重新启动容器才能再次工作(它在 docker 中运行,在具有 USB 访问权限的特权容器中)。我已经让它在崩溃前运行了几个小时,或者短到几秒钟 - 似乎完全是随机的。有没有人看到过类似的东西,或者有没有人根据以下消息对可能是根本原因的原因有任何想法?

[  558.614764] dwc2 fe980000.usb: dwc2_hc_start_transfer: chdis set,channel 1,hcchar 0x421c9840
[  576.630767] dwc2 fe980000.usb: dwc2_hc_start_transfer: chdis set,channel 7,hcchar 0x421c9840
[  611.256073] dwc2 fe980000.usb: dwc2_hc_start_transfer: chdis set,channel 2,hcchar 0x621c9840
[  617.402505] dwc2 fe980000.usb: dwc2_hc_start_transfer: chdis set,channel 4,hcchar 0x42188a00
[  617.402548] dwc2 fe980000.usb: dwc2_hc_chhltd_intr_dma: Channel 4 - ChHltd set,but reason is unkNown
[  617.402564] dwc2 fe980000.usb: hcint 0x00000002,intsts 0x04600001
[  617.402598] dwc2 fe980000.usb: dwc2_hc_chhltd_intr_dma: Channel 2 - ChHltd set,but reason is unkNown
[  617.402603] dwc2 fe980000.usb: hcint 0x00000002,intsts 0x04600001
[  617.402607] dwc2 fe980000.usb: dwc2_update_urb_state_abn(): trimming xfer length
[  617.402649] dwc2 fe980000.usb: dwc2_hc_chhltd_intr_dma: Channel 5 - ChHltd set,but reason is unkNown
[  617.402653] dwc2 fe980000.usb: hcint 0x00000002,intsts 0x04600001
[  617.402656] dwc2 fe980000.usb: dwc2_update_urb_state_abn(): trimming xfer length
[  617.402698] dwc2 fe980000.usb: dwc2_hc_chhltd_intr_dma: Channel 6 - ChHltd set,but reason is unkNown
[  617.402703] dwc2 fe980000.usb: hcint 0x00000002,intsts 0x04600001
[  617.402707] dwc2 fe980000.usb: dwc2_update_urb_state_abn(): trimming xfer length
[  617.402739] dwc2 fe980000.usb: dwc2_hc_chhltd_intr_dma: Channel 3 - ChHltd set,but reason is unkNown
[  617.402744] dwc2 fe980000.usb: hcint 0x00000002,intsts 0x04600001
[  617.402748] dwc2 fe980000.usb: dwc2_update_urb_state_abn(): trimming xfer length
[  617.402785] dwc2 fe980000.usb: dwc2_hc_chhltd_intr_dma: Channel 4 - ChHltd set,but reason is unkNown
[  617.402789] dwc2 fe980000.usb: hcint 0x00000002,intsts 0x04600001
[  617.402792] dwc2 fe980000.usb: dwc2_update_urb_state_abn(): trimming xfer length
[  617.402823] dwc2 fe980000.usb: dwc2_hc_chhltd_intr_dma: Channel 7 - ChHltd set,but reason is unkNown
[  617.402827] dwc2 fe980000.usb: hcint 0x00000002,intsts 0x04600001
[  617.402831] dwc2 fe980000.usb: dwc2_update_urb_state_abn(): trimming xfer length
[  617.402868] dwc2 fe980000.usb: dwc2_hc_chhltd_intr_dma: Channel 5 - ChHltd set,but reason is unkNown
[  617.402871] dwc2 fe980000.usb: hcint 0x00000002,intsts 0x04600001
[  617.402874] dwc2 fe980000.usb: dwc2_update_urb_state_abn(): trimming xfer length
[  617.402911] dwc2 fe980000.usb: dwc2_hc_chhltd_intr_dma: Channel 6 - ChHltd set,but reason is unkNown
[  617.402915] dwc2 fe980000.usb: hcint 0x00000002,intsts 0x04600001
[  617.402918] dwc2 fe980000.usb: dwc2_update_urb_state_abn(): trimming xfer length
[  617.402951] dwc2 fe980000.usb: dwc2_update_urb_state(): trimming xfer length
[  631.451031] dwc2 fe980000.usb: dwc2_hc_start_transfer: chdis set,hcchar 0x621c9840
[  638.883782] dwc2 fe980000.usb: dwc2_hc_start_transfer: chdis set,hcchar 0x621c9840
[  716.891035] dwc2 fe980000.usb: dwc2_hc_start_transfer: chdis set,hcchar 0x421c9840
[  968.913158] dwc2 fe980000.usb: dwc2_hc_start_transfer: chdis set,channel 5,hcchar 0x61fc8840
[  968.913281] usb 1-1.3.3: input irq status -5 received
[ 1106.924911] dwc2 fe980000.usb: dwc2_hc_start_transfer: chdis set,hcchar 0x61fc8840
[ 1106.925042] usb 1-1.3.3: input irq status -5 received

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。