aboutsummaryrefslogtreecommitdiff
path: root/system/elo-mt-usb/rc.elo-mt-usb.new
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-03-06 17:36:10 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-07 08:45:24 +0700
commit1332edd534accd7b991fd4eb71619391990aad83 (patch)
tree199c9e6c0a624fa2da1391663096eff3086bf01e /system/elo-mt-usb/rc.elo-mt-usb.new
parent2a1ab8995fb388b5c76e2402a306d9893a9041e0 (diff)
system/elo-mt-usb: Removed (download is gone, we dont have the hardware to test new versions).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/elo-mt-usb/rc.elo-mt-usb.new')
-rw-r--r--system/elo-mt-usb/rc.elo-mt-usb.new46
1 files changed, 0 insertions, 46 deletions
diff --git a/system/elo-mt-usb/rc.elo-mt-usb.new b/system/elo-mt-usb/rc.elo-mt-usb.new
deleted file mode 100644
index 14b884617b36..000000000000
--- a/system/elo-mt-usb/rc.elo-mt-usb.new
+++ /dev/null
@@ -1,46 +0,0 @@
-#!/bin/sh
-#
-# rc script for elo-mt-usb touch screen driver
-#
-# Avoid being interrupted by child or keyboard
-#
-trap "echo" SIGINT SIGSEGV SIGQUIT SIGTERM
-set +e
-
-case "$1" in
- start)
- # Create Elo Devices for communication
-
- mode="776" # Why is it group writtable ?
- elo_usb_device_path="/dev/elo-mt-usb/"
- elo_usb_rspfifo="rsp_fifo"
- elo_usb_cmdfifo="cmd_fifo"
-
- rm -f $elo_usb_device_path$elo_usb_cmdfifo
- rm -f $elo_usb_device_path$elo_usb_rspfifo
-
- mkdir -p $elo_usb_device_path
-
- mkfifo $elo_usb_device_path$elo_usb_rspfifo
- mkfifo $elo_usb_device_path$elo_usb_cmdfifo
-
- chmod $mode $elo_usb_device_path$elo_usb_cmdfifo
- chmod $mode $elo_usb_device_path$elo_usb_rspfifo
-
- # Load the Elo kernel module [input device driver]
- modprobe elo_mt_input_mod
-
- # Load the PC speaker kernel module into memory for Beep-On-Touch
- #modprobe pcspkr
-
- sleep 1 # Why?
-
- # Load the Elo USB Touchscreen Daemon into memory
- /etc/opt/elo-mt-usb/elomtusbd
- ;;
- stop)
- ;;
- *)
- echo "Usage: $0 {start}" >&2
- exit 1
-esac