summaryrefslogtreecommitdiff
path: root/recipes/ti/matrix-gui
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/ti/matrix-gui')
-rwxr-xr-xrecipes/ti/matrix-gui/dm365-evm/init26
-rwxr-xr-xrecipes/ti/matrix-gui/init32
2 files changed, 0 insertions, 58 deletions
diff --git a/recipes/ti/matrix-gui/dm365-evm/init b/recipes/ti/matrix-gui/dm365-evm/init
deleted file mode 100755
index b0e56ffd32..0000000000
--- a/recipes/ti/matrix-gui/dm365-evm/init
+++ /dev/null
@@ -1,26 +0,0 @@
-#! /bin/sh
-matrixgui="/usr/bin/matrix_gui"
-GUI_OPTS="-qws -geometry 720x480+0+10 -display transformed:Rot0 /usr/share/matrix/html/menu_main.html"
-
-test -x "$matrixgui" || exit 0
-
-case "$1" in
- start)
- # switch to component 480p mode
- echo 480P-60 > /sys/class/davinci_display/ch0/mode
- echo COMPONENT > /sys/class/davinci_display/ch0/output
- echo -n "Starting Matrix GUI application"
- start-stop-daemon --start --quiet --background --pidfile /var/run/matrix-gui.pid --exec $matrixgui -- $GUI_OPTS
- echo "."
- ;;
- stop)
- echo -n "Stopping Matrix GUI application"
- start-stop-daemon --stop --quiet --pidfile /var/run/matrix-gui.pid
- echo "."
- ;;
- *)
- echo "Usage: /etc/init.d/matrix-gui {start|stop}"
- exit 1
-esac
-
-exit 0
diff --git a/recipes/ti/matrix-gui/init b/recipes/ti/matrix-gui/init
deleted file mode 100755
index 8259417cca..0000000000
--- a/recipes/ti/matrix-gui/init
+++ /dev/null
@@ -1,32 +0,0 @@
-#! /bin/sh
-
-matrixgui="/usr/bin/matrix_gui"
-GUI_OPTS="-qws -display transformed:Rot90 /usr/share/matrix/html/menu_main.html"
-
-test -x "$matrixgui" || exit 0
-
-export TSLIB_TSDEVICE=/dev/input/touchscreen0
-export QWS_MOUSE_PROTO=Tslib:/dev/input/touchscreen0
-
-case "$1" in
- start)
- if [ ! -f /etc/pointercal ] ; then
- echo -n "Calibrating touchscreen (first time only)"
- ts_calibrate
- echo "."
- fi
- echo -n "Starting Matrix GUI application"
- start-stop-daemon --start --quiet --background --pidfile /var/run/matrix-gui.pid --exec $matrixgui -- $GUI_OPTS
- echo "."
- ;;
- stop)
- echo -n "Stopping Matrix GUI application"
- start-stop-daemon --stop --quiet --pidfile /var/run/matrix-gui.pid
- echo "."
- ;;
- *)
- echo "Usage: /etc/init.d/matrix-gui {start|stop}"
- exit 1
-esac
-
-exit 0