From owner-svn-src-vendor@FreeBSD.ORG Sat Dec 5 10:07:38 2009 Return-Path: Delivered-To: svn-src-vendor@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D2D2106566B; Sat, 5 Dec 2009 10:07:38 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id 421DF8FC0C; Sat, 5 Dec 2009 10:07:38 +0000 (UTC) Received: from outgoing.leidinger.net (pD9E2DEB3.dip.t-dialin.net [217.226.222.179]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id D147384402B; Sat, 5 Dec 2009 11:07:31 +0100 (CET) Received: from unknown (unknown [192.168.2.110]) by outgoing.leidinger.net (Postfix) with ESMTP id B234A292E25; Sat, 5 Dec 2009 11:07:26 +0100 (CET) Date: Sat, 5 Dec 2009 11:07:25 +0100 From: Alexander Leidinger To: Ed Schouten Message-ID: <20091205110725.00002cb8@unknown> In-Reply-To: <20091204231114.GT64905@hoeg.nl> References: <200912042042.nB4Kg9N9064970@svn.freebsd.org> <20091204231114.GT64905@hoeg.nl> X-Mailer: Claws Mail 3.7.2cvs15 (GTK+ 2.16.0; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: D147384402B.C1A25 X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=-1.363, required 6, autolearn=disabled, ALL_TRUSTED -1.44, TW_SV 0.08) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1260612452.73951@VxNytDKerBEGJQvdp6jQ/g X-EBL-Spam-Status: No Cc: svn-src-all@freebsd.org, src-committers@freebsd.org, Alexander Leidinger , svn-src-vendor@freebsd.org Subject: Re: svn commit: r200107 - in vendor/v4l: . dist X-BeenThere: svn-src-vendor@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the vendor work area tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Dec 2009 10:07:38 -0000 On Sat, 5 Dec 2009 00:11:14 +0100 Ed Schouten 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.