USB Video Class, port/driver.
Peter B
pb at ludd.ltu.se
Wed Aug 20 12:11:27 UTC 2008
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
More information about the freebsd-usb
mailing list