Add t31_lite_tp-link-tapo-tc70-v3 profile (#56)
Signed-off-by: Naomi Rennie-Waldock <naomi.renniewaldock@gmail.com>
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
modprobe -s motor hmaxstep=4000 vmaxstep=790 hst1=39 hst2=45 hst3=46 hst4=40 vst1=41 vst2=47 vst3=48 vst4=38
|
||||
;;
|
||||
stop)
|
||||
;;
|
||||
*)
|
||||
echo "Usage: $0 {start|stop}" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
set_gpio() {
|
||||
[ "$2" -eq 1 ] && gpio set $1 || gpio clear $1
|
||||
sleep 1
|
||||
}
|
||||
|
||||
if [ "$1" = "rtl8188fu-generic" ]; then
|
||||
set_gpio 51 1
|
||||
modprobe 8188fu
|
||||
exit 0
|
||||
fi
|
||||
|
||||
exit 1
|
||||
Reference in New Issue
Block a user