linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: bugzilla-daemon@kernel.org
To: linux-usb@vger.kernel.org
Subject: [Bug 219681] ASUS Zenbook S 14 UX5406SA: Unstable USB connection on USB-A port under certain condition
Date: Tue, 21 Jan 2025 12:06:29 +0000	[thread overview]
Message-ID: <bug-219681-208809-SM9wcXMHxj@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-219681-208809@https.bugzilla.kernel.org/>

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

--- Comment #9 from Mathias Nyman (mathias.nyman@linux.intel.com) ---
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.

  parent reply	other threads:[~2025-01-21 12:06 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-11  7:19 [Bug 219681] New: ASUS Zenbook S 14 UX5406SA: Unstable USB connection on USB-A port under certain condition bugzilla-daemon
2025-01-15 14:50 ` [Bug 219681] " bugzilla-daemon
2025-01-15 15:16 ` bugzilla-daemon
2025-01-15 15:17 ` bugzilla-daemon
2025-01-15 17:24 ` bugzilla-daemon
2025-01-15 17:52 ` bugzilla-daemon
2025-01-20 15:40 ` bugzilla-daemon
2025-01-20 17:13 ` bugzilla-daemon
2025-01-20 17:13 ` bugzilla-daemon
2025-01-21 12:06 ` bugzilla-daemon [this message]
2025-01-22 15:36 ` bugzilla-daemon
2025-01-23 15:27 ` bugzilla-daemon
2025-01-23 17:45 ` bugzilla-daemon
2025-01-24  1:29 ` bugzilla-daemon
2025-01-27  9:05 ` bugzilla-daemon
2025-01-27  9:14 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-219681-208809-SM9wcXMHxj@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@kernel.org \
    --cc=linux-usb@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).