How to enable dedicated wakeup botton to wakeup system .

Moderator: nferre

satjwal
Posts: 1
Joined: Tue Jun 10, 2014 6:56 am

How to enable dedicated wakeup botton to wakeup system .

Wed May 27, 2015 4:00 pm

Hello experts,













am struggling in making a dedicated key BP3 on my sama5D3 CM board as a wakeup key


,Actually i need this button to wake up my system from suspend/mem state which i can perform through user command.. i.e "echo mem>/sys/power/state" .I can wake up my system using RTC wakeup alarm but i need WKUP0(BP3) button to do this job at any time whenever my system goes to suspend mode .
irigm
Posts: 5
Joined: Tue Oct 07, 2014 4:44 am

Re: How to enable dedicated wakeup botton to wakeup system

Mon Jul 13, 2015 2:32 pm

Hey, I got to solve the problem?
I do not, try to execute the command:

Code: Select all

echo enabled > /sys/class/gpio/gpio98/power/wakeup
In response, he writes:

Code: Select all

-sh: can not create /sys/class/gpio/gpio98/power/wakeup: nonexistent directory
Although regarded as state of the button from my c++ program can.

Return to “SAM9-based”

Who is online

Users browsing this forum: No registered users and 1 guest