Date: Sat, 5 Dec 2009 11:07:25 +0100 From: Alexander Leidinger <Alexander@Leidinger.net> To: Ed Schouten <ed@80386.nl> Cc: svn-src-all@freebsd.org, src-committers@freebsd.org, Alexander Leidinger <netchild@FreeBSD.org>, svn-src-vendor@freebsd.org Subject: Re: svn commit: r200107 - in vendor/v4l: . dist Message-ID: <20091205110725.00002cb8@unknown> In-Reply-To: <20091204231114.GT64905@hoeg.nl> References: <200912042042.nB4Kg9N9064970@svn.freebsd.org> <20091204231114.GT64905@hoeg.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 5 Dec 2009 00:11:14 +0100 Ed Schouten <ed@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091205110725.00002cb8>