[Bug 219681] ASUS Zenbook S 14 UX5406SA: Unstable USB connection on USB-A port under certain condition

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

 



https://bugzilla.kernel.org/show_bug.cgi?id=219681

--- Comment #9 from Mathias Nyman (mathias.nyman@xxxxxxxxxxxxxxx) ---
Thank you, 

dmesg shows USB link goes to Inactive error state, and device needs to be 
reset to recover, hence the disconnect

The USB Link Power Management (LPM) U1 and U2 states, and Max exit latency
(MEL) values look suspicious in the logs. An issue with these could cause link
error.

Does disabling LPM for the Realtek usb network adapter help?


This can be done by adding USB_QUIRK_NO_LPM quirk "k" for your device vid:pid
i.e. add "usbcore.quirks=0bda:8156:k" parameter to your kernel cmdline. 

optionally remove xhci LPM support for Intel hosts and recompile kernel: 

diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c
index 2d1e205c14c6..57a6641fbcef 100644
--- a/drivers/usb/host/xhci-pci.c
+++ b/drivers/usb/host/xhci-pci.c
@@ -316,7 +316,7 @@ static void xhci_pci_quirks(struct device *dev, struct
xhci_hcd *xhci)
                xhci->quirks |= XHCI_BROKEN_D3COLD_S2I;

        if (pdev->vendor == PCI_VENDOR_ID_INTEL) {
-               xhci->quirks |= XHCI_LPM_SUPPORT;
+//             xhci->quirks |= XHCI_LPM_SUPPORT;
                xhci->quirks |= XHCI_INTEL_HOST;
                xhci->quirks |= XHCI_AVOID_BEI;
        }

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.




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

  Powered by Linux