The power button is out of work when I want to turn off the device

Hello, I am a newbie and I am trying to Install Jetson Software with SDK. I meet a problem. I can use the power button to turn on the device, but the power button is out of work when I want to turn off the device. Is there any solution? Thank you.

hello 1601111239 ,

what’s your mean about power button is out of work,
may I know how long had you “press and hold” the power button?
thanks

Hello Jerry. I mean I can push the power button and then release it immediately to power on the device. But I cannot power off it in the same way. I also try to press and hold the button for about 5s, and is still cannot be powered off.

hello 1601111239 ,

it looks Xavier did not include the device tree property, gpio-timed-keys.
could you please add that implementation into your device tree and check the behavior.
please also check documentation for more details,
for example, $L4T_Sources/r32.5.1/Linux_for_Tegra/source/public/kernel/nvidia/Documentation/devicetree/bindings/input/gpio-timed-keys.txt