mirror of
https://github.com/nikdoof/builder.git
synced 2025-12-25 15:59:22 +00:00
set gpio to enable wifi
This commit is contained in:
14
devices/ssc335_lite_tp-link-tapo-c110-v1/general/overlay/etc/wireless/usb
Executable file
14
devices/ssc335_lite_tp-link-tapo-c110-v1/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
|
||||
}
|
||||
|
||||
if [ "$1" = "atbm603x-ssc335-tapo-c110" ]; then
|
||||
set_gpio 16 1
|
||||
modprobe atbm603x_wifi_usb
|
||||
exit 0
|
||||
fi
|
||||
|
||||
exit 1
|
||||
Reference in New Issue
Block a user