Page MenuHomeFreeBSD

fwcamctl: add control utility for fwcam(4) IIDC FireWire cameras
ClosedPublic

Authored by seuros on Jun 27 2026, 8:56 PM.
Referenced Files
Unknown Object (File)
Tue, Oct 13, 11:10 AM
Unknown Object (File)
Mon, Oct 12, 2:36 AM
Unknown Object (File)
Mon, Oct 5, 4:56 PM
Unknown Object (File)
Mon, Oct 5, 12:27 PM
Unknown Object (File)
Mon, Oct 5, 9:47 AM
Unknown Object (File)
Sun, Oct 4, 2:11 AM
Unknown Object (File)
Sat, Oct 3, 6:36 AM
Unknown Object (File)
Fri, Oct 2, 8:25 PM
Subscribers

Details

Summary

fwcamctl provides userland access to /dev/fwcam0. Supported
subcommands: info (camera state, format, mode, rate, features),
snap (capture a frame as PPM), mode (set format/mode/rate), and
feat (get/set camera feature registers).

snap converts YUV422, YUV411, YUV444, RGB8, and Mono8 pixel
formats to RGB24 PPM with no external dependencies. A configurable
frame skip (default 5) allows auto-exposure and auto-white-balance
to settle before capture.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

adrian added a reviewer: firewire.
adrian added a subscriber: firewire.
adrian added inline comments.
sys/dev/firewire/fwcam.c
152

This should be in a separate commit!

This revision is now accepted and ready to land.Jul 7 2026, 8:45 PM