v4l + webcamd + Logitech C210 + Skype (FreeBSD 8-stable)
Alexander Leidinger
Alexander at Leidinger.net
Tue Jan 25 10:50:06 UTC 2011
Quoting Oliver Fromme <olli at lurza.secnetix.de> (from Mon, 24 Jan 2011
17:43:55 +0100 (CET)):
> Alexander Leidinger wrote:
> > Oliver Fromme wrote:
> >
> > > The Logitech C210 is a UVC webcam (USB video class), and
> > > webcamd includes a uvc driver, but it says that it is V4L2
> > > only. On the other hand, the Linuxulator's video device
> > > translation layer does not support V4L2, as far as I know.
> >
> > Correct.
> >
> > > Is that the reason why Skype cannot see my webcam? If so,
> >
> > Probably yes.
>
> Hmm. In the meantime I've looked at the source of pwcview,
> and it seems to be V4L, too (not V4L2). But pwcview _does_
> work, unlike Skype. I'm confused now.
>
> Is there an easy way to check whether V4L or V4L2 is in use?
Add some printf in linux_ioctl.h, this way you see directly what is
used (as we only have v4l there, you do not see v4l2 ones, but you can
see what it tries to do and which response is given). This way you can
be sure what happens.
> I'm somewhat reluctant to spend hours or days on implementing
> an interface, just to find out that the problem is somehwere
> else.
Off course.
> At the moment I have near zero knowledge about V4L/V4L2, as
> you can probably guess from my questions. ;-)
I do not know/enough much about v4l2 either... :)
> > [...]
> > We have the permission to import the v4l2 header (I got the permission
> > from the authors). It's already in the vendor area, but as we do not
> > have code which uses it, it is not imported into head.
>
> Where is it, exactly? I can only see the V4L one in the
> vendor area.
Ooops, sorry, it seems I didn't import it, but if you look at the
README
(http://svn.freebsd.org/viewvc/base/vendor/v4l/README?revision=200107&view=markup) you will see that we have the permission to use the v4l2
one.
Bye,
Alexander.
--
http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137
More information about the freebsd-emulation
mailing list