Adding integration of three new devices on the T31N processor

This commit is contained in:
Ystinia Zalatova (from Futurae PC)
2025-08-24 21:26:08 +01:00
parent 4d418cfe4c
commit d508523872
25 changed files with 735 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
#!/bin/sh
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
#(resetd.sh >/dev/null 2>&1) &
#
#(while true; do sleep 30; checker=$(pidof majestic); if [[ -z $checker ]]; then /etc/init.d/S95majestic start; fi; done) &
exit 0
@@ -0,0 +1,15 @@
#!/bin/sh
set_gpio() {
[ "$2" -eq 1 ] && gpio set $1 || gpio clear $1
sleep 1
}
# T23 JOOAN A6M-U
if [ "$1" = "atbm601x-t23-jooan-a6m-u" ]; then
set_gpio 6 1
modprobe atbm6012b_wifi_usb
exit 0
fi
exit 1