Jetson TX2- Doesn't wake up from GPIO pin trigger

Hi,

I can currently put my system to sleep from SW using “sudo pm-suspend”.

But when I try to make the system wake up by triggering the following pins high (using 3.3V) in GPIO Expansion Header (J26), it doesn’t wake up.
GPIO Expansion Header Pin#
CAN 1 Error (CAN1_ERR) CAN1_ERR 19
CAN Wake (CAN_WAKE) CAN_WAKE 1
CAN 0 Error (CAN0_ERR) CAN0_ERR 9

Are there any kernel modifications to be done to wake up the TX2 through those three pin trigger?

Thanks.

Hi,

Is it possible to share the detail system log that may help us debugging the issue further ?
Mean time we will also try to capture/reproduce the issue with our setup.

Thanks & Regards,
Sandipan

Hi,

Is it possible to share the detail system log that may help us debugging the issue further ?
Mean time we will also try to capture/reproduce the issue with our setup.

Thanks & Regards,
Sandipan

Hi Spatra,

There is no such system log to produce.

The setup was quite simple.

I put the TX2 to sleep by typing “sudo pm-suspend” on the terminal.

Once the system was in sleep, I triggered each of the following pins high using 3.3V (one at a time) in GPIO Expansion Header (J26),

CAN 1 Error (CAN1_ERR) CAN1_ERR 19
CAN Wake (CAN_WAKE) CAN_WAKE 1
CAN 0 Error (CAN0_ERR) CAN0_ERR 9

But the system does not wake up from the sleep.
If there is another way to suspend the TX2 and wake it up, appreciate if you could list that as well.

Thanks.

There are many wake capable pins and the same need to be configured in kernel.
For example you can wake using RTC
We will check if CAN1 is programmed as a wakeble pin and get back.

echo 0 > /sys/class/rtc/rtc0/wakealarm
echo +20 > /sys/class/rtc/rtc0/wakealarm
echo mem > /sys/power/state

Hi,

When there is no activity the system should go to sleep mode. But when the signal (typically the sound) observes, the system should wake up and work with all normal processors.

I want this to be done automatically not manually.

Could you please tell me how can I do that.

Kind regards,
Mathi

bbsau, could you tell me the results of your check as to whether or not CAN1 is programmed as a wakeable pin? If not, are any of the pins pre-programmed to wake the jetson?

wake from suspend on can pins are not supported.
Can you share your usecase? May be we will be motivated to add the support in future release