USB提示错误 - AM437x - 嵌入式开发者社区 - 51ele.net
设为首页收藏本站

嵌入式开发者社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 5770|回复: 5

[已解决] USB提示错误

[复制链接]

4

主题

15

帖子

84

积分

注册会员

Rank: 2

积分
84
发表于 2020-4-20 14:55:41 | 显示全部楼层 |阅读模式
客户问题一
您好,我们使用的贵公司AM4376核心板,底板是自己做的,用的usb hub(AX8872)扩了四个网口,但是烧录系统后启动信息打印错误如下:
[   15.288311] usbcore: registered new interface driver hub
[   15.289993] usbcore: registered new device driver usb
[   15.329710] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
[   15.329754] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 1
[   15.334686] xhci-hcd xhci-hcd.3.auto: hcc params 0x0238f06d hci version 0x100 quirks 0x02010010
[   15.337348] xhci-hcd xhci-hcd.3.auto: irq 288, io mem 0x48390000
[   15.339771] hub 1-0:1.0: USB hub found
[   15.339830] hub 1-0:1.0: 1 port detected
[   15.340321] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
[   15.340341] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 2
[   15.340698] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[   15.353229] hub 2-0:1.0: USB hub found
[   15.353289] hub 2-0:1.0: 1 port detected
[   15.353973] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller
[   15.354004] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus number 3
[   15.358667] xhci-hcd xhci-hcd.4.auto: hcc params 0x0238f06d hci version 0x100 quirks 0x02010010
[   15.361854] xhci-hcd xhci-hcd.4.auto: irq 289, io mem 0x483d0000
[   15.364012] hub 3-0:1.0: USB hub found
[   15.364074] hub 3-0:1.0: 1 port detected
[   15.364553] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller
[   15.364572] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus number 4
[   15.364728] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[   15.366643] hub 4-0:1.0: USB hub found
[   15.366699] hub 4-0:1.0: 1 port detected
[   15.698314] usb 1-1: new low-speed USB device number 2 using xhci-hcd
[   15.718373] usb 3-1: new high-speed USB device number 2 using xhci-hcd
[   15.838428] usb 1-1: device descriptor read/64, error -71
[   15.909071] hub 3-1:1.0: USB hub found
[   15.909907] hub 3-1:1.0: 4 ports detected
[   16.098430] usb 1-1: device descriptor read/64, error -71
[   16.190006] irq: no irq domain found for /ocp@44000000/pruss_soc_bus@54426000/pruss@54440000/intc@54460000 !
[   16.228444] usb 3-1.1: new high-speed USB device number 3 using xhci-hcd
[   16.358357] usb 1-1: new low-speed USB device number 3 using xhci-hcd
[   16.418708] remoteproc remoteproc1: 54434000.pru0 is available
[   16.424685] pru-rproc 54434000.pru0: PRU rproc node /ocp@44000000/pruss_soc_bus@54426000/pruss@54400000/pru@54434000 probed successfully
[   16.488303] usb 3-1.2: new high-speed USB device number 4 using xhci-hcd
[   16.548449] usb 1-1: device descriptor read/64, error -71
[   16.602708] remoteproc remoteproc2: 54438000.pru1 is available
[   16.633085] pru-rproc 54438000.pru1: PRU rproc node /ocp@44000000/pruss_soc_bus@54426000/pruss@54400000/pru@54438000 probed successfully
[   16.713057] remoteproc remoteproc3: 54474000.pru0 is available
[   16.736939] pru-rproc 54474000.pru0: PRU rproc node /ocp@44000000/pruss_soc_bus@54426000/pruss@54440000/pru@54474000 probed successfully
[   16.740613] usb 3-1.3: new high-speed USB device number 5 using xhci-hcd
[   16.808413] usb 1-1: device descriptor read/64, error -71
[   16.891820] remoteproc remoteproc4: 54478000.pru1 is available
[   16.897800] pru-rproc 54478000.pru1: PRU rproc node /ocp@44000000/pruss_soc_bus@54426000/pruss@54440000/pru@54478000 probed successfully
[   17.068407] usb 1-1: new low-speed USB device number 4 using xhci-hcd
[   17.091567] usb 1-1: Device not responding to setup address.
[   17.282642] asix 3-1.1:1.0 eth0: register 'asix' at usb-xhci-hcd.4.auto-1.1, ASIX AX88772B USB 2.0 Ethernet, 00:0e:c6:87:72:01
[   17.309771] usb 1-1: Device not responding to setup address.
[   17.382716] asix 3-1.3:1.0 eth1: register 'asix' at usb-xhci-hcd.4.auto-1.3, ASIX AX88772B USB 2.0 Ethernet, 00:0e:c6:87:72:01
[  OK  ] Started uim-sysfs.service.
         Starting rc.pvr.service...
[   17.518428] usb 3-1.4: new high-speed USB device number 6 using xhci-hcd
[   17.532223] usb 1-1: device not accepting address 4, error -71
[  OK  ] Started rc.pvr.service.
         Starting telnetd.service...
[   17.678316] usb 1-1: new low-speed USB device number 5 using xhci-hcd
[   17.690140] usb 1-1: Device not responding to setup address.
[  OK  ] Started telnetd.service.



使用ifconfig命令,四个扩展的网口也能看到,但是MAC地址是一样的,网口灯也只有黄色
eth0      Link encap:Ethernet  HWaddr 00:0E:C6:87:72:01  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
eth1      Link encap:Ethernet  HWaddr 00:0E:C6:87:72:01  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
eth2      Link encap:Ethernet  HWaddr 00:0E:C6:87:72:01  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
eth3      Link encap:Ethernet  HWaddr 00:0E:C6:87:72:01
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

改了mac和ip但是不能ping,应该没起来,想问下这个如何解决?



回复

使用道具 举报

4

主题

15

帖子

84

积分

注册会员

Rank: 2

积分
84
 楼主| 发表于 2020-4-20 15:00:52 | 显示全部楼层
在我们的demo板上直接插入绿联usb hub成品的话生成的网口和其他usb口都能正常使用,但是我们自己使用芯片焊接的时候出现这些错误,不知是否是硬件问题,原理图如下:

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
回复 支持 反对

使用道具 举报

4

主题

15

帖子

84

积分

注册会员

Rank: 2

积分
84
 楼主| 发表于 2020-4-20 17:54:47 | 显示全部楼层
usb hub

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
回复 支持 反对

使用道具 举报

44

主题

368

帖子

2894

积分

创龙

Rank: 8Rank: 8

积分
2894
发表于 2020-4-20 19:40:56 | 显示全部楼层
客户问题一解答

关于"usb 1-1: device descriptor read/64, error -71"的错误是这边硬件设计问题,这个错误是usb hub转485串口的错误,不是网口的错误,原理图中

USB0_DM和USB0_DP画反了。
网口不通主要是我们的接口设计错误如下:


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
回复 支持 反对

使用道具 举报

44

主题

368

帖子

2894

积分

创龙

Rank: 8Rank: 8

积分
2894
发表于 2020-5-9 14:26:03 | 显示全部楼层
客户问题二

目前问题扩展后的网口MAC地址是一样的,并且使用usb hub扩展的4路网口和自带2路千兆网口在重启时ethX端口号会发生变化,这样我们使用ifconfig ethx配置端口IP和MAC地址时候对应的实际端口就会发生变化,如何能确保他们有一个固定的顺序呢,好比两个自带的千兆网口固定为eth4和eth5,扩展的四路网口为eth0-eth3,另外修改永久修改IP和MAC是用的文件系统下的哪个文件?








本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x

点评

客户问题二解答 您好,配置udev规则应该可以固定节点,参考资料如下: https://wiki.archlinux.org/index.php/Udev%23Mounting_drives_in_rules  详情 回复 发表于 2020-5-14 20:12
回复 支持 反对

使用道具 举报

44

主题

368

帖子

2894

积分

创龙

Rank: 8Rank: 8

积分
2894
发表于 2020-5-14 20:12:56 | 显示全部楼层
czs----Tronlong 发表于 2020-5-9 14:26
客户问题二

目前问题扩展后的网口MAC地址是一样的,并且使用usb hub扩展的4路网口和自带2路千兆网口在重启 ...

客户问题二解答

您好,配置udev规则应该可以固定节点,参考资料如下:

https://wiki.archlinux.org/index ... ing_drives_in_rules
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|小黑屋|嵌入式开发者社区 ( 粤ICP备15055271号

GMT+8, 2024-3-29 06:00 , Processed in 0.048045 second(s), 29 queries .

Powered by Discuz! X3.2

© 2001-2015 Comsenz Inc.

快速回复 返回顶部 返回列表