* When running qt over eglfs, matrix may blank out after 10 minutes of inactivity. * When this occurs, the matrix is not recoverable and muyst be manuallyi restarted. * This occurs because virtual terminal in which matrix is running will blank due to kernel configuration. * Writing certain special characters into the virtual terminal device can disable the blanking. * The utils-linux package contains the "setterm" utility which may obtain the same results with the command "setterm -blank 0 -powerdown 0", however, utils-linux is not present on the filesystem.
Signed-off-by: Jacob Stiffler <[email protected]> --- .../recipes-core/matrix/matrix-gui/init.eglfs | 4 ++++ .../recipes-core/matrix/matrix-gui_2.0.bb | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui/init.eglfs b/meta-arago-extras/recipes-core/matrix/matrix-gui/init.eglfs index 10748c4..213f859 100644 --- a/meta-arago-extras/recipes-core/matrix/matrix-gui/init.eglfs +++ b/meta-arago-extras/recipes-core/matrix/matrix-gui/init.eglfs @@ -35,6 +35,7 @@ case "$1" in fi echo 0 > /sys/class/graphics/fbcon/cursor_blink + echo -ne "\033[9;0]\033[14;0]" > /dev/tty4 echo -n "Starting Matrix GUI application" start-stop-daemon --start --quiet --background -m --pidfile $PIDFILE --exec $matrixgui -- $GUI_OPTS @@ -46,7 +47,10 @@ case "$1" in start-stop-daemon --stop --quiet --pidfile $PIDFILE refresh_screen "background-black" + + echo -ne "\033[9;10]\033[14;10]" > /dev/tty4 echo 1 > /sys/class/graphics/fbcon/cursor_blink + chvt 1 echo "." diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui_2.0.bb index 27cf9c0..0d62367 100644 --- a/meta-arago-extras/recipes-core/matrix/matrix-gui_2.0.bb +++ b/meta-arago-extras/recipes-core/matrix/matrix-gui_2.0.bb @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=a886c9ef769b2d8271115d2502512e5d" SECTION = "multimedia" -PR = "r23" +PR = "r24" INITSCRIPT_NAME = "matrix-gui-2.0" INITSCRIPT_PARAMS = "defaults 97" -- 1.7.9.5 _______________________________________________ meta-arago mailing list [email protected] http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
