From owner-freebsd-multimedia@FreeBSD.ORG Tue Sep 23 18:32:49 2008 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 098F81065671 for ; Tue, 23 Sep 2008 18:32:49 +0000 (UTC) (envelope-from frtzkatz@yahoo.com) Received: from web63005.mail.re1.yahoo.com (web63005.mail.re1.yahoo.com [69.147.96.216]) by mx1.freebsd.org (Postfix) with SMTP id A7EB18FC30 for ; Tue, 23 Sep 2008 18:32:48 +0000 (UTC) (envelope-from frtzkatz@yahoo.com) Received: (qmail 73086 invoked by uid 60001); 23 Sep 2008 18:32:47 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Message-ID; b=4vH2ECCjt0PXKd2MaAt0odNHAirMYMIlWci/xOx2mCibcATmTA96TzP9dDzEREmJthN7RwnbnkHq2ofiAonFqwJ0vGg0jiLuW0J+mI3FdwBfOE15W/vA0HAma8vxvF1t6bgBnSoenEA6GaSk5HEVhYGft54ulriLzQ0mJnXux/A=; X-YMail-OSG: L0ahI8AVM1mzWD7p44ExZ6wo6JrOTo4lqUbXoXMuPbDcBHSfuA01xMHcLrZsfQ_sUYckGd7OaFotoC4gh8hmKPHAb2E5sOMY3rKEYyVilNuxU5_eiwnnk0OSfYDbcIFssnBiUryZSAA5n.tcjTVPLcy3X.s- Received: from [71.104.221.209] by web63005.mail.re1.yahoo.com via HTTP; Tue, 23 Sep 2008 11:32:47 PDT X-Mailer: YahooMailWebService/0.7.218.2 Date: Tue, 23 Sep 2008 11:32:47 -0700 (PDT) From: Fritz Katz To: freebsd-multimedia@freebsd.org, intron@intron.ac MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <949626.72396.qm@web63005.mail.re1.yahoo.com> Cc: Subject: Re: Which Userland Interface for USB Video Class Driver? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: frtzkatz@yahoo.com List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Sep 2008 18:32:49 -0000 On Monday, September 22, 2008 5:33 AM, Intron wrote: > I would write/port a driver for USB video class for FreeBSD's > new USB stack (usb2). OpenBSD and NetBSD both has had their > own implementations for the device class as some people referred > to recently. But which userland interface, bktr(4) or V4L2, should > I use for the driver? We've only got two choices: -- bktr is dead, -- and V4L2 doesn't exist. bktr is a dead end. The Brooktree company no longer exists. Conexant stopped making bktr chips years ago. It only supports analog -- analog is a dead end too. Instead, look at Jason Harmening's work on cx88 support: http://lists.freebsd.org/pipermail/freebsd-multimedia/2008-September/009116.html ... that's the future. V4L2 has a well defined interface, and numerous applications already support it. It's not tied to any particular hardware, company, or chip so it's not going to die like bktr did. IMHO, V4L2 should be the future for BSDs as well. Implementing a V4L2-IOCTL interface would be a moderately difficult but very rewarding project. > I have noticed that Julian has done some work for V4L2: > http://perforce.freebsd.org/depotTreeBrowser.cgi?FSPC=//depot/user/julian/julian%5fv4l/sys/dev/video/framework&HIDEDEL=NO > > But I wonder how soon Julian's code can be committed into > the main source tree. I wouldn't see the driver sleeps outside > the main source tree. Looks like no activity in that tree since 2006/08/24 -- I don't see it being committed anytime soon. I've started a project to bring V4L2 to BSDs here: http://video4bsd.sourceforge.net/ Cheers, -- Fritz Katz.