From d77caf21c74a6a904d165b46aa320f2938d5a1a2 Mon Sep 17 00:00:00 2001 From: "Signor Pellegrino (from Citadel PC)" Date: Wed, 10 Sep 2025 19:27:12 +0300 Subject: [PATCH] Update files for t40_lite_movols-mo-805p --- .github/workflows/master.yml | 1 + .../overlay/usr/share/openipc/customizer.sh | 18 ++++++++++++------ .../overlay/usr/share/openipc/gpio.conf | 13 +++++++++++++ .../general/scripts/excludes/t40_lite.list | 3 +++ 4 files changed, 29 insertions(+), 6 deletions(-) create mode 100644 devices/t40_lite_movols-mo-805p/general/overlay/usr/share/openipc/gpio.conf create mode 100644 devices/t40_lite_movols-mo-805p/general/scripts/excludes/t40_lite.list diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 1b639ed..3490f27 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -93,6 +93,7 @@ jobs: - t31_ultimate_azarton-c1-t31x - t31_ultimate_gcraftsman-gca50 - t31_lite_zte-k540 + - t40_lite_movols-mo-805p # APFPV - ssc338q_apfpv diff --git a/devices/t40_lite_movols-mo-805p/general/overlay/usr/share/openipc/customizer.sh b/devices/t40_lite_movols-mo-805p/general/overlay/usr/share/openipc/customizer.sh index d18c21f..82d29ac 100644 --- a/devices/t40_lite_movols-mo-805p/general/overlay/usr/share/openipc/customizer.sh +++ b/devices/t40_lite_movols-mo-805p/general/overlay/usr/share/openipc/customizer.sh @@ -2,28 +2,34 @@ # # Perform basic settings on a known IP camera # +# +# Set custom upgrade url +# +fw_setenv upgrade 'https://github.com/OpenIPC/builder/releases/download/latest/t40_lite_movols-mo-805p-nor.tgz' +# +# # Set custom majestic settings # cli -s .isp.blkCnt 4 -#cli -s .audio.speakerPin 7 -cli -s .nightMode.irCutPin1 122 -cli -s .nightMode.irCutPin2 123 -cli -s .nightMode.backlightPin 119 cli -s .video0.codec h265 cli -s .video0.bitrate: 4000 cli -s .video0.rcMode: avbr cli -s .video0.profile: high cli -s .video0.gopSize: 5 cli -s .video0.gopMode: smart -#cli -s .onvif.enabled: true +cli -s .nightMode.irCutPin1 122 +cli -s .nightMode.irCutPin2 123 +cli -s .nightMode.backlightPin 119 cli -s .osd.enabled true -cli -s .osd.size: 0.8 cli -s .osd.template "%d.%m.%Y %H:%M:%S" +cli -s .osd.size: 0.8 #cli -s .audio.enabled true #cli -s .audio.codec aac #cli -s .audio.srate 48000 #cli -s .audio.volume 95 #cli -s .audio.gain 25 +#cli -s .audio.speakerPin 7 +#cli -s .onvif.enabled: true # # Set osmem and rmem # diff --git a/devices/t40_lite_movols-mo-805p/general/overlay/usr/share/openipc/gpio.conf b/devices/t40_lite_movols-mo-805p/general/overlay/usr/share/openipc/gpio.conf new file mode 100644 index 0000000..25bcebf --- /dev/null +++ b/devices/t40_lite_movols-mo-805p/general/overlay/usr/share/openipc/gpio.conf @@ -0,0 +1,13 @@ +alarm_in=-1 +alarm_out=-1 +button=-1 +ircut1=122 +ircut2=123 +led1=-1 +led2=-1 +light_ir=119 +light_wl=-1 +light_sensor=-1 +mmc_pwr=-1 +speaker=-1 +usb=-1 diff --git a/devices/t40_lite_movols-mo-805p/general/scripts/excludes/t40_lite.list b/devices/t40_lite_movols-mo-805p/general/scripts/excludes/t40_lite.list new file mode 100644 index 0000000..aeb59f5 --- /dev/null +++ b/devices/t40_lite_movols-mo-805p/general/scripts/excludes/t40_lite.list @@ -0,0 +1,3 @@ +#/lib/modules/..XXX.ko +# +#/etc/sensor/XXX