-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Urgent
-
Linux Core SDK
-
LCPD-45217
-
11.01
-
11.02
-
am62xx_sk-fs
Goal:
My goal is to use Weston's standard idle-sleep functionality. The display should blank after a configured period of inactivity and wake up immediately upon keyboard or mouse input.
Problem Description:
I have configured Weston to enter an idle state after 20 seconds by setting idle-time=20 in /etc/xdg/weston/weston.ini.
The system behaves as follows:
- After 20 seconds of inactivity, the HDMI display correctly blanks.
- When I move the mouse or press a key on the keyboard, the display does not wake up. It remains blank.
- After approximately 2.5 minutes of the screen being blank, the weston process receives a SIGTERM (signal 15) and is terminated.
- now i have to manually restart the service via systemd so that the GUI returns
This cycle makes the idle-time feature unusable. Disabling the feature by setting idle-time=0 works, but I require the power-saving sleep functionality.
Steps to Reproduce:
- Flash an AM62xx-EVM with a standard Processor SDK Linux image.
- Connect an HDMI monitor and standard USB input devices.
- Boot the device and edit /etc/xdg/weston/weston.ini.
- Under the [core] section, add or modify the line: idle-time=20
- Reboot the device or restart the service with systemctl restart weston.
- Allow the device to sit idle for 20 seconds until the screen blanks.
- Attempt to wake the device by moving the mouse or pressing a keyboard key.
For more details, please refer: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1553964/processor-sdk-am62x-weston-fails-to-wake-from-idle-time-sleep-restarts-after-sigterm