09-18-2016, 05:43 PM
(09-18-2016, 06:25 AM)tkaiser Wrote: Did you try out installation of acpid package? See here for example: http://forum.armbian.com/index.php/topic...e/?p=11137
Hm... no I haven't. Looks much easier to implement than a udev rule also, so will definitely give that a try... I'm sure you'll say udev is easy, but I don't agree... its confusing... but then again... maybe I need to RTFM? :-D
What I had done previously was this. Basically, one udev rule which connects the power button event to the shutdown event. As a result, pine64 would do a controlled shutdown in response to the power button being pressed.