svn commit: r200107 - in vendor/v4l: . dist

Alexander Leidinger Alexander at Leidinger.net
Sat Dec 5 10:07:38 UTC 2009


On Sat, 5 Dec 2009 00:11:14 +0100 Ed Schouten <ed at 80386.nl> wrote:

> Hello Alexander,
> 
> Some time ago I visited a talk by hps@ at EuroBSDCon and I remember he
> has V4L working with USB webcams. How does this work relate to his
> work?

I assume he has it working in FreeBSD native. I do not know how he did
it, but what the vendor branch provides is the header file directly
from linux (no license problems, not GPLed, see the readme in the
vendor branch for the full story). We can do the same for the v4l2
header, if there's interest. We already have the OK, but so far there's
no code which would use it. If someone is interested to have it in the
vendor branch too, just tell me and I import it (or you can do it
yourself, the README in the v4l vendor branch covers already the OK
for the v4l2 header).

This allows us to just copy this file into head and use it. It is the
interface description. Any driver which wants to provide this
interface, can do it now (after importing it into head). We could for
example modify the bt8xx driver to provide a v4l interface and every
application which has support vor v4l could use it. This is not an area
where I will work in.

What my commit to the linuxulator did was to use a copy of the v4l
header with modifications for the linuxulator. This allows to access
any native FreeBSD device which provices the v4l interface from a linux
application. It is "just" the glue code to translate from linux-space to
the native device.

Bye,
Alexander.


More information about the svn-src-all mailing list