T113 做USB主机连接4G模块,时断时续
-
HI,各位大佬,请教下:我用T113连接4G模块,不停打印 断开连接,连接,如下。。。可能是什么问题呢?
测量4G模块电源正常,USB DP DM没接反,有时也会显示出4个设备和枚举出来的一堆串口,可能是dts吗?高速信号layout的不好?
&usbc1 {
device_type = "usbc1";
usb_port_type = <0x01>;
usb_regulator_io = "nocare";
status = "okay";
};
上面是我的USB1口 DTS下面是串口打印:
[ 5.543126] sunxi-ehci 4200000.ehci1-controller: ehci_irq: highspeed device disconnect
[ 5.648240] sunxi-ehci 4200000.ehci1-controller: ehci_irq: highspeed device connect
[ 5.983112] sunxi-ehci 4200000.ehci1-controller: ehci_irq: highspeed device disconnect
[ 5.992030] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[ 6.118241] sunxi-ehci 4200000.ehci1-controller: ehci_irq: highspeed device connect
[ 6.373139] sunxi-ehci 4200000.ehci1-controller: ehci_irq: highspeed device disconnect
[ 6.588242] sunxi-ehci 4200000.ehci1-controller: ehci_irq: highspeed device connect
[ 6.813122] sunxi-ehci 4200000.ehci1-controller: ehci_irq: highspeed device disconnect
[ 6.838240] sunxi-ehci 4200000.ehci1-controller: ehci_irq: highspeed device connect
[ 7.033142] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[ 7.040503] usb usb1-port1: attempt power cycle
[ 7.463116] sunxi-ehci 4200000.ehci1-controller: ehci_irq: highspeed device disconnect
[ 7.513157] usb usb2-port1: Cannot enable. Maybe the USB cable is bad?
[ 7.536238] sunxi-ehci 4200000.ehci1-controller: ehci_irq: highspeed device connect
[ 7.903116] sunxi-ehci 4200000.ehci1-controller: ehci_irq: highspeed device disconnect
[ 7.938236] sunxi-ehci 4200000.ehci1-controller: ehci_irq: highspeed device connect
[ 8.343114] sunxi-ehci 4200000.ehci1-controller: ehci_irq: highspeed device disconnect
[ 8.352034] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[ 8.408240] sunxi-ehci 4200000.ehci1-controller: ehci_irq: highspeed device connect
[ 8.653112] sunxi-ehci 4200000.ehci1-controller: ehci_irq: highspeed device disconnect
[ 8.878240] sunxi-ehci 4200000.ehci1-controller: ehci_irq: highspeed device connect
[ 9.313116] sunxi-ehci 4200000.ehci1-controller: ehci_irq: highspeed device disconnect
[ 9.348239] sunxi-ehci 4200000.ehci1-controller: ehci_irq: highspeed device connect
[ 9.533146] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[ 9.540507] usb usb1-port1: unable to enumerate USB device
[ 9.546722] sunxi-ehci 4200000.ehci1-controller: ehci_irq: highspeed device disconnect
[ 9.583158] usb usb2-port1: Cannot enable. Maybe the USB cable is bad?
[ 9.590607] usb usb2-port1: attempt power cycle
[ 9.948238] sunxi-ehci 4200000.ehci1-controller: ehci_irq: highspeed device connect
[ 10.153132] sunxi-ehci 4200000.ehci1-controller: ehci_irq: highspeed device disconnect
[ 10.358238] sunxi-ehci 4200000.ehci1-controller: ehci_irq: highspeed device connect -
这种问题大概率最后可能还是 4G模块电源问题和USB通讯问题。
-
@whycan 谢谢回复,我再自查一下。
Copyright © 2023 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号