Linux USB
 help / color / mirror / Atom feed
From: bugzilla-daemon@kernel.org
To: linux-usb@vger.kernel.org
Subject: [Bug 222328] xhci: ASMedia ASM2142/ASM3142 [1b21:2142] skips transfer event for bulk TRB before link TRB -> UVC stream (Elgato 4K X, 10 Gbps) stalls with "not part of TD"
Date: Wed, 25 Nov 2026 21:16:12 +0000	[thread overview]
Message-ID: <bug-222328-208809-2tCQqFvu9B@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-222328-208809@https.bugzilla.kernel.org/>

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

Michał Pecio (michal.pecio@gmail.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |michal.pecio@gmail.com

--- Comment #1 from Michał Pecio (michal.pecio@gmail.com) ---
Fascinating, the same happens on my ASM3142 with a 5gbps UVC capture device,
but I haven't seen it with other USB3 bulk IN devices. Typically for ASMedia,
the bug is random (several TDs at 0x...fe0 succeed before the first missing
event is logged). Or maybe it happens if the unreported transfer was short?

Patching uvcvideo to only submit one URB at a time (#define UVC_URBS 1) seems
to fix it, but 2 URBs trigger it about as quickly as 5. Seems to happen faster
if the device is behind a hub.

Windows works differently, it uses Event Data TRBs so if the transfers do
actually occur but IOC/ISP handling is broken, Windows won't notice. And there
is never such a thing as a transfer TRB immediately before an unchained link.

But implementing EDs properly seems like a bit of work; I think I will try some
hacks like padding the ring with NOPs before the link...

I haven't seen this on ASM1142 and Promontory yet.

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

  reply	other threads:[~2026-11-25 21:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-25 16:29 [Bug 222328] New: Hardware - Host controller: ASMedia ASM2142/ASM3142 USB 3.1 Host Controller [1b21:2142] on a PCIe add-in card (GLOTRENDS U3142X1), link 8 GT/s x1, Kernel driver: xhci_hcd xhci quirks reported at probe: 0x0000000000800010 (SPURIOUS_SUCCESS | NO_64BIT_ bugzilla-daemon
2026-11-25 21:16 ` bugzilla-daemon [this message]
2026-11-25 22:18 ` [Bug 222328] xhci: ASMedia ASM2142/ASM3142 [1b21:2142] skips transfer event for bulk TRB before link TRB -> UVC stream (Elgato 4K X, 10 Gbps) stalls with "not part of TD" 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-222328-208809-2tCQqFvu9B@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