Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #64316 > unrolled thread
| Started by | Steve Cotton <steve@s.cotton.clara.co.uk> |
|---|---|
| First post | 2019-06-22 03:10 +0200 |
| Last post | 2019-06-24 12:10 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.debian.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Bug#930860: linux-image-4.19.0-5-amd64: USB Camera seen as multiple devices Steve Cotton <steve@s.cotton.clara.co.uk> - 2019-06-22 03:10 +0200
Bug#930860: linux-image-4.19.0-5-amd64: USB Camera seen as multiple devices Seba Kerckhof <seba.kerckhof@gmail.com> - 2019-06-24 12:10 +0200
| From | Steve Cotton <steve@s.cotton.clara.co.uk> |
|---|---|
| Date | 2019-06-22 03:10 +0200 |
| Subject | Bug#930860: linux-image-4.19.0-5-amd64: USB Camera seen as multiple devices |
| Message-ID | <ybCHv-3D9-1@gated-at.bofh.it> |
On Fri, Jun 21, 2019 at 04:07:25PM +0200, Seba Kerckhof wrote:
> Under Debian 10 rc1, when I plug in my USB camera (the very common logitech
> c930e), 2 devices are added (e.g. /dev/video0 and /dev/video1).
>
> v4l-info works on /dev/video0, but fails on /dev/video1
> (VIDIOC_G_FMT(VIDEO_CAPTURE): Invalid argument). When I try to access the
> device using gstreamer it tells me that /dev/video1 is not a capture device.
This is the feature added in commit 088ead25524583e2200aa99111bea2f66a86545a.
media: uvcvideo: Add a metadata device node
Some UVC video cameras contain metadata in their payload headers. This
patch extracts that data, adding more clock synchronisation information,
on both bulk and isochronous endpoints and makes it available to the user
space on a separate video node, using the V4L2_CAP_META_CAPTURE capability
and the V4L2_BUF_TYPE_META_CAPTURE buffer queue type. By default, only the
V4L2_META_FMT_UVC pixel format is available from those nodes. However,
cameras can be added to the device ID table to additionally specify their
own metadata format, in which case that format will also become available
from the metadata node.
Guennadi, sorry but this feels more like a bug than a feature to me, and at
least three other people have reported it as a bug without working out the cause.
* https://bugs.debian.org/930860
* https://bugzilla.kernel.org/show_bug.cgi?id=199193
* https://bugzilla.kernel.org/show_bug.cgi?id=199575
Seba, thanks for reporting this. I met this feature while working on a
closed-source application, added a workaround to ignore cameras that don't
support normal video capture, and haven't yet got round to replying to the
Bugzilla reports above. I'd be happy if someone else took on that task.
BR,
Steve
[toc] | [next] | [standalone]
| From | Seba Kerckhof <seba.kerckhof@gmail.com> |
|---|---|
| Date | 2019-06-24 12:10 +0200 |
| Message-ID | <ycu5b-27h-3@gated-at.bofh.it> |
| In reply to | #64316 |
[Multipart message — attachments visible in raw view] — view raw
Thanks Steve. I replied to the bugzilla reports you listed. A google search on that commit number reveals quite a few more similar bug reports and applications breaking because of it. I guess quite a few applications would not be aware of the existence of these metadata nodes. Anyway, I'll also work around it in the same way you did. Op za 22 jun. 2019 om 02:30 schreef Steve Cotton <steve@s.cotton.clara.co.uk >: > On Fri, Jun 21, 2019 at 04:07:25PM +0200, Seba Kerckhof wrote: > > Under Debian 10 rc1, when I plug in my USB camera (the very common > logitech > > c930e), 2 devices are added (e.g. /dev/video0 and /dev/video1). > > > > v4l-info works on /dev/video0, but fails on /dev/video1 > > (VIDIOC_G_FMT(VIDEO_CAPTURE): Invalid argument). When I try to access the > > device using gstreamer it tells me that /dev/video1 is not a capture > device. > > This is the feature added in commit > 088ead25524583e2200aa99111bea2f66a86545a. > > media: uvcvideo: Add a metadata device node > > Some UVC video cameras contain metadata in their payload headers. This > patch extracts that data, adding more clock synchronisation > information, > on both bulk and isochronous endpoints and makes it available to the > user > space on a separate video node, using the V4L2_CAP_META_CAPTURE > capability > and the V4L2_BUF_TYPE_META_CAPTURE buffer queue type. By default, only > the > V4L2_META_FMT_UVC pixel format is available from those nodes. However, > cameras can be added to the device ID table to additionally specify > their > own metadata format, in which case that format will also become > available > from the metadata node. > > Guennadi, sorry but this feels more like a bug than a feature to me, and at > least three other people have reported it as a bug without working out the > cause. > > * https://bugs.debian.org/930860 > * https://bugzilla.kernel.org/show_bug.cgi?id=199193 > * https://bugzilla.kernel.org/show_bug.cgi?id=199575 > > Seba, thanks for reporting this. I met this feature while working on a > closed-source application, added a workaround to ignore cameras that don't > support normal video capture, and haven't yet got round to replying to the > Bugzilla reports above. I'd be happy if someone else took on that task. > > BR, > Steve >
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.kernel
csiph-web