mirror of
https://github.com/nikdoof/builder.git
synced 2025-12-14 08:02:16 +00:00
add trassir tr-w2c1 v2
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
#
|
||||
Experimental system for building OpenIPC firmware for known devices
|
||||
#
|
||||
14
devices/ssc335_lite_trassir-tr-w2c1-v2/general/overlay/etc/wireless/usb
Executable file
14
devices/ssc335_lite_trassir-tr-w2c1-v2/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 MT7601STA
|
||||
if [ "$1" = "mt7601sta-generic" ]; then
|
||||
modprobe mt7601sta
|
||||
exit 0
|
||||
fi
|
||||
|
||||
exit 1
|
||||
@@ -0,0 +1,29 @@
|
||||
#!/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/ssc335_lite_trassir-tr-w2c1-v2-nor.tgz'
|
||||
#
|
||||
#
|
||||
# Set custom majestic settings
|
||||
#
|
||||
cli -s .system.staticDir /var/www/majestic
|
||||
cli -s .nightMode.enabled true
|
||||
cli -s .nightMode.irCutPin1 79
|
||||
cli -s .nightMode.irCutPin2 78
|
||||
cli -s .nightMode.backlightPin 14
|
||||
cli -s .audio.speakerPin 15
|
||||
cli -s .audio.outputVolume 80
|
||||
cli -s .video0.codec h264
|
||||
#
|
||||
#
|
||||
# Set wlan device and credentials if need
|
||||
#
|
||||
fw_setenv wlandev mt7601sta-generic
|
||||
#fw_setenv wlanssid Router
|
||||
#fw_setenv wlanpass 12345678
|
||||
|
||||
exit 0
|
||||
Reference in New Issue
Block a user