Is it possible to wakeup a suspended system using a GPIO? I'm using Joule 570x with Ubuntu 16.04. Would there be a need to modify the BIOS/firmware?
Suspending the OS details are here: https://wiki.ubuntu.com/UnderstandingSuspend UnderstandingSuspend - Ubuntu Wiki
Thank you for your interest in Intel® Joule™ Products.
I have to inform you that Ubuntu 16.04 for the Joule board is out of the scope of this technical support team.
In order to receive the adequate assistance, please contact Ubuntu's support ( http://askubuntu.com/).
Have a nice day.
I'll be needing more time to investigate if the Joule has the option to wake up from suspension state using a GPIO.
In the meantime, please check this link that mentions the Joule's support for platform standby (S0i3) entry and exit:
As soon as I have the corresponding information I'll contact you through this post.
Thank you for your patience.
Thanks Andres. Putting the platform to sleep is not an issue and procedure you pointed out is similar to the Ubuntu wiki I pointed out.
Wakeup is possible w/keyboard input but for a headless system, I need a GPIO to wakeup the system.
I found some information that you may find useful.
What you are trying to accomplish should be possible writing a kernel module and loading the following command:
echo freeze > /sys/power/state
Also, please check the GPIO example attached in this community thread:
Muxing of pin on intel joule board
The example runs in the kernel space, and uses GPIO interrupt pin 23 (pin 343 in Linux) to toggle GPIO100 (the onboard LED).
So you may want to adapt the example to wake the system up.
Have a nice day.