> 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

I'm experiencing the same random disconnect/connect issue with xhci as 
Hans-Peter. My HDD enclosure is based on ASMedia 1051 (vid=174c, pid=55aa)

I was also suspecting USB3 hardware LPM and didn't know how to disable it as 
well. So I removed the line suggested by Mathias and recompiled the kernel. No 
changes. My usbmon output is also attached.

The enclosure works perfectly in xhci mode under Windows 7 with Intel USB3.0 
drivers. It also works perfectly under Linux in ehci mode as well as in xhci 
mode on a different host (older USB 3.0 controller from a different vendor).

Eugen

Attachment: usbmon.out.gz
Description: Binary data

Reply via email to