Hi:
During reboot, the nxp-ls1028ardb board occasionally shows:
[ 9.682375] 000: usb 1-1: device no response, device descriptor read/64, error -110
[ 9.918371] 000: usb 1-1: device no response, device descriptor read/64, error -71
[ 10.154354] 000: usb 1-1: new high-speed USB device number 3 using xhci-hcd
[ 10.282369] 000: usb 1-1: device no response, device descriptor read/64, error -71
[ 10.518369] 000: usb 1-1: device no response, device descriptor read/64, error -71
[ 10.626413] 000: usb usb1-port1: attempt power cycle
[ 11.990721] 000: usb 2-1: new SuperSpeed Gen 1 USB device number 2 using xhci-hcd
[ 12.031848] 000: usb-storage 2-1:1.0: USB Mass Storage device detected
[ 12.032030] 000: scsi host1: usb-storage 2-1:1.0
I discussed this problem with LSDK team.
They consider this should not be LS1028ARDB software problem. It seems that signals on USB bus are not stable, it should be compatibility problem, please change for other type USB disk to do verification.
Hi:
Thank you for your reply. However, the same U disk is normal on the 8mplus platform. Once it is on the ls1028 platform, the above error will occur accidentally.In addition, I checked the kernel code and found that each time the above error occurs, the following code will be executed to turn off/on the port power. Is it caused by the following code?
drivers/usb/core/hub.c:
/* When halfway through our retry count, power-cycle the port */
if (i == (SET_CONFIG_TRIES / 2) - 1) {
dev_info(&port_dev->dev, "attempt power cycle\n");
usb_hub_set_port_power(hdev, hub, port1, false);
msleep(2 * hub_power_on_good_delay(hub));
usb_hub_set_port_power(hdev, hub, port1, true);
msleep(hub_power_on_good_delay(hub));
}