mirror of
https://github.com/nikdoof/builder.git
synced 2025-12-27 00:39:24 +00:00
add China Mobile HDC-51 A6-V11 (#3)
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
#
|
||||
Experimental system for building OpenIPC firmware for known devices
|
||||
#
|
||||
@@ -0,0 +1,6 @@
|
||||
sensor:
|
||||
name: sc2332
|
||||
address: 0x30
|
||||
width: 1920
|
||||
height: 1080
|
||||
bus: i2c
|
||||
14
devices/t31_lite_chinamobile-hdc-51-a6-v11/general/overlay/etc/wireless/usb
Executable file
14
devices/t31_lite_chinamobile-hdc-51-a6-v11/general/overlay/etc/wireless/usb
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
set_gpio() {
|
||||
[ "$2" -eq 1 ] && gpio set $1 || gpio clear $1
|
||||
sleep 1
|
||||
}
|
||||
|
||||
# Generic RTL8188FU
|
||||
if [ "$1" = "rtl8188fu-generic" ]; then
|
||||
modprobe 8188fu
|
||||
exit 0
|
||||
fi
|
||||
|
||||
exit 1
|
||||
@@ -0,0 +1,33 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Perform basic settings on a known IP camera
|
||||
#
|
||||
#
|
||||
# Set custom upgrade url
|
||||
#
|
||||
fw_setenv upgrade 'https://github.com/OpenIPC/builder/releases/download/latest/t31_lite_chinamobile-hdc-51-a6-v11-nor.tgz'
|
||||
#
|
||||
#
|
||||
# Set custom majestic settings
|
||||
#
|
||||
cli -s .audio.speakerPin 63
|
||||
cli -s .nightMode.enabled true
|
||||
cli -s .nightMode.irSensorPin 7
|
||||
cli -s .nightMode.irCutPin1 58
|
||||
cli -s .nightMode.irCutPin2 57
|
||||
cli -s .video0.codec h264
|
||||
#
|
||||
#
|
||||
# Set wlan device and credentials if need
|
||||
#
|
||||
fw_setenv wlandev rtl8188fu-generic
|
||||
#fw_setenv wlanssid Router
|
||||
#fw_setenv wlanpass 12345678
|
||||
#
|
||||
#
|
||||
# Set osmem and rmem
|
||||
#
|
||||
fw_setenv osmem 39M
|
||||
fw_setenv rmem 25M@0x2700000
|
||||
#
|
||||
exit 0
|
||||
Reference in New Issue
Block a user