Hi All,
Sorry for post it to the general board, As I don't know I should post it to Software or Hardware zone.
I'm running the Galileo with the Full image by following this blog.(http://www.malinov.com/Home/sergey-s-blog/intelgalileo-buildinglinuximage)
Everythings run very fine. Included the GCC make. etc.
However I'm working on the sleep function for the Linux.
It should be good for sleep. But it can't awake.
I'm using this command to sleep
root@clanton:~# rtcwake -m mem -s 3 -v rtcwake: assuming RTC uses UTC ... Using UTC time. delta = -1 tzone = 0 tzname = UTC systime = 1390068434, (UTC) Sat Jan 18 18:07:14 2014 rtctime = 1390068435, (UTC) Sat Jan 18 18:07:15 2014 alarm 0, sys_time 1390068434, rtc_time 1390068435, seconds 3 rtcwake: wakeup from "mem" using /dev/rtc0 at Sat Jan 18 18:07:19 2014 suspend mode: mem; suspending system
and the Console displaying.
[ 102.712620] PM: Syncing filesystems ... done. [ 102.794389] mmc0: card aaaa removed [ 103.124714] Freezing user space processes ... (elapsed 0.02 seconds) done. [ 103.153449] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done. [ 103.191514] Suspending console(s) (use no_console_suspend to debug) Capsule -- capsule variable not set
The "Capsule -- capsule variable not set" is displayed when it it going to be awake.
However I can't find any related to "capsule variable not set" from Google. Now, I only know this message is come from the EFI
As I found it in the EDK2 source code(EDK2 doxygen online documents - Firmware Encoding Index: MdeModulePkg/Universal/CapsulePei/UefiCapsule.c Source File)
Also I've checked the RTC in the Galileo is only supporting wake from ACPI S4
However the Galileo is not able to sleep to S4 :S (I'm confused.) (I think mem is S3?)
root@clanton:~# cat /sys/power/state mem
I've also tried the "/sys/class/rtc/rtc0/wakealarm", However it is also doesn't work for "shutdown -h now" command.
(It supposed to be go into the S5 state)
Welcome to discuss.