2021-12-23 12:50 PM
If I put the system to sleep via the "echo mem > /sys/power/state" mechanism, how can I execute code/script on wakeup event?
Thanks,
Ben
Solved! Go to Solution.
2022-01-03 06:02 AM
Hi @BBeck.1 ,
I recommend you to read our documentation related to low power management starting from here :
How to define your low-power strategy - stm32mpu
Hope it help
Olivier
2022-01-03 06:02 AM
Hi @BBeck.1 ,
I recommend you to read our documentation related to low power management starting from here :
How to define your low-power strategy - stm32mpu
Hope it help
Olivier
2022-01-03 06:35 AM
2022-01-03 07:13 AM
I confirm the dead link. Thanks for pointing it !
Seems this was ok with previous version kernel 5.4 :
linux/interface.rst at v5.4-stm32mp · STMicroelectronics/linux (github.com)
I come back to you asap with further explanation.
Olivier
2022-01-07 08:40 AM
Hi @BBeck.1 ,
For kernel 5.10 content of Documentation/power/interface.rst has been merged in linux/sleep-states.rst at v5.10-stm32mp · STMicroelectronics/linux (github.com)
Olivier
2022-01-07 08:48 AM
Thanks so much for you follow up! I'm on my way to super low power! Thanks to those docs you provided, I've been able to get my system to "hibernate".
Cheers!
Ben