shutdown Rock64 with power button

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
Posts: 10
Joined: Fri Aug 17, 2018 8:38 pm

shutdown Rock64 with power button

Post by scorpio1991 » Fri Jan 04, 2019 5:35 pm

Hey, I have Rock64, it has power and reset physical buttons. I can power on with power button, but when system started and idling , power button dont respond. I want power off with this button. How to do that? I tried in systemd edit logind.conf uncomment line "HandlePowerKey=poweroff", restarted system, but still power button dont react. Any suggestions?

User avatar
Posts: 1444
Joined: Sat Nov 18, 2017 5:21 pm

Re: shutdown Rock64 with power button

Post by MichaIng » Mon Jan 14, 2019 1:29 pm

I think you need to enable systemd-logind for this:
systemctl unmask systemd-logind
systemctl start systemd-logind

Post Reply