On 05/23/2015 10:00 PM, Donald Harter wrote:
May 23 08:52:05 pc_u kernel: [53875.075976] xhci_hcd 0000:00:14.0: Port Status Change Event for port 3 May 23 08:52:05 pc_u kernel: [53875.075979] xhci_hcd 0000:00:14.0: port resume event for port 3 May 23 08:52:05 pc_u kernel: [53875.075981] xhci_hcd 0000:00:14.0: resume HS port 3 May 23 08:52:05 pc_u kernel: [53875.075983] xhci_hcd 0000:00:14.0: handle_port_status: starting port polling. May 23 08:52:05 pc_u kernel: [53875.135221] xhci_hcd 0000:00:14.0: Resume USB2 port 3 May 23 08:52:05 pc_u kernel: [53875.135230] xhci_hcd 0000:00:14.0: Port Status Change Event for port 3 May 23 08:52:05 pc_u kernel: [53875.135240] xhci_hcd 0000:00:14.0: get port status, actual port 2 status = 0xfe3 May 23 08:52:05 pc_u kernel: [53875.135241] xhci_hcd 0000:00:14.0: Get port status returned 0x40503 May 23 08:52:05 pc_u kernel: [53875.135262] xhci_hcd 0000:00:14.0: clear port suspend/resume change, actual port 2 status = 0xe03 May 23 08:52:05 pc_u kernel: [53875.151222] xhci_hcd 0000:00:14.0: get port status, actual port 2 status = 0xe03 May 23 08:52:05 pc_u kernel: [53875.151224] xhci_hcd 0000:00:14.0: Get port status returned 0x503 May 23 08:52:05 pc_u kernel: [53875.255453] xhci_hcd 0000:00:14.0: // Ding dong! May 23 08:52:05 pc_u kernel: [53875.255496] xhci_hcd 0000:00:14.0: Slot 15 output ctx = 0x4018f1000 (dma) May 23 08:52:05 pc_u kernel: [53875.255498] xhci_hcd 0000:00:14.0: Slot 15 input ctx = 0x401e2a000 (dma) May 23 08:52:05 pc_u kernel: [53875.255499] xhci_hcd 0000:00:14.0: Set slot id 15 dcbaa entry ffff8804028f2078 to 0x4018f1000 May 23 08:52:06 pc_u kernel: [53875.343311] usb 3-3.4: new high-speed USB device number 14 using xhci_hcd May 23 08:52:06 pc_u kernel: [53875.343314] xhci_hcd 0000:00:14.0: Set root hub portnum to 3 May 23 08:52:06 pc_u kernel: [53875.343315] xhci_hcd 0000:00:14.0: Set fake root hub portnum to 3 May 23 08:52:06 pc_u kernel: [53875.343315] xhci_hcd 0000:00:14.0: udev->tt = (null) May 23 08:52:06 pc_u kernel: [53875.343316] xhci_hcd 0000:00:14.0: udev->ttport = 0x0 May 23 08:52:06 pc_u kernel: [53875.343317] xhci_hcd 0000:00:14.0: Slot ID 15 Input Context:

It looks like USB device doesn't complete resuming while host controller tries
to assign USB address to it.

Do you mind trying below change?

diff --git a/include/linux/usb.h b/include/linux/usb.h
index 447fe29..660e2d7 100644
--- a/include/linux/usb.h
+++ b/include/linux/usb.h
@@ -229,7 +229,7 @@ void usb_put_intf(struct usb_interface *intf);
* should cope with both LPJ calibration errors and devices not following every
  * detail of the USB Specification.
  */
-#define USB_RESUME_TIMEOUT     40 /* ms */
+#define USB_RESUME_TIMEOUT     100 /* ms */

 /**
* struct usb_interface_cache - long-term representation of a device interface

Thanks,
-Baolu
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to