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)
Thu, Sep 24, 4:23 PM
Unknown Object (File)
Thu, Sep 24, 2:51 PM
Unknown Object (File)
Sat, Sep 19, 11:05 PM
Unknown Object (File)
Wed, Sep 16, 3:56 PM
Unknown Object (File)
Fri, Sep 11, 5:03 AM
Unknown Object (File)
Fri, Sep 11, 4:00 AM
Unknown Object (File)
Thu, Sep 10, 9:28 PM
Unknown Object (File)
Tue, Sep 8, 2:12 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