From owner-freebsd-usb@FreeBSD.ORG Sat Sep 20 10:04:26 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A38051065670; Sat, 20 Sep 2008 10:04:26 +0000 (UTC) (envelope-from admin@intron.ac) Received: from intron.ac (unknown [211.166.10.238]) by mx1.freebsd.org (Postfix) with ESMTP id 12F158FC17; Sat, 20 Sep 2008 10:04:25 +0000 (UTC) (envelope-from admin@intron.ac) Received: from localhost (localhost [127.0.0.1]) (uid 1003) by intron.ac with local; Sat, 20 Sep 2008 18:04:24 +0800 id 000EBC7E.48D4CAA8.00001A73 From: "Intron is my alias on the Internet" To: freebsd-usb@freebsd.org Date: Sat, 20 Sep 2008 18:04:24 +0800 Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312"; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Cc: Subject: Which Userland Interface for USB Video Class Driver? X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Sep 2008 10:04:26 -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