Page MenuHomeFreeBSD

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

Authored by guest-seuros on Jun 27 2026, 8:56 PM.
Referenced Files
Unknown Object (File)
Thu, Aug 13, 3:09 AM
Unknown Object (File)
Tue, Aug 11, 11:16 PM
Unknown Object (File)
Mon, Aug 10, 2:29 PM
Unknown Object (File)
Sun, Aug 9, 3:35 PM
Unknown Object (File)
Sat, Aug 8, 5:56 PM
Unknown Object (File)
Sat, Aug 8, 4:40 PM
Unknown Object (File)
Sat, Aug 8, 10:39 AM
Unknown Object (File)
Sat, Aug 8, 7:15 AM
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