From owner-freebsd-usb@FreeBSD.ORG Wed Aug 20 12:11:27 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 262CE1065688 for ; Wed, 20 Aug 2008 12:11:27 +0000 (UTC) (envelope-from pb@ludd.ltu.se) Received: from mother.ludd.ltu.se (mother.ludd.ltu.se [130.240.16.3]) by mx1.freebsd.org (Postfix) with ESMTP id A3FF48FC20 for ; Wed, 20 Aug 2008 12:11:26 +0000 (UTC) (envelope-from pb@ludd.ltu.se) Received: from brother.ludd.ltu.se (root@brother.ludd.ltu.se [130.240.16.78]) by mother.ludd.ltu.se (8.13.6+Sun/8.12.10) with ESMTP id m7KCBOpx014883 for ; Wed, 20 Aug 2008 14:11:24 +0200 (MEST) Received: from brother.ludd.ltu.se (pb@localhost [127.0.0.1]) by brother.ludd.ltu.se (8.13.6+Sun/8.12.2) with ESMTP id m7KCBOxk010714 for ; Wed, 20 Aug 2008 14:11:24 +0200 (MEST) Received: (from pb@localhost) by brother.ludd.ltu.se (8.13.6+Sun/8.13.6/Submit) id m7KCBLhK010712 for freebsd-usb@freebsd.org; Wed, 20 Aug 2008 14:11:21 +0200 (MEST) From: Peter B Message-Id: <200808201211.m7KCBLhK010712@brother.ludd.ltu.se> To: freebsd-usb@freebsd.org Date: Wed, 20 Aug 2008 14:11:21 +0200 (MEST) X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: USB Video Class, port/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: Wed, 20 Aug 2008 12:11:27 -0000 NetBSD is getting USB Video Class support with help of Google Summer of Code. http://netbsd-soc.sourceforge.net/projects/uvc/ http://netbsd-soc.cvs.sourceforge.net/netbsd-soc/uvc/ Should be even less complicated than an OpenBSD port. Especially considering that several NetBSD drivers has already been imported before (like uscanner). Last update as of 2008-08-18, Nearly Complete Status Update: UVC driver (uvideo) * Supports isoc cameras with frame-based formats (MJPEG and uncompressed) * Supports immediate (non-interrupt) controls * Uses mi video driver for external API Video driver (video) * Implements Video4Linux2 API. Only supports capture interface (video input), format settings, and camera controls (brightness, etc.). * Supports capture via read() or mmap() modes. * Successfully compiled and use MPlayer with the video driver (webpage includes patch). * Initial documentation of userland API in video(4) and kernel interface in video(9). * Has been used with a second webcam driver, Jared's pseye. TODO before end of GSoC * Test another V4L2 app such as VLC or xawtv. * Add more controls to uvideo (currently only has a few as proof-of-concept; adding the other controls is trivial). * Add uvideo(4) manpage. Maybe TODO depending on time * Implement bulk xfers in uvideo. I can't test this directly due to lack of hardware with bulk endpoints. UVC spec: http://www.usb.org/developers/devclass_docs/USB_Video_Class_1_1.zip