Skip to contentSkip to conversation

matrix-gui-e: added chvt to init scripts

PATCH New Chase Maupin 1 participant 2 messages Aug 4, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 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.

---
 recipes/ti/matrix-gui-e/dm365-evm/init |    3 +++
 recipes/ti/matrix-gui-e/init           |    3 +++
 2 files changed, 6 insertions(+), 0 deletions(-)
recipes/ti/matrix-gui-e/dm365-evm/init +3 -0
index cd12913..d860ad9 100755
@@ -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
recipes/ti/matrix-gui-e/init +3 -0
index 8a1c77e..266fdca 100755
@@ -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
Signature · 1 line
1.7.0.4
#1 lore raw

PATCH 2/2 37x-evm: remove USE_VT from am37x-evm and dm37x-evm conf

* Removed the USE_VT = 0 setting from am37x-evm and dm37x-evm configuration files. With matrix-gui-e using chvt 4 it is OK for these consoles to be created.
* The console is used for the beagleboard validation software as well so it should be available to allow running the validation software on these boards.

---
 conf/machine/am37x-evm.conf |    1 -
 conf/machine/dm37x-evm.conf |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)
conf/machine/am37x-evm.conf +0 -1
index fb10efd..096d9e0 100644
@@ -21,7 +21,6 @@ IMAGE_FSTYPES ?= "jffs2 tar.bz2"
 EXTRA_IMAGECMD_jffs2 = "-lnp -e 0x20000 -s 2048"
 
 SERIAL_CONSOLE = "115200 ttyS0"
-USE_VT = "0"
 
 PREFERRED_PROVIDER_virtual/kernel = "linux-omap-psp"
 
conf/machine/dm37x-evm.conf +0 -1
index c9b9ca2..35fef88 100644
@@ -21,7 +21,6 @@ IMAGE_FSTYPES ?= "jffs2 tar.bz2"
 EXTRA_IMAGECMD_jffs2 = "-lnp -e 0x20000 -s 2048"
 
 SERIAL_CONSOLE = "115200 ttyS0"
-USE_VT = "0"
 
 PREFERRED_PROVIDER_virtual/kernel = "linux-omap-psp"
 
Signature · 1 line
1.7.0.4