Re: xhci woes continued

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 14.09.2015 22:18, Alan Stern wrote:
On Sun, 13 Sep 2015, Hans-Peter Jansen wrote:

usbmon log attached.

It wasn't attached.

Hrmpf. Hopefully now...

This time the trace wasn't so useful.  It doesn't show any obvious
reason for the disconnections.  It only shows that the port's link
state suddenly changes to INACTIVE along with a connect-status change.

Maybe the device doesn't handle Link Power Management correctly?

Mathias, is there any way to disable LPM for a SuperSpeed device?


If CONFIG_PM is not enabled then SuperSpeed LPM will not be used (U1 and U2 entry)

Also removing the XHCI_LPM_SUPPORT flag should do the trick, for example for Intel hosts:

diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c
index 2be1b7b..8f2eafb 100644
--- a/drivers/usb/host/xhci-pci.c
+++ b/drivers/usb/host/xhci-pci.c
@@ -127,7 +127,6 @@ static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci)
                xhci->quirks |= XHCI_TRUST_TX_LENGTH;
if (pdev->vendor == PCI_VENDOR_ID_INTEL) {
-               xhci->quirks |= XHCI_LPM_SUPPORT;
                xhci->quirks |= XHCI_INTEL_HOST;
                xhci->quirks |= XHCI_AVOID_BEI;
        }

I can't remember any way to do this runtime

-Mathias


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



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux