Hi, I'm using imx93 evk with yocto build NXP i.MX Release Distro 6.6-nanbield imx93-11x11-lpddr4x-evk ttyLP0 release. I'm trying to power off/on board using ON/OFF button but it doesn't work.
Button send an events:
oot@imx93-11x11-lpddr4x-evk:~# evtest /dev/input/event0
Input driver version is 1.0.1
Input device ID: bus 0x19 vendor 0x0 product 0x0 version 0x0
Input device name: "44440000.bbnsm:pwrkey"
Supported events:
Event type 0 (EV_SYN)
Event type 1 (EV_KEY)
Event code 116 (KEY_POWER)
Properties:
Testing ... (interrupt to exit)
Event: time 1714639992.867395, type 1 (EV_KEY), code 116 (KEY_POWER), value 1
Event: time 1714639992.867395, -------------- SYN_REPORT ------------
Event: time 1714639992.995415, type 1 (EV_KEY), code 116 (KEY_POWER), value 0
Event: time 1714639992.995415, -------------- SYN_REPORT ------------
Event: time 1714639993.927423, type 1 (EV_KEY), code 116 (KEY_POWER), value 1
Event: time 1714639993.927423, -------------- SYN_REPORT ------------
Event: time 1714639994.055420, type 1 (EV_KEY), code 116 (KEY_POWER), value 0
Event: time 1714639994.055420, -------------- SYN_REPORT ------------
Event: time 1714639994.667422, type 1 (EV_KEY), code 116 (KEY_POWER), value 1
Thanks.
Solved! Go to Solution.
Please try to hold the button about 5s.