Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Jitendra_S_Intel
Employee
1,687 Views

Using GPIO to wake up Joule

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

0 Kudos
5 Replies
idata
Community Manager
57 Views

Hello,

 

 

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.

 

 

Regards,

 

Andres V.
Jitendra_S_Intel
Employee
57 Views

What about with iot ref OS or anything that's considered supported by Intel?

idata
Community Manager
57 Views

Hello jay07920,

 

 

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:

 

 

https://software.intel.com/en-us/node/721532

 

As soon as I have the corresponding information I'll contact you through this post.

 

 

Thank you for your patience.

 

 

Regards,

 

Andres V.
Jitendra_S_Intel
Employee
57 Views

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.

idata
Community Manager
57 Views

Hello jay07920,

 

 

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

 

https://communities.intel.com/thread/112164 https://communities.intel.com/thread/112164

 

 

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.

 

 

Regards,

 

Andres V.
Reply