add gpios to c22cp

This commit is contained in:
cronyx
2025-08-02 17:03:13 +03:00
parent a4c8706f57
commit b15049679a
4 changed files with 32 additions and 2 deletions
@@ -0,0 +1,14 @@
#!/bin/sh
set_gpio() {
[ "$2" -eq 1 ] && gpio set $1 || gpio clear $1
sleep 1
}
if [ "$1" = "rtl8188fu-ssc325-imou-c22cp" ]; then
set_gpio 46 1
modprobe 8188fu
exit 0
fi
exit 1