From 93ef17130b241cc2c5fb0793e896cc7bbd860bbe Mon Sep 17 00:00:00 2001 From: Chase Maupin Date: Wed, 4 Aug 2010 06:26:50 +0000 Subject: matrix-gui-e: added chvt to init scripts * Added chvt 4 to init scripts to allow the matrix-guiE application to run in its own virtual terminal. This prevents the console being respawned over the running matrix-guiE process during times of inactivity. Signed-off-by: Chase Maupin Signed-off-by: Denys Dmytriyenko --- recipes/ti/matrix-gui-e/dm365-evm/init | 3 +++ recipes/ti/matrix-gui-e/init | 3 +++ 2 files changed, 6 insertions(+) (limited to 'recipes/ti') diff --git a/recipes/ti/matrix-gui-e/dm365-evm/init b/recipes/ti/matrix-gui-e/dm365-evm/init index cd1291330d..d860ad9083 100755 --- a/recipes/ti/matrix-gui-e/dm365-evm/init +++ b/recipes/ti/matrix-gui-e/dm365-evm/init @@ -6,6 +6,9 @@ test -x "$matrixgui" || exit 0 case "$1" in start) + + chvt 4 + # switch to component 480p mode echo 480P-60 > /sys/class/davinci_display/ch0/mode echo COMPONENT > /sys/class/davinci_display/ch0/output diff --git a/recipes/ti/matrix-gui-e/init b/recipes/ti/matrix-gui-e/init index 8a1c77e965..266fdcae82 100755 --- a/recipes/ti/matrix-gui-e/init +++ b/recipes/ti/matrix-gui-e/init @@ -10,6 +10,9 @@ export QWS_MOUSE_PROTO=Tslib:/dev/input/touchscreen0 case "$1" in start) + + chvt 4 + if [ ! -f /etc/pointercal ] ; then echo -n "Calibrating touchscreen (first time only)" ts_calibrate -- cgit 1.2.3-korg