From 7479db8558b69174a7ddfbc4f7c0ab5d63c21363 Mon Sep 17 00:00:00 2001 From: AI Dev Date: Tue, 13 Oct 2026 19:20:37 +0000 Subject: [PATCH] ptz: the motorized profiles set ptz.enabled/ptz.actuator, where majestic now reads them --- .../general/overlay/usr/share/openipc/customizer.sh | 4 ++-- .../general/overlay/usr/share/openipc/customizer.sh | 4 ++-- .../general/overlay/usr/share/openipc/customizer.sh | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/devices/gk7205v510_ultimate_zenointel-sd-2n-4g/general/overlay/usr/share/openipc/customizer.sh b/devices/gk7205v510_ultimate_zenointel-sd-2n-4g/general/overlay/usr/share/openipc/customizer.sh index 43168499b..3e0cdc126 100755 --- a/devices/gk7205v510_ultimate_zenointel-sd-2n-4g/general/overlay/usr/share/openipc/customizer.sh +++ b/devices/gk7205v510_ultimate_zenointel-sd-2n-4g/general/overlay/usr/share/openipc/customizer.sh @@ -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. diff --git a/devices/hi3516dv100_lite_xm-n81820/general/overlay/usr/share/openipc/customizer.sh b/devices/hi3516dv100_lite_xm-n81820/general/overlay/usr/share/openipc/customizer.sh index d7c2d2021..8906c9f59 100755 --- a/devices/hi3516dv100_lite_xm-n81820/general/overlay/usr/share/openipc/customizer.sh +++ b/devices/hi3516dv100_lite_xm-n81820/general/overlay/usr/share/openipc/customizer.sh @@ -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 # # # Reboot so the environment takes effect. diff --git a/devices/hi3516ev300_lite_xm-85h50ai/general/overlay/usr/share/openipc/customizer.sh b/devices/hi3516ev300_lite_xm-85h50ai/general/overlay/usr/share/openipc/customizer.sh index 86fe40a50..f33c78d97 100755 --- a/devices/hi3516ev300_lite_xm-85h50ai/general/overlay/usr/share/openipc/customizer.sh +++ b/devices/hi3516ev300_lite_xm-85h50ai/general/overlay/usr/share/openipc/customizer.sh @@ -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