1
0
mirror of https://github.com/m42uko/linux-fsia6b.git synced 2022-05-12 18:36:03 +02:00

Add init_controller.sh script

This commit is contained in:
Markus Koch 2019-07-21 12:51:52 +02:00
parent 4ef01c2ad4
commit 5fc1539c0c

10
init_controller.sh Executable file
View File

@ -0,0 +1,10 @@
#!/bin/bash
if [ "`whoami`" != "root" ]; then
echo "Need to be root."
exit 1
fi
modprobe serio
insmod fsia6b.ko
./linuxconsole/utils/inputattach --baud 115200 --fsia6b /dev/ttyUSB0