How to Run a script after leaving sleep mode?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to Run a script after leaving sleep mode?

ソリューションへジャンプ
1,318件の閲覧回数
erenbasturk
Contributor II

Hi All,

I have been using yocto based image on an IMX6 board. I want to run a script when the system wake up from sleep mode? Do you have any suggestion?

Thanks

ラベル(2)
0 件の賞賛
返信
1 解決策
1,136件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi eren

after resuming, next command after "echo mem > /sys/power/state "

is executed, so one can add necessary command after it as in attached

script example.

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,137件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi eren

after resuming, next command after "echo mem > /sys/power/state "

is executed, so one can add necessary command after it as in attached

script example.

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信