Repository navigation
ptz: the motorized profiles set ptz.enabled/ptz.actuator (OpenIPC/majestic#341) - #199
Merged
Merged
Conversation
…tic now reads them
openipc-ai
requested review from
cronyx,
flyrouter and
viktorxda
as code owners
October 13, 2026 19:20
Contributor
Author
|
/review |
Code Review by Qodo
1. Upgraded cameras can lose motor control
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
For OpenIPC/majestic#341: majestic's motor settings have moved from
isp.autofocusto a singleptzblock. majestic-af reads them from there since OpenIPC/majestic-af#30, and OpenIPC/firmware#2585 bumps the firmware's pin to it.Three device profiles write the old keys on first boot. majestic no longer reads those keys, and nothing carries them over. Each profile now writes its
ptzequivalent instead:gk7205v510_ultimate_zenointel-sd-2n-4g.isp.autofocus.enabled true,.isp.autofocus.actuator gpiostep.ptz.enabled true,.ptz.actuator gpiostephi3516dv100_lite_xm-n81820.isp.autofocus.enabled true,.isp.autofocus.actuator ms41908.ptz.enabled true,.ptz.actuator ms41908hi3516ev300_lite_xm-85h50ai.isp.autofocus.enabled true.ptz.enabled trueThe first two matter most.
ptz_control=gpiostepandms41908do not switch the motor on by themselves (only the two Pelco values do), so without this change those heads would boot with no motor at all. The 85H50AI also gets the motor fromptz_control=pelco-xm, so its line is for consistency.Merge this in the same release as the firmware pin bump and the matching majestic nightly. With the new keys and an older majestic, these boards would lose the motor in the opposite direction.