rtc wakealarm not working as expected
Posted: 09 Sep 2023, 19:10
Hi. Porteus Kiosk works perfectly for me except for wake from suspend.
I'm initially trying to use the rtc_wake parameter to wake from suspend (S3 state) in this way:
It doesn't seem to work as expected for me so, I've tried to troubleshoot via SSH with these steps:
Clear the wakealarm:
Add a wakealarm for 3 minutes from now:
Display the results:
I enter the results in https://www.epochconverter.com to verify it added the correct time 3 minutes from now.
Suspend the machine:
The machine does not wake on its own 3 minutes later. It will only wake by pressing the keyboard.
I booted the same machine into Lubuntu 23.04, followed the same steps as above and it wakes after 3 minutes as expected.
Any thoughts on why it doesn't wake as expected in Porteus Kiosk 5.5?
Thanks much!
I'm initially trying to use the rtc_wake parameter to wake from suspend (S3 state) in this way:
Code: Select all
rtc_wake=Monday-09:30 Tuesday-12:30 Wednesday-09:30 Thursday-09:30 Friday-09:30 Saturday-09:30
Clear the wakealarm:
Code: Select all
echo 0 > /sys/class/rtc/rtc0/wakealarm
Code: Select all
echo $(date +%s -d "+ 3 minutes") > /sys/class/rtc/rtc0/wakealarm
Code: Select all
cat /sys/class/rtc/rtc0/wakealarm
Suspend the machine:
Code: Select all
echo mem >/sys/power/state
I booted the same machine into Lubuntu 23.04, followed the same steps as above and it wakes after 3 minutes as expected.
Any thoughts on why it doesn't wake as expected in Porteus Kiosk 5.5?
Thanks much!