Hi all,
This is recap of previous posts about power off button in DSM 5.2 (specifically 5592.4).
Thanks to thordrid http://xpenology.com/forum/viewtopic.php?f=2&t=889&start=90#p38581 and cartman http://xpenology.com/forum/viewtopic.php?f=2&t=889&start=90#p38596
You have to unpack acpi-button-dsm5.2.tgz to root directory and reboot the dsm. Then it should power off from button. Tested on DSM 5.2-5592.4 on Proxmox.
Steps to unpack:
1. download file acpi-button-dsm5.2.tgz https://www.dropbox.com/s/6rcuignyxsxrekh/acpi-button-dsm5.2.tgz?dl=0
2. enter to DSM console (directly or by ssh) and type following
cd /
tar zxvf /volume1/path_to_downloaded_files/acpi-button-dsm5.2.tgz
What was changed:
I took the files from my previous post http://xpenology.com/forum/viewtopic.php?f=2&t=889&start=80#p26001 and files from thordrid's post, apply changes from cartman's post, moved button.ko loading from /etc/rc to S10modules_evdev.sh and removed /etc/rc, so no need to manually edit it (as it was in my old post).