public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* uvcvideo regression: loss of access to full UVC payload header for generic UVC devices since 6.17
@ 2026-02-18 10:59 Itay Perl
  2026-02-18 11:17 ` Ricardo Ribalda
  0 siblings, 1 reply; 9+ messages in thread
From: Itay Perl @ 2026-02-18 10:59 UTC (permalink / raw)
  To: linux-media@vger.kernel.org; +Cc: Itay Chamiel, ribalda@chromium.org

Hello,

I'm observing a behavior change in uvcvideo starting with kernel 6.17 that
appears to remove userspace access to the full UVC payload header on generic UVC
devices.

In kernels up to 6.16, requesting a metadata format of 0 allowed userspace to receive the
complete UVC header. uvc_meta_v4l2_try_format had

    fmt->dataformat = fmeta == dev->info->meta_format ? fmeta : V4L2_META_FMT_UVC;

and since dev->info->meta_format was 0 for generic devices, format 0 was accepted as
the metadata format.

Since 6.17, requesting 0 falls back to V4L2_META_FMT_UVC which only exposes the
standard portion of the header to userspace. As a result, there is currently no
mechanism for userspace to access the full UVC header for generic devices.

Would restoring the previous behavior be acceptable for compatibility?
Alternatively (or additionally), would it make sense to introduce a dedicated
metadata format that allows userspace to request the full UVC header for
generic devices?

Regards,
Itay

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-02-19 10:22 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-18 10:59 uvcvideo regression: loss of access to full UVC payload header for generic UVC devices since 6.17 Itay Perl
2026-02-18 11:17 ` Ricardo Ribalda
2026-02-18 11:56   ` Itay Perl
2026-02-18 22:22     ` Laurent Pinchart
2026-02-19  6:03       ` Itay Perl
2026-02-19  8:21         ` Laurent Pinchart
2026-02-19  9:01           ` Itay Perl
2026-02-19  9:16             ` Laurent Pinchart
2026-02-19 10:22               ` Ricardo Ribalda

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox