hi all: below is the source code about setting xhci port to ss.disable state Why we need to or PORT_PE at this time? Spec didn't mention about to "or PORT_PE" before setting xhci port to ss.disable state. /* Disable port */ if (link_state == USB_SS_PORT_LS_SS_DISABLED) { xhci_dbg(xhci, "Disable port %d\n", wIndex); temp = xhci_port_state_to_neutral(temp); /* * Clear all change bits, so that we get a new * connection event. */ temp |= PORT_CSC | PORT_PEC | PORT_WRC | PORT_OCC | PORT_RC | PORT_PLC | PORT_CEC; xhci_writel(xhci, temp | PORT_PE, port_array[wIndex]); temp = xhci_readl(xhci, port_array[wIndex]); break; } 2. when I unplug some buggy device, I see even connect status as 0 xhci driver still try to warm reset, should we add connect status determination in xhci for terminating warm reset earlier. ( I attach the log for your reference. platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2802f0 platform-xhci platform-xhci.0: Get port status returned 0x3002f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2802f0 platform-xhci platform-xhci.0: Get port status returned 0x3002f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms hub 6-0:1.0: port_wait_reset: err = -16 hub 6-0:1.0: port 1 not enabled, trying reset again... platform-xhci platform-xhci.0: set port reset, actual port 0 status = 0x2802f0 platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2802f0 platform-xhci platform-xhci.0: Get port status returned 0x3002f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms 3. what is the difference between logic disconnect and real disconnect? from the log, I see logic disconnect but I cannot tell the meaning of this function. Appreciate your kind help in advance,
VDLinux#> [ 0][ 6392.390460] platform-xhci platform-xhci.0: Port Status Change Event for port 2 platform-xhci platform-xhci.0: handle_port_status: starting port polling. hub 6-0:1.0: state 7 ports 1 chg 0000 evt 0002 platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x4012c1 platform-xhci platform-xhci.0: Get port status returned 0x4002c1 platform-xhci platform-xhci.0: clear port link state change, actual port 0 status = 0x12c1 hub 6-0:1.0: warm reset port 1 platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x12c1 platform-xhci platform-xhci.0: Get port status returned 0x2c1 platform-xhci platform-xhci.0: xhci_hub_status_data: stopping port polling. platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x12b1 platform-xhci platform-xhci.0: Get port status returned 0x2b1 hub 6-0:1.0: port 1 not warm reset yet, waiting 50ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x12f1 platform-xhci platform-xhci.0: Get port status returned 0x2f1 hub 6-0:1.0: port 1 not warm reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x12f1 platform-xhci platform-xhci.0: Get port status returned 0x2f1 hub 6-0:1.0: port 1 not warm reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x12f1 platform-xhci platform-xhci.0: Get port status returned 0x2f1 hub 6-0:1.0: port 1 not warm reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x12f1 platform-xhci platform-xhci.0: Get port status returned 0x2f1 hub 6-0:1.0: port 1 not warm reset yet, waiting 200ms hub 6-0:1.0: port_wait_reset: err = -16 hub 6-0:1.0: port 1 not enabled, trying warm reset again... platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x12f1 platform-xhci platform-xhci.0: Get port status returned 0x2f1 hub 6-0:1.0: port 1 not warm reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x12f1 platform-xhci platform-xhci.0: Get port status returned 0x2f1 hub 6-0:1.0: port 1 not warm reset yet, waiting 200ms VDLinux#> VDLinux#> [ 0][ 6393.943456] platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x12f1 platform-xhci platform-xhci.0: Get port status returned 0x2f1 hub 6-0:1.0: port 1 not warm reset yet, waiting 200ms VDLinux#> [ 0][ 6394.167464] platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x12f1 platform-xhci platform-xhci.0: Get port status returned 0x2f1 hub 6-0:1.0: port 1 not warm reset yet, waiting 200ms hub 6-0:1.0: port_wait_reset: err = -16 hub 6-0:1.0: port 1 not enabled, trying warm reset again... VDLinux#> [ 0][ 6394.403451] platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x12f1 platform-xhci platform-xhci.0: Get port status returned 0x2f1 hub 6-0:1.0: port 1 not warm reset yet, waiting 200ms VDLinux#> [ 0][ 6394.627456] platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x12f1 platform-xhci platform-xhci.0: Get port status returned 0x2f1 hub 6-0:1.0: port 1 not warm reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x12f1 platform-xhci platform-xhci.0: Get port status returned 0x2f1 hub 6-0:1.0: port 1 not warm reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x12f1 platform-xhci platform-xhci.0: Get port status returned 0x2f1 hub 6-0:1.0: port 1 not warm reset yet, waiting 200ms hub 6-0:1.0: port_wait_reset: err = -16 hub 6-0:1.0: port 1 not enabled, trying warm reset again... platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x12f1 platform-xhci platform-xhci.0: Get port status returned 0x2f1 hub 6-0:1.0: port 1 not warm reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x12f1 platform-xhci platform-xhci.0: Get port status returned 0x2f1 hub 6-0:1.0: port 1 not warm reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x12f1 platform-xhci platform-xhci.0: Get port status returned 0x2f1 hub 6-0:1.0: port 1 not warm reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x12f1 platform-xhci platform-xhci.0: Get port status returned 0x2f1 hub 6-0:1.0: port 1 not warm reset yet, waiting 200ms hub 6-0:1.0: port_wait_reset: err = -16 hub 6-0:1.0: port 1 not enabled, trying warm reset again... platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x12f1 platform-xhci platform-xhci.0: Get port status returned 0x2f1 hub 6-0:1.0: port 1 not warm reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x12f1 platform-xhci platform-xhci.0: Get port status returned 0x2f1 hub 6-0:1.0: port 1 not warm reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x12f1 platform-xhci platform-xhci.0: Get port status returned 0x2f1 hub 6-0:1.0: port 1 not warm reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x12f1 platform-xhci platform-xhci.0: Get port status returned 0x2f1 hub 6-0:1.0: port 1 not warm reset yet, waiting 200ms hub 6-0:1.0: port_wait_reset: err = -16 hub 6-0:1.0: port 1 not enabled, trying warm reset again... hub 6-0:1.0: Cannot enable port 1. Maybe the USB cable is bad? platform-xhci platform-xhci.0: Disable port 0 platform-xhci platform-xhci.0: Port Status Change Event for port 2 platform-xhci platform-xhci.0: handle_port_status: starting port polling. platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2a0280 platform-xhci platform-xhci.0: Get port status returned 0x310280 platform-xhci platform-xhci.0: Enable port 0 platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2a02a0 platform-xhci platform-xhci.0: Get port status returned 0x3102a0 platform-xhci platform-xhci.0: set port reset, actual port 0 status = 0x2a02b0 platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2a02b0 platform-xhci platform-xhci.0: Get port status returned 0x3102b0 hub 6-0:1.0: port 1 not reset yet, waiting 50ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2a02f0 platform-xhci platform-xhci.0: Get port status returned 0x3102f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2a02f0 platform-xhci platform-xhci.0: Get port status returned 0x3102f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2a02f0 platform-xhci platform-xhci.0: Get port status returned 0x3102f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2a02f0 platform-xhci platform-xhci.0: Get port status returned 0x3102f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms hub 6-0:1.0: port_wait_reset: err = -16 hub 6-0:1.0: port 1 not enabled, trying reset again... platform-xhci platform-xhci.0: set port reset, actual port 0 status = 0x2a02f0 platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2a02f0 platform-xhci platform-xhci.0: Get port status returned 0x3102f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2a02f0 platform-xhci platform-xhci.0: Get port status returned 0x3102f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2a02f0 platform-xhci platform-xhci.0: Get port status returned 0x3102f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2a02f0 platform-xhci platform-xhci.0: Get port status returned 0x3102f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms hub 6-0:1.0: port_wait_reset: err = -16 hub 6-0:1.0: port 1 not enabled, trying reset again... platform-xhci platform-xhci.0: set port reset, actual port 0 status = 0x2a02f0 platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2a02f0 platform-xhci platform-xhci.0: Get port status returned 0x3102f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2a02f0 platform-xhci platform-xhci.0: Get port status returned 0x3102f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2a02f0 platform-xhci platform-xhci.0: Get port status returned 0x3102f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2a02f0 platform-xhci platform-xhci.0: Get port status returned 0x3102f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms hub 6-0:1.0: port_wait_reset: err = -16 hub 6-0:1.0: port 1 not enabled, trying reset again... platform-xhci platform-xhci.0: set port reset, actual port 0 status = 0x2a02f0 platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2a02f0 platform-xhci platform-xhci.0: Get port status returned 0x3102f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2a02f0 platform-xhci platform-xhci.0: Get port status returned 0x3102f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2a02f0 platform-xhci platform-xhci.0: Get port status returned 0x3102f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2a02f0 platform-xhci platform-xhci.0: Get port status returned 0x3102f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms hub 6-0:1.0: port_wait_reset: err = -16 hub 6-0:1.0: port 1 not enabled, trying reset again... platform-xhci platform-xhci.0: set port reset, actual port 0 status = 0x2a02f0 platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2a02f0 platform-xhci platform-xhci.0: Get port status returned 0x3102f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2a02f0 platform-xhci platform-xhci.0: Get port status returned 0x3102f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2a02f0 platform-xhci platform-xhci.0: Get port status returned 0x3102f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2a02f0 platform-xhci platform-xhci.0: Get port status returned 0x3102f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms hub 6-0:1.0: port_wait_reset: err = -16 hub 6-0:1.0: port 1 not enabled, trying reset again... hub 6-0:1.0: Cannot enable port 1. Maybe the USB cable is bad? platform-xhci platform-xhci.0: Disable port 0 platform-xhci platform-xhci.0: Port Status Change Event for port 2 platform-xhci platform-xhci.0: handle_port_status: starting port polling. platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x280280 platform-xhci platform-xhci.0: Get port status returned 0x300280 platform-xhci platform-xhci.0: Enable port 0 platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2802a0 platform-xhci platform-xhci.0: Get port status returned 0x3002a0 platform-xhci platform-xhci.0: set port reset, actual port 0 status = 0x2802b0 platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2802b0 platform-xhci platform-xhci.0: Get port status returned 0x3002b0 hub 6-0:1.0: port 1 not reset yet, waiting 50ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2802f0 platform-xhci platform-xhci.0: Get port status returned 0x3002f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2802f0 platform-xhci platform-xhci.0: Get port status returned 0x3002f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2802f0 platform-xhci platform-xhci.0: Get port status returned 0x3002f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2802f0 platform-xhci platform-xhci.0: Get port status returned 0x3002f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms hub 6-0:1.0: port_wait_reset: err = -16 hub 6-0:1.0: port 1 not enabled, trying reset again... platform-xhci platform-xhci.0: set port reset, actual port 0 status = 0x2802f0 platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2802f0 platform-xhci platform-xhci.0: Get port status returned 0x3002f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2802f0 platform-xhci platform-xhci.0: Get port status returned 0x3002f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2802f0 platform-xhci platform-xhci.0: Get port status returned 0x3002f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2802f0 platform-xhci platform-xhci.0: Get port status returned 0x3002f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms hub 6-0:1.0: port_wait_reset: err = -16 hub 6-0:1.0: port 1 not enabled, trying reset again... platform-xhci platform-xhci.0: set port reset, actual port 0 status = 0x2802f0 platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2802f0 platform-xhci platform-xhci.0: Get port status returned 0x3002f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2802f0 platform-xhci platform-xhci.0: Get port status returned 0x3002f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2802f0 platform-xhci platform-xhci.0: Get port status returned 0x3002f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2802f0 platform-xhci platform-xhci.0: Get port status returned 0x3002f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms hub 6-0:1.0: port_wait_reset: err = -16 hub 6-0:1.0: port 1 not enabled, trying reset again... platform-xhci platform-xhci.0: set port reset, actual port 0 status = 0x2802f0 platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2802f0 platform-xhci platform-xhci.0: Get port status returned 0x3002f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2802f0 platform-xhci platform-xhci.0: Get port status returned 0x3002f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2802f0 platform-xhci platform-xhci.0: Get port status returned 0x3002f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2802f0 platform-xhci platform-xhci.0: Get port status returned 0x3002f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms hub 6-0:1.0: port_wait_reset: err = -16 hub 6-0:1.0: port 1 not enabled, trying reset again... platform-xhci platform-xhci.0: set port reset, actual port 0 status = 0x2802f0 platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2802f0 platform-xhci platform-xhci.0: Get port status returned 0x3002f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2802f0 platform-xhci platform-xhci.0: Get port status returned 0x3002f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2802f0 platform-xhci platform-xhci.0: Get port status returned 0x3002f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2802f0 platform-xhci platform-xhci.0: Get port status returned 0x3002f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms hub 6-0:1.0: port_wait_reset: err = -16 hub 6-0:1.0: port 1 not enabled, trying reset again... hub 6-0:1.0: Cannot enable port 1. Maybe the USB cable is bad? platform-xhci platform-xhci.0: Disable port 0 platform-xhci platform-xhci.0: Port Status Change Event for port 2 platform-xhci platform-xhci.0: handle_port_status: starting port polling. platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x280280 platform-xhci platform-xhci.0: Get port status returned 0x300280 platform-xhci platform-xhci.0: Enable port 0 platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2802a0 platform-xhci platform-xhci.0: Get port status returned 0x3002a0 platform-xhci platform-xhci.0: set port reset, actual port 0 status = 0x2802b0 platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2802b0 platform-xhci platform-xhci.0: Get port status returned 0x3002b0 hub 6-0:1.0: port 1 not reset yet, waiting 50ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2802f0 platform-xhci platform-xhci.0: Get port status returned 0x3002f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2802f0 platform-xhci platform-xhci.0: Get port status returned 0x3002f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2802f0 platform-xhci platform-xhci.0: Get port status returned 0x3002f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2802f0 platform-xhci platform-xhci.0: Get port status returned 0x3002f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms hub 6-0:1.0: port_wait_reset: err = -16 hub 6-0:1.0: port 1 not enabled, trying reset again... platform-xhci platform-xhci.0: set port reset, actual port 0 status = 0x2802f0 platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2802f0 platform-xhci platform-xhci.0: Get port status returned 0x3002f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2802f0 platform-xhci platform-xhci.0: Get port status returned 0x3002f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2802f0 platform-xhci platform-xhci.0: Get port status returned 0x3002f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2802f0 platform-xhci platform-xhci.0: Get port status returned 0x3002f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms hub 6-0:1.0: port_wait_reset: err = -16 hub 6-0:1.0: port 1 not enabled, trying reset again... platform-xhci platform-xhci.0: set port reset, actual port 0 status = 0x2802f0 platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2802f0 platform-xhci platform-xhci.0: Get port status returned 0x3002f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2802f0 platform-xhci platform-xhci.0: Get port status returned 0x3002f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2802f0 platform-xhci platform-xhci.0: Get port status returned 0x3002f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2802f0 platform-xhci platform-xhci.0: Get port status returned 0x3002f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms hub 6-0:1.0: port_wait_reset: err = -16 hub 6-0:1.0: port 1 not enabled, trying reset again... platform-xhci platform-xhci.0: set port reset, actual port 0 status = 0x2802f0 platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2802f0 platform-xhci platform-xhci.0: Get port status returned 0x3002f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2802f0 platform-xhci platform-xhci.0: Get port status returned 0x3002f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2802f0 platform-xhci platform-xhci.0: Get port status returned 0x3002f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2802f0 platform-xhci platform-xhci.0: Get port status returned 0x3002f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms hub 6-0:1.0: port_wait_reset: err = -16 hub 6-0:1.0: port 1 not enabled, trying reset again... platform-xhci platform-xhci.0: set port reset, actual port 0 status = 0x2802f0 platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2802f0 platform-xhci platform-xhci.0: Get port status returned 0x3002f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2802f0 platform-xhci platform-xhci.0: Get port status returned 0x3002f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2802f0 platform-xhci platform-xhci.0: Get port status returned 0x3002f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2802f0 platform-xhci platform-xhci.0: Get port status returned 0x3002f0 hub 6-0:1.0: port 1 not reset yet, waiting 200ms hub 6-0:1.0: port_wait_reset: err = -16 hub 6-0:1.0: port 1 not enabled, trying reset again... hub 6-0:1.0: Cannot enable port 1. Maybe the USB cable is bad? platform-xhci platform-xhci.0: Disable port 0 platform-xhci platform-xhci.0: Port Status Change Event for port 2 platform-xhci platform-xhci.0: handle_port_status: starting port polling. platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x280280 platform-xhci platform-xhci.0: Get port status returned 0x300280 platform-xhci platform-xhci.0: Enable port 0 hub 6-0:1.0: logical disconnect on port 1 platform-xhci platform-xhci.0: Disable port 0 platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x280 platform-xhci platform-xhci.0: Get port status returned 0x280 platform-xhci platform-xhci.0: Enable port 0 hub 6-0:1.0: state 7 ports 1 chg 0002 evt 0002 platform-xhci platform-xhci.0: get port status, actual port 0 status = 0x2a0 platform-xhci platform-xhci.0: Get port status returned 0x2a0 hub 6-0:1.0: port 1, status 02a0, change 0000, 5.0 Gb/s usb 6-1: USB disconnect, device number 5 usb 6-1: unregistering device usb 6-1: unregistering interface 6-1:1.0 usb 6-1: usb_disable_device nuking all URBs platform-xhci platform-xhci.0: xhci_drop_endpoint called for udev e3594c00 platform-xhci platform-xhci.0: drop ep 0x81, slot id 2, new drop flags = 0x8, new add flags = 0x0, new slot info = 0x8400000 platform-xhci platform-xhci.0: xhci_drop_endpoint called for udev e3594c00 platform-xhci platform-xhci.0: drop ep 0x2, slot id 2, new drop flags = 0x18, new add flags = 0x0, new slot info = 0x8400000 platform-xhci platform-xhci.0: xhci_check_bandwidth called for udev e3594c00 platform-xhci platform-xhci.0: xhci_hub_status_data: stopping port polling. platform-xhci platform-xhci.0: New Input Control Context: platform-xhci platform-xhci.0: // Ding dong! platform-xhci platform-xhci.0: Completed config ep cmd usb 6-1: Successful Endpoint Configure command platform-xhci platform-xhci.0: Output context after successful config ep cmd: platform-xhci platform-xhci.0: Cached old ring, 1 ring cached platform-xhci platform-xhci.0: Cached old ring, 2 rings cached platform-xhci platform-xhci.0: // Ding dong!