Schmill Posted December 18, 2015 Share #126 Posted December 18, 2015 Hmm, ok the final script it says it is running "/etc/acpi/powerbtn.sh" consists of just two lines: > cat /etc/acpi/powerbtn.sh #!/bin/sh syno_poweroff_task -r poweroff What is the '-r' parameter to the syno_poweroff_task supposed to be doing? Either it isn't supported, or it isn't documented: > syno_poweroff_task -h DS shutdown progress. usage: syno_poweroff_task [OPTIONS] -h display this help -d debug mode If I ignore that first script call and manually run the "poweroff" command at a root SSH prompt then the hardware does power-off, so I'm guessing that the system is actually hanging on the "syno_poweroff_task -r" call... I tried running with the debug option, but it didn't seem to tell me much: > syno_poweroff_task -d Killed by signal 15. Thoughts anyone? EDIT Hmm - Ok it seems as if editing the powerbtn.sh script to comment out the two lines that are in it, and replace with a single line of: #!/bin/sh syno_poweroff_feasible_check Makes everything work perfectly. Not sure if this will also fix it for the people running the 5644 bootloader, might be worth a try? Quote Link to comment Share on other sites More sharing options...
Sonnyboy666 Posted December 19, 2015 Share #127 Posted December 19, 2015 I tried this on my HP ProLiant Gen8 Bare-Metal, running DSM 5644. Still no luck for me... Quote Link to comment Share on other sites More sharing options...
Schmill Posted December 19, 2015 Share #128 Posted December 19, 2015 Where does it get stuck? Have you done the checks to see if everything is running properly? I'll add some diagnostics tips here later when I'm on the pc. Sent from my GT-I9100 using Tapatalk Quote Link to comment Share on other sites More sharing options...
Sonnyboy666 Posted December 20, 2015 Share #129 Posted December 20, 2015 Thank you for your help, Schmill, but I have to admit I'm not a Linux Guru... And I forgot to tell that Power Off via button worked for me with my old 5.2-5592 installation! Quote Link to comment Share on other sites More sharing options...
mitch55 Posted December 29, 2015 Share #130 Posted December 29, 2015 (edited) Doesn't work for me. My problem couldn't me come this? : acpid: can't open /proc/acpi/event: Device or resource busy (16) acpid: cannot open input layer inotify fd: 4 acpid: inotify_add_watch() failed: No such file or directory (2) netlink opened successfully acpid: starting up with netlink and the input layer parsing conf file /etc/acpi/events/powerbtn-conf acpid: 1 rule loaded acpid: waiting for events: event logging is off Device or resource busy -> do you know why? Maybe because I have no button.ko in modules folders. (I'm on a N54l with 5644) Edited December 29, 2015 by Guest Quote Link to comment Share on other sites More sharing options...
Trantor Posted January 3, 2016 Share #131 Posted January 3, 2016 This is fix in dev release. Just tested successfully poweroff from button on my bare-metal setup with DSM 5644 with script found here : memberlist.php?mode=viewprofile&u=6331 button.ko and evdev.ko will be added to the next boot-loader Quote Link to comment Share on other sites More sharing options...
imaleecher Posted January 3, 2016 Share #132 Posted January 3, 2016 Sounds like great news! Can't wait for it to be added without any workaround needed. Quote Link to comment Share on other sites More sharing options...
Sonnyboy666 Posted January 3, 2016 Share #133 Posted January 3, 2016 Yes! Thank you, from me, too. Quote Link to comment Share on other sites More sharing options...
htc2010 Posted January 6, 2016 Share #134 Posted January 6, 2016 I just want to chime in ... thank GOD it's not on by default. My toddler son keeps pressing buttons on anything in the house and could easily turn off my server if it did work, LOL. I can safely watch TV and see him pressing away at the power button on my NAS and not worry about it cutting out. Quote Link to comment Share on other sites More sharing options...
Polanskiman Posted January 7, 2016 Share #135 Posted January 7, 2016 I just want to chime in ... thank GOD it's not on by default. My toddler son keeps pressing buttons on anything in the house and could easily turn off my server if it did work, LOL. I can safely watch TV and see him pressing away at the power button on my NAS and not worry about it cutting out. This is a safe power off button. It turns off the xpenology the proper way. Without this your toddler could turn off your server the hard way if he pressed the button long enough and that would be much worse with possible irreversible consequences. Quote Link to comment Share on other sites More sharing options...
bab86 Posted January 17, 2016 Share #136 Posted January 17, 2016 I tried to fix the power button on a N54L under 5644, but failed. I've downloaded dilshodm files and made the relevant files executable (755). I also modified S10module_evdev.sh by editing 'MODULES_DIR="/lib/modules"' to 'MODULES_DIR="/lib/modules/"'. Then rebooting of course. When I push power off button - nothing happens. By running "acpid -d" after some seconds I loose SSH terminal, seems SSH service quits - machine is still running . But this command shuts down the machine manually: syno_poweroff_feasible_check My problem is that evdev.ko is not loaded, I cannot load it manually. I think this is the problem, but do not know to fix it. Quote Link to comment Share on other sites More sharing options...
Polanskiman Posted January 17, 2016 Share #137 Posted January 17, 2016 My problem is that evdev.ko is not loaded, I cannot load it manually. I think this is the problem, but do not know to fix it. Read below: This is fix in dev release.Just tested successfully poweroff from button on my bare-metal setup with DSM 5644 with script found here : memberlist.php?mode=viewprofile&u=6331 button.ko and evdev.ko will be added to the next boot-loader Quote Link to comment Share on other sites More sharing options...
Sonnyboy666 Posted February 15, 2016 Share #138 Posted February 15, 2016 This is fix in dev release.Just tested successfully poweroff from button on my bare-metal setup with DSM 5644 with script found here : memberlist.php?mode=viewprofile&u=6331 button.ko and evdev.ko will be added to the next boot-loader New Release is out now, thank you for this! Does anybody know how to enable the Power-Button on a HP ProLiant MS Gen8 with the new release? Quote Link to comment Share on other sites More sharing options...
CtrlAltDel Posted February 16, 2016 Share #139 Posted February 16, 2016 New Release is out now, thank you for this! Does anybody know how to enable the Power-Button on a HP ProLiant MS Gen8 with the new release? Try here > http://xpenology.com/forum/viewtopic.php?t=889#p7305 Quote Link to comment Share on other sites More sharing options...
Sonnyboy666 Posted February 16, 2016 Share #140 Posted February 16, 2016 Thank you! Got it to work! Great! Quote Link to comment Share on other sites More sharing options...
rhplus Posted February 19, 2016 Share #141 Posted February 19, 2016 Thank all. Succeded ussing this instructions http://xpenology.com/forum/viewtopic.php?f=2&t=889&start=100#p43518 and latest bootloader. Do not need setup/copy evdev. Used files: /bin/acpid /etc/acpi/events/powerbtn-conf /etc/acpi/powerbtn.sh /usr/syno/etc/rc.d/S30acpid.sh Quote Link to comment Share on other sites More sharing options...
Schmiddi1008 Posted June 18, 2016 Share #142 Posted June 18, 2016 Hi, it doesnt work for me. HP N36L 5644.5 Quote Link to comment Share on other sites More sharing options...
Arcao Posted June 18, 2016 Share #143 Posted June 18, 2016 Thanks! It work for me (shutdown take about one minute). I used files from rhplus post. @Schmiddi1008: Did you set correct rights for the files (chmod 0755 ... for binary and sh[ell] scripts) and started S30acpid service / rebooted nas device? Quote Link to comment Share on other sites More sharing options...
Schmiddi1008 Posted June 19, 2016 Share #144 Posted June 19, 2016 @Arcao: How do i start the s30acpid service? Since i used this files my nas takes a long time to start via WoL. Sent from my iPhone using Tapatalk Quote Link to comment Share on other sites More sharing options...
enrgarc Posted November 6, 2016 Share #145 Posted November 6, 2016 Hi everybody! I'm new here so, please be patient with me I'm a new owner of HP Proliant MicroServer G8, and I had installed Xpenology on it with version 5967.1 I've problems with power button also I had tried unpacking acpi-button-dsm5.2.tgz but when I press the power button nothing happens In the 5967.1 version its possible? Sorry for my poor english bye ******* EDITED ********* SOLVED I have copied the scripts S10... and S30... to /etc.defaults/rc.d/ and now it's working for me. Thanks Quote Link to comment Share on other sites More sharing options...
coalfield Posted December 18, 2016 Share #146 Posted December 18, 2016 Worked for me using those instructions: Steps to unpack: 1. download file acpi-button-dsm5.2.tgz https://www.dropbox.com/s/6rcuignyxsxre ... 2.tgz?dl=0 2. enter to DSM console (directly or by ssh) and type following CODE: SELECT ALL cd / tar zxvf /volume1/path_to_downloaded_files/acpi-button-dsm5.2.tgz on DSM 5.2-5644 Update 5 Quote Link to comment Share on other sites More sharing options...
tracky Posted December 27, 2016 Share #147 Posted December 27, 2016 thanks rhplus HP GEN8 + Proxmox 4.4 + 5.2.5967 Update 1 work like a charm Quote Link to comment Share on other sites More sharing options...
mgrobins Posted April 17, 2017 Share #148 Posted April 17, 2017 Hi, I have tried this on my Setup running the latest version of DSM and it did not work. On attempting to access DSM I had a strange page from synology saying "Sorry the page you are looking for is not available". I also lost the ability to see my network shares as well via windows (I could map drives but not see them in windows explorer as I normally would which was weird). Quote Link to comment Share on other sites More sharing options...
Elpee Posted April 17, 2017 Share #149 Posted April 17, 2017 Anybody tested if it works on DSM 6.0/ 6.1? Thanks. Quote Link to comment Share on other sites More sharing options...
IG-88 Posted April 17, 2017 Share #150 Posted April 17, 2017 yes it does, for 6.0 it seems longer known to work (->Arcao), 6.1 tested yesterday viewtopic.php?f=2&t=20216&p=98854#p98854 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.