If you want to put your Edison board in sleep mode manually you can do it by following step 3 from Intel® Edison kit for Arduino – Buttons and Switch . When you say you want to put the Edison in sleep mode in C are you referring to do it using the Arduino IDE?
I want to send it to sleep mode without interacting with the hardware physically, for example take samples and sleep while not doing anything and wake it up by hardware interrupt.
I could not find anything about sleep mode or similar either in the MRAA or UPM
Do you know what else can I try?
I do NOT want to use the Arduino Breakout Board BTW I want to program it in C not the Arduino IDE
Si quieres, puedes examinar esto: Intel® IoT Developer Kit Cloud-based Analytics User Guide
Haz una registracion y despuses conecta tu Edison con esta red. Pienso que aqui estan algunas opcionec sobre "Power management" de Edison.
I registered my board in the IOT Cloud and there is no power management option. Plus, I want to use it without internet.
Do you know if it is possible to sleep it with those conditions?
I'm also looking for this info. I was originally going to put a resistor from a GPIO to the PWRBTN but the indeterminancy of GPIO state on boot created a problem. I hope someone from Intel can get a good suggestion for a software controlled power down (especially in C).
what do you want to do? sleep it or just freeze it>? let me know since I think I already did that!
I've been using systemctl to poweroff, but I'd like a more elegant solution. This requires a button press to bring back up. I'd like a better understanding of what I can turn off and ideally if someone has a good hibernate that I could bring back up over wifi, that'd be ideal. Instead of a chron sniff.
Can you post anything you have that might help?
I saw your comment. Were you able to sleep or freeze the Edison?
I wanted to put the Edison in a mode to reduce the energy consumption to a maximum and only wake it up after a certain time.
Were you able to do something similar?
Thanks a lot!
I'm interested in that, too..
When I try to use
echo -n "mem" > /sys/power/state
echo -n "freeze" > /sys/power/state
I only get this:
root@edison:/home# echo -n "freeze" > /sys/power/state
[ 2066.360933] pci_pm_suspend(): sdhci_pci_suspend+0x0/0xd0 returns -16
[ 2066.360949] dpm_run_callback(): pci_pm_suspend+0x0/0x1d0 returns -16
[ 2066.360964] PM: Device 0000:00:01.3 failed to suspend async: error -16
[ 2066.382307] PM: Some devices failed to suspend
-sh: echo: write error: Device or resource busy
Futhermore, getting it out of standby over GPIO ir something else would be nice.
Because so many people demand this options, I think Intel should spend some
time on find a proper and solid solution for this.