Raspberry Pi 5 power switch not working, on other OS pressing the green power light issue the shutdown command however on dietpi nothing happens
Any idea or pointers on how to fix this?
Raspberry Pi 5 power switch not working, on other OS pressing the green power light issue the shutdown command however on dietpi nothing happens
Any idea or pointers on how to fix this?
At power up it always just powers up the same as every previous Raspberry Pi. Once powered up and running Linux it appears to the operating system as a normal key providing the KEY_POWER scan code. /etc/systemctl/logind.conf can be used to define what happens ‘automatically’ and on the lite image it’ll say just shut down (i.e. one click to immediately shut down). On the desktop image, the keystroke is captured by the shutdown dialog, it gets displayed on the first click and if you click again will shutdown.
https://www.raspberrypi.com/news/introducing-raspberry-pi-5/
So you would need to define your own action
Single pressing the power button in the non desktop version of the OS does nothing.
Armbian and raspberry pi OS booth issue a shutdown command upon a single button press.
I will go grab version details and any required logs to help fault find the issue.