I'm working on an imx6slevk board with yocto bsp and running qt5 applications.
To enable screen blanking I made following changes in /etc/systemd/logind.conf
IdleAction=suspend
IdleActionSec=30Sec
the console now turns off after 30 screen when the app is running.
but when I press a key in the matrix keypad the timer doesn't reset, for example if I press a key 29 sec after the previous suspend the board goes to suspend 1s later. I'm assuming that the key press is not registered as an activity by the board,
what changes should I make in systemd to enable key press as an event?
Solved! Go to Solution.
Hello,
I suggest that you ask this question in a QT5 forum, since the handling of the events depend on the GUI and this case, you are using QT5 as platform.
Hello,
I suggest that you ask this question in a QT5 forum, since the handling of the events depend on the GUI and this case, you are using QT5 as platform.
Thanks james,
i guess you're right it would be better to modify our qt app