Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Aug 2008 14:11:21 +0200 (MEST)
From:      Peter B <pb@ludd.ltu.se>
To:        freebsd-usb@freebsd.org
Subject:   Re: USB Video Class, port/driver.
Message-ID:  <200808201211.m7KCBLhK010712@brother.ludd.ltu.se>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808201211.m7KCBLhK010712>