POWER_BTN_N on Jetson AGX Xavier with L4T 35.3.1

Hi,

We are using custom carrier board with the Jetson AGX Xavier. With the L4T version 32.6.1 briefly pulsing Jetson’s POWER_BTN_N signal low was being ignored while the Jetson was turned on. After updating to L4T 35.3.1, we found that pulsing POWER_BTN_N low will initiate Jetson’s shutdown which is an undesirable behavior for us. What would be the correct way to change Jetson’s reaction to POWER_BTN_N being pulsed low to what it was with older 32.6.1 L4T?

Commenting out the following lines in the device tree seems to help:

power_key {
	label = "power-key";
	gpios = <0x0c 0x24 0x01>;
	linux,code = <0x74>;
	gpio-key,wakeup;
};

Maybe there is a better way to achieve our goal without getting rid of power_key entry in the device tree?

There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.
Thanks

Hi edmundas1,

Could you help to provide the result of the following command on both R32.6.1 and R35.3.1 respectively?

$sudo busybox devmem 0x0c301038

Does the power key work after you comment out these lines?

Have you tried to reproduce the same behavior on the devkit?