Linux Media Controller development
 help / color / mirror / Atom feed
* [RFC] V4L2 & Metadata: switch to /dev/v4l-metaX instead of /dev/videoX
@ 2019-09-12  7:48 Hans Verkuil
  2019-09-12 13:16 ` Kieran Bingham
  2019-09-14 12:38 ` Laurent Pinchart
  0 siblings, 2 replies; 8+ messages in thread
From: Hans Verkuil @ 2019-09-12  7:48 UTC (permalink / raw)
  To: Linux Media Mailing List

Hi all,

I am increasingly unhappy about the choice of /dev/videoX for metadata devices.

It is confusing for end-users (especially w.r.t. the common uvc driver) and
if we want to change this, then we need to do it soon.

This patch https://patchwork.linuxtv.org/patch/58693/ adds a new VFL_TYPE_METADATA
so at least drivers can now explicitly signal that they want to register a
metadata device.

This also makes it possible to add a kernel config option that allows you
to select whether you want metadata devices to appear as videoX or v4l-metaX.
I would prefer to set it to v4l-metaX by default.

We can also consider backporting this to the stable/long-term kernels.

Metadata capture was introduced in 4.12 for the vsp1 driver, in 4.16 for the
uvc driver and in 5.0 for the staging ipu3 driver.

Does someone remember the reason why we picked /dev/videoX for this in the
first place?

Regards,

	Hans

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

end of thread, other threads:[~2019-09-14 12:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-12  7:48 [RFC] V4L2 & Metadata: switch to /dev/v4l-metaX instead of /dev/videoX Hans Verkuil
2019-09-12 13:16 ` Kieran Bingham
2019-09-12 13:48   ` Hans Verkuil
2019-09-12 14:21   ` Mauro Carvalho Chehab
2019-09-12 14:49     ` Hans Verkuil
2019-09-12 14:57       ` Philipp Zabel
2019-09-12 15:08         ` Hans Verkuil
2019-09-14 12:38 ` Laurent Pinchart

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