Page MenuHomeFreeBSD

fwcam: write video mode registers before enabling ISO streaming
ClosedPublic

Authored by guest-seuros on Tue, Jul 7, 7:11 PM.
Referenced Files
F162325140: D58092.id181490.diff
Sun, Jul 12, 1:58 AM
F162323129: D58092.id181514.diff
Sun, Jul 12, 1:32 AM
F162288409: D58092.diff
Sat, Jul 11, 5:49 PM
F162287637: D58092.diff
Sat, Jul 11, 5:38 PM
F162287150: D58092.id181474.diff
Sat, Jul 11, 5:32 PM
Unknown Object (File)
Fri, Jul 10, 5:44 PM
Unknown Object (File)
Wed, Jul 8, 4:26 PM
Unknown Object (File)
Wed, Jul 8, 4:53 AM
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

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

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