shutdown Rock64 with power button

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

shutdown Rock64 with power button

Post by scorpio1991 »

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
MichaIng
Site Admin
Posts: 2421
Joined: Sat Nov 18, 2017 6:21 pm

Re: shutdown Rock64 with power button

Post by MichaIng »

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