Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ cli -s .nightMode.whiteHoldSec 10
cli -s .audio.speakerPin 28
# Pan/tilt through majestic-af's gpiostep actuator (/ptz, ONVIF, WebUI). The
# WebUI draws its pad from these two: the method, and the axes the head has.
cli -s .isp.autofocus.enabled true
cli -s .isp.autofocus.actuator gpiostep
cli -s .ptz.enabled true
cli -s .ptz.actuator gpiostep
fw_setenv ptz_control gpiostep
fw_setenv ptz_caps 'pan tilt'
# And the head follows the person it sees, by day and by night.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ fw_setenv upgrade 'https://github.com/OpenIPC/builder/releases/download/latest/h
# pelco protocols), so it is selected directly in majestic's config. The backend
# sets up the SPI1 pinmux itself; /dev/spidev1.0 is present out of the box.
#
cli -s .isp.autofocus.enabled true
cli -s .isp.autofocus.actuator ms41908
cli -s .ptz.enabled true
cli -s .ptz.actuator ms41908
Comment thread
openipc-ai marked this conversation as resolved.
Resolved
#
#
# Reboot so the environment takes effect.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ fw_setenv ptz_caps 'zoom focus'
# Autofocus: majestic's contrast AF engine over the ISP focus statistic,
# driving the same zoom block. Default port/speed already match this board.
#
cli -s .isp.autofocus.enabled true
cli -s .ptz.enabled true
#
#
# The MCU owns the console UART, so getty must not sit on it reading the
Expand Down
Loading