matrix-gui-e: added chvt to init scripts
authorChase Maupin <chasemaupin03@gmail.com>
Wed, 4 Aug 2010 06:26:50 +0000 (06:26 +0000)
committerDenys Dmytriyenko <denis@denix.org>
Wed, 4 Aug 2010 17:32:55 +0000 (13:32 -0400)
* 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 <chase.maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
recipes/ti/matrix-gui-e/dm365-evm/init
recipes/ti/matrix-gui-e/init

index cd12913..d860ad9 100755 (executable)
@@ -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
index 8a1c77e..266fdca 100755 (executable)
@@ -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