2195417_en-US

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

2195417_en-US

2195417_en-US

Imx93 evk ONOFF button can be used for standby function.

Hello, can the imx93 evk ONOFF button do short press standby and short press wake-up function again? How to achieve it?

xiang_1001_0-1761794552413.png


Re: Imx93 evk ONOFF button can be used for standby function.

Oh, sorry I see you have already figured it out. Please ignore my response.

Re: Imx93 evk ONOFF button can be used for standby function.

@xiang_1001 yes ONOFF button is routed to a gpio line which further goes to the PMIC inputs and can be configured to act as a wake-up source. 

as part of default bsp, you can definitely wake the system from suspend by short pressing the ONOFF button. you can try by executing 'echo mem > /sys/power/state' to send it to suspend and then press the onoff button just once to wake it up. 


Or If you want to configure the onoff button to 'suspend' the system, you have to do the following: -

1. Edit the conf file - /etc/systemd/logind.conf
 set HandlePowerKey variable to 'suspend'

gaurav_sharma_0-1761804995958.png

2. Restart systemd-logind

systemctl restart systemd-logind

after this you will be able to send imx93 to suspend state with short pressing ONOFF button







回复: Imx93 evk ONOFF button can be used for standby function.The function is realized after modifying the file/etc /etc/systemd/logind.conf
Tags (1)
No ratings
Version history
Last update:
‎11-20-2025 10:29 PM
Updated by: