Page MenuHomeFreeBSD

fwcam: write video mode registers before enabling ISO streaming
ClosedPublic

Authored by seuros on Jul 7 2026, 7:11 PM.
Referenced Files
F168179029: D58092.id181514.diff
Wed, Aug 26, 5:56 PM
Unknown Object (File)
Sun, Aug 23, 12:15 PM
Unknown Object (File)
Sat, Aug 22, 9:30 AM
Unknown Object (File)
Mon, Aug 17, 2:07 PM
Unknown Object (File)
Mon, Aug 17, 12:10 PM
Unknown Object (File)
Fri, Aug 14, 9:24 PM
Unknown Object (File)
Fri, Aug 14, 9:24 PM
Unknown Object (File)
Fri, Aug 14, 4:27 PM
Subscribers

Details

Summary

The IIDC spec (s3.1) requires the video mode to be programmed before ISO
enable. Without this, cameras that power up with invalid default
mode/rate combinations reject the ISO_EN write.

This can happen when the firmware of teh camera is outdated or
vendor never updated it.

Diff Detail

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

Event Timeline

seuros requested review of this revision.Jul 7 2026, 7:11 PM
sys/dev/firewire/fwcam.c
411

add _SHIFT defines for this, like other register definitions have!

434

Add a definition for this particular bit like other registers

use constant. address review.

This revision was not accepted when it landed; it landed in state Needs Review.Jul 8 2026, 5:42 AM
This revision was automatically updated to reflect the committed changes.