From 5fc1539c0c5e77975ad9205093673bdbf5322a82 Mon Sep 17 00:00:00 2001 From: Markus Koch Date: Sun, 21 Jul 2019 12:51:52 +0200 Subject: [PATCH] Add init_controller.sh script --- init_controller.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 init_controller.sh diff --git a/init_controller.sh b/init_controller.sh new file mode 100755 index 0000000..c025a86 --- /dev/null +++ b/init_controller.sh @@ -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