From owner-freebsd-multimedia@FreeBSD.ORG Mon Sep 22 12:33:28 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 A2A50106564A for ; Mon, 22 Sep 2008 12:33:28 +0000 (UTC) (envelope-from admin@intron.ac) Received: from intron.ac (unknown [211.166.10.238]) by mx1.freebsd.org (Postfix) with ESMTP id 1A7028FC1E for ; Mon, 22 Sep 2008 12:33:27 +0000 (UTC) (envelope-from admin@intron.ac) Received: from localhost (localhost [127.0.0.1]) (uid 1003) by intron.ac with local; Mon, 22 Sep 2008 20:33:25 +0800 id 000EBCA1.48D79095.00015AB7 From: "Intron is my alias on the Internet" To: freebsd-multimedia@freebsd.org Date: Mon, 22 Sep 2008 20:33:25 +0800 Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312"; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Subject: Which Userland Interface for USB Video Class Driver? (fwd) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Sep 2008 12:33:28 -0000 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? 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. ------------------------------------------------------------------------ From Beijing, China