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
Unknown Object (File)
Thu, Jul 16, 1:55 AM
Unknown Object (File)
Wed, Jul 15, 8:24 AM
Unknown Object (File)
Wed, Jul 15, 8:16 AM
Unknown Object (File)
Wed, Jul 15, 7:29 AM
Unknown Object (File)
Wed, Jul 15, 7:29 AM
Unknown Object (File)
Tue, Jul 14, 10:39 PM
Unknown Object (File)
Tue, Jul 14, 10:02 PM
Unknown Object (File)
Tue, Jul 14, 10:06 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 Passed
Unit
No Test Coverage
Build Status
Buildable 74604
Build 71487: arc lint + arc unit

Event Timeline

sys/dev/firewire/fwcam.c
387

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

410

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.