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 22:18:14 +0000 [thread overview]
Message-ID: <bug-222328-208809-6k7smdzUNV@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-222328-208809@https.bugzilla.kernel.org/>
https://bugzilla.kernel.org/show_bug.cgi?id=222328
--- Comment #2 from drastic-vivid-7557@shy.email ---
(In reply to Michał Pecio from comment #1)
> 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.
Thanks for looking into this.
A few details from my side, in case they help:
- The Elgato is plugged directly into the ASM3142 card's port, not behind a
hub.
- It also stalls when it enumerates at 5 Gbps (0fd9:009c), not just at 10 Gbps.
- In my trace, all completed bulk TDs were full length (16384/16384, apart from
one 16104), so I can't tell
whether the unreported one was short.
- The same Elgato works normally on the board's AMD (Promontory/Matisse) ports.
I'm on Bazzite (immutable Fedora), so testing a custom kernel is harder for me,
but I'm happy to test a patch if there's a practical way.
--
You are receiving this mail because:
You are watching the assignee of the bug.
next prev parent reply other threads:[~2026-11-25 22:18 UTC|newest]
Thread overview: 5+ 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 ` [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
2026-11-25 22:18 ` bugzilla-daemon [this message]
2026-11-26 12:29 ` bugzilla-daemon
2026-11-26 12:31 ` 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-6k7smdzUNV@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