move zte k540 wifi config to firmware repo (#10)

This commit is contained in:
john doe
2024-02-05 15:04:19 +08:00
committed by GitHub
parent 130dac9295
commit eb45f662a7
2 changed files with 2 additions and 13 deletions

View File

@@ -1,12 +0,0 @@
#!/bin/sh
set_gpio() {
[ "$2" -eq 1 ] && gpio set $1 || gpio clear $1
sleep 1
}
if [ "$1" = "atbm603x_wifi_usb" ]; then
set_gpio 51 0
modprobe atbm603x_wifi_usb
exit 0
fi

View File

@@ -13,6 +13,7 @@ fw_setenv upgrade 'https://github.com/OpenIPC/builder/releases/download/latest/t
cli -s .nightMode.enabled true cli -s .nightMode.enabled true
cli -s .nightMode.irCutPin1 57 cli -s .nightMode.irCutPin1 57
cli -s .nightMode.irCutPin2 58 cli -s .nightMode.irCutPin2 58
cli -s .nightMode.colorToGray true
cli -s .nightMode.backlightPin 11 cli -s .nightMode.backlightPin 11
cli -s .video0.codec h264 cli -s .video0.codec h264
cli -s .audio.speakerPin 64 cli -s .audio.speakerPin 64
@@ -20,7 +21,7 @@ cli -s .audio.speakerPin 64
# #
# Set wlan device and credentials if need # Set wlan device and credentials if need
# #
fw_setenv wlandev atbm603x_wifi_usb fw_setenv wlandev atbm603x-t31-zte-k540
#fw_setenv wlanssid Router #fw_setenv wlanssid Router
#fw_setenv wlanpass 12345678 #fw_setenv wlanpass 12345678
# #