[oe] [PATCH 1/2] matrix-gui-e: added chvt to init scripts

Chase Maupin chasemaupin03 at gmail.com
Wed Aug 4 16:26:50 UTC 2010


* 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 at ti.com>
---
 recipes/ti/matrix-gui-e/dm365-evm/init |    3 +++
 recipes/ti/matrix-gui-e/init           |    3 +++
 2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/recipes/ti/matrix-gui-e/dm365-evm/init b/recipes/ti/matrix-gui-e/dm365-evm/init
index cd12913..d860ad9 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 8a1c77e..266fdca 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
-- 
1.7.0.4





More information about the Openembedded-devel mailing list