From: Michal Pecio <michal.pecio@gmail.com>
To: hi@yasunobu.dev
Cc: Ricardo Ribalda <ribalda@chromium.org>,
linux-media@vger.kernel.org,
Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
Hans de Goede <hansg@kernel.org>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Mathias Nyman <mathias.nyman@intel.com>,
linux-usb@vger.kernel.org
Subject: Re: [PATCH] media: uvcvideo: Batch StreamCam unlinks on ASUS ASM2142
Date: Sun, 22 Nov 2026 23:53:25 +0100 [thread overview]
Message-ID: <20261122235325.3526f7bb.michal.pecio@gmail.com> (raw)
In-Reply-To: <179509825333.7.16183167217667709685.1785923683@yasunobu.dev>
On Thu, 19 Nov 2026 14:24:04 +0000, hi@yasunobu.dev wrote:
> Thanks for the clarification.
>
> > Does it work, including in high resolution uncompressed video
> > modes?
>
> On Linux 7.3.5, 720p30 MJPEG worked on my ASM2142 at SuperSpeed.
> 1080p30 timed out with zero frames in YUYV, NV12, and MJPEG.
> xHCI logged "status 13 not part of TD" for ep 2.
That's probably same thing I'm seeing on ASM3142, the HC fails to
generate completion events for some transfers. But the same HW works
in Windows. Running Windows 10 under QEMU I see two differences:
Event Data TRBs are used to generate events, and transfer buffers are
split into smaller chunks no more than 4KB in size.
I haven't tried implementing Event Data, but reducing the value of
TRB_MAX_BUFF_SHIFT in drivers/usb/host/xhci.h does seem to help. But
not all values work for all alt settings and I'm still not sure what
the HW bug mechanism is and how to optimally split the buffers.
Maybe it depends on burst size?
You could play with it on your HW if you are interested. Your camera
has some interesting alt setting with short bursts and high mult.
Regards,
Michal
prev parent reply other threads:[~2026-11-22 22:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-19 11:44 [PATCH] media: uvcvideo: Batch StreamCam unlinks on ASUS ASM2142 Yasunobu Sakashita via B4 Relay
2026-11-19 12:06 ` Ricardo Ribalda
2026-11-19 12:43 ` Laurent Pinchart
2026-11-19 13:08 ` hi
2026-11-22 22:36 ` Michal Pecio
2026-11-19 13:19 ` Michal Pecio
2026-11-19 14:24 ` hi
2026-11-22 22:53 ` Michal Pecio [this message]
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=20261122235325.3526f7bb.michal.pecio@gmail.com \
--to=michal.pecio@gmail.com \
--cc=hansg@kernel.org \
--cc=hi@yasunobu.dev \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-media@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=mathias.nyman@intel.com \
--cc=mchehab@kernel.org \
--cc=ribalda@chromium.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