From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from devils.ext.ti.com (devils.ext.ti.com [198.47.26.153]) by arago-project.org (Postfix) with ESMTPS id C5BCF52093 for ; Mon, 6 Apr 2015 16:16:31 +0000 (UTC) Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id t36GGUfn028868 for ; Mon, 6 Apr 2015 11:16:30 -0500 Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id t36GGTfa009146 for ; Mon, 6 Apr 2015 11:16:29 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.3.224.2; Mon, 6 Apr 2015 11:16:29 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id t36GGTJo010992; Mon, 6 Apr 2015 11:16:29 -0500 Date: Mon, 6 Apr 2015 12:16:28 -0400 From: Denys Dmytriyenko To: Jacob Stiffler Message-ID: <20150406161628.GB21023@edge> References: <1428325163-27099-1-git-send-email-j-stiffler@ti.com> MIME-Version: 1.0 In-Reply-To: <1428325163-27099-1-git-send-email-j-stiffler@ti.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: meta-arago@arago-project.org Subject: Re: [PATCH] matrix-gui: Disable terminal blanking while running matrix. X-BeenThere: meta-arago@arago-project.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Arago metadata layer for TI SDKs - OE-Core/Yocto compatible List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Apr 2015 16:16:32 -0000 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline On Mon, Apr 06, 2015 at 08:59:23AM -0400, Jacob Stiffler wrote: > * 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. I'm fine with this patch in general, but as of util-linux - I've heard other requests for some util-linux apps before, maybe we should consider pulling it in? Unfortunately, besides the 3 specific apps separated into own packages, the rest of them are just dumped into util-linux*.ipk main package, so it's rather all or nothing... -- Denys > Signed-off-by: Jacob Stiffler > --- > .../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 > meta-arago@arago-project.org > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago