[oe-commits] Chase Maupin : matrix-gui-e: added chvt to init scripts

git version control git at git.openembedded.org
Wed Aug 4 17:33:27 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 93ef17130b241cc2c5fb0793e896cc7bbd860bbe
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=93ef17130b241cc2c5fb0793e896cc7bbd860bbe

Author: Chase Maupin <chasemaupin03 at gmail.com>
Date:   Wed Aug  4 06:26:50 2010 +0000

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 <chase.maupin at ti.com>
Signed-off-by: Denys Dmytriyenko <denis at denix.org>

---

 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





More information about the Openembedded-commits mailing list