工具/软件:
我们的 AM62x 电路板支持两个 USB 端口 USB0 连接至 USB 端口、而 USB1 连接到触摸屏。
在正常引导期间、将有两条“USB BUS Registered“消息。
[ 1.279734] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller [ 1.285297] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1 [ 1.293087] xhci-hcd xhci-hcd.0.auto: USB3 root hub has no ports [ 1.299092] xhci-hcd xhci-hcd.0.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000000000010010 [ 1.308537] xhci-hcd xhci-hcd.0.auto: irq 243, io mem 0x31000000 [ 1.314823] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01 [ 1.323082] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.330296] usb usb1: Product: xHCI Host Controller [ 1.335168] usb usb1: Manufacturer: Linux 6.1.33 xhci-hcd [ 1.340594] usb usb1: SerialNumber: xhci-hcd.0.auto [ 1.345952] hub 1-0:1.0: USB hub found [ 1.349764] hub 1-0:1.0: 1 port detected [ 1.355637] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller [ 1.361243] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2 [ 1.369028] xhci-hcd xhci-hcd.1.auto: USB3 root hub has no ports [ 1.375032] xhci-hcd xhci-hcd.1.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000000000010010 [ 1.384610] xhci-hcd xhci-hcd.1.auto: irq 244, io mem 0x31100000 [ 1.390864] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01 [ 1.399222] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.406438] usb usb2: Product: xHCI Host Controller [ 1.411315] usb usb2: Manufacturer: Linux 6.1.33 xhci-hcd [ 1.416814] usb usb2: SerialNumber: xhci-hcd.1.auto [ 1.422161] hub 2-0:1.0: USB hub found [ 1.425967] hub 2-0:1.0: 1 port detected [ 1.431560] cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 1200000 KHz, changing to: 1250000 KHz [ 1.444462] mmc0: CQHCI version 5.10 [ 1.450244] mmc1: CQHCI version 5.10
不过、有时会在启动期间执行此操作 USB0 期间未能检测到 USB1 工作正常。 在故障点、系统会暂停约 14 秒。 详细信息如下所示。
发生这种情况后、即使我们重新启动、新系统仍然显示 USB 探头故障—只有完全关闭并重新启动才能解决问题。
[ 1.279704] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller [ 1.285264] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1 [ 15.549896] xhci-hcd xhci-hcd.0.auto: can't setup: -110 [ 15.555130] xhci-hcd xhci-hcd.0.auto: USB bus 1 deregistered [ 15.560805] xhci-hcd: probe of xhci-hcd.0.auto failed with error -110 [ 15.569035] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller [ 15.574568] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1 [ 15.582357] xhci-hcd xhci-hcd.1.auto: USB3 root hub has no ports [ 15.588361] xhci-hcd xhci-hcd.1.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000000000010010 [ 15.597802] xhci-hcd xhci-hcd.1.auto: irq 244, io mem 0x31100000 [ 15.604119] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01 [ 15.612378] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 15.619591] usb usb1: Product: xHCI Host Controller [ 15.624464] usb usb1: Manufacturer: Linux 6.1.33 xhci-hcd [ 15.629856] usb usb1: SerialNumber: xhci-hcd.1.auto [ 15.635212] hub 1-0:1.0: USB hub found [ 15.639013] hub 1-0:1.0: 1 port detected [ 15.644578] cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 1200000 KHz, changing to: 1250000 KHz [ 15.657400] mmc0: CQHCI version 5.10 [ 15.663077] mmc1: CQHCI version 5.10
在我们的硬件设计中、为 5V USB0 由 GPIO 使能信号控制、我已经在 U-Boot 中启用了它。
USB 线路上有两个 10 pF 滤波电容器。 这会影响 USB 探头吗?
还有什么可能导致此问题? 谢谢