From what I understand, supposedly this is a hardware problem with the OMAP board and cannot ever be repaired. The next OMAP would supposedly have repaired this defect but was never released.
I may forget something, because it was commented long ago, but as I remember the hardware issue was for a low power state (idle?), but not for suspend to RAM.From what I understand, supposedly this is a hardware problem with the OMAP board and cannot ever be repaired. The next OMAP would supposedly have repaired this defect but was never released.
rtcwake -m mem -s 1
sudo rtcwake -m mem -s 1
rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "mem" using /dev/rtc0 at Mon Sep 20 23:17:20 2021
Tried it with -s 20 to make sure it had heaps of time to do whatever it needed to do, nothing changed (No screen off. Wifi didn't drop this time).That command shall have lead to system going to sleep and then wake-up after 1 second. Did you notice blank screen for 1 second while system slept? You may try "-s 5" to see clearly if system goes to sleep for 5 seconds.
==> kern.log <==
Sep 22 09:42:38 localhost kernel: [ 101.597106] PM: suspend entry (deep)
==> messages <==
Sep 22 09:42:38 localhost kernel: [ 101.597106] PM: suspend entry (deep)
==> kern.log <==
Sep 22 09:42:38 localhost kernel: [ 101.617489] Filesystems sync: 0.016 seconds
==> messages <==
Sep 22 09:42:38 localhost kernel: [ 101.617489] Filesystems sync: 0.016 seconds
You can tell rtcwake to look at a different clock with the -d (for device) flag, but looking at the terminal log posted above I can't see anything to indicate that rtc0 isn't a good clock to look at.rtc is real time clock (hardware clock or bios clock), usually at /dev/rtc.
That was in response to this,You can tell rtcwake to look at a different clock with the -d (for device) flag, but looking at the terminal log posted above I can't see anything to indicate that rtc0 isn't a good clock to look at.
...... when I went to execute the process again it said that it couldn't access the rtc device.
Yes, but that was running rtcwake a second time while the original process was still running. It's not surprising therefore it cannot access it.That was in response to this,
He tried to kill the process using killall and killed the terminal window, before executing the process again. So as per him he was running it after killing the first process, but you may be right that first process may be still running in background, ( I am not sure of this, as process was run in foreground, so killing terminal window shall have killed the process)Tried harder to kill the process this time. sudo killall rtcwake didn't cause the process to return. Ended up killing the terminal window (which I thought terminated all child processes) and when I went to execute the process again it said that it couldn't access the rtc device.
Yes, but that was running rtcwake a second time while the original process was still running. It's not surprising therefore it cannot access it.