wer Posted April 27, 2017 #1 Posted April 27, 2017 (edited) I generated an easy to install package to activate a mainboard connected power button for clean shutting down (instead login in web page). Install package for DSM 5.2, DSM 6.0 and DSM 6.1(.1): powerbutton_6.1-0004.spk powerbutton_6.1-0005.spk I have tested DSM 5.2 and DSM 6.1 for the DS3617 versions only in VM. Please report if there are any problems. Spoiler Version 6.1-005 Added Braswell to INFO Version 6.1-004 Minor change for recognizing DSM 6.1.1 Version 6.1-003 Adding support for DSM 5.2 Version 6.1-0002 Combining DSM 6.0 and DSM 6.1 in one package Version 6.0/6.1-0001 Versions for DSM 6.0 and DSM 6.1 Edited August 19, 2019 by Polanskiman Added spoiler tag. 10 6 Quote
imaleecher Posted April 27, 2017 #4 Posted April 27, 2017 (edited) Thanks! Will try this out later this evening. *Update - works on my baremetal 6.0.1-11. Thanks wer! Edited April 29, 2017 by Guest Quote
wer Posted April 27, 2017 Author #5 Posted April 27, 2017 (edited) Edited first posting. Only one version fitting both, DSM 6.0 and 6.1 Edited April 27, 2017 by Guest Quote
tierd Posted April 27, 2017 #6 Posted April 27, 2017 I can confirm that your 6.1 package works with xpen 6.1 on my HP i5 laptop which I use for testing purposes. Quote
Papyy Posted April 28, 2017 #7 Posted April 28, 2017 Rly Nice ! It's work on my config. DSM 6.0 ASUS P8H77-I Core i3-3220T Quote
Cr4z33 Posted April 28, 2017 #8 Posted April 28, 2017 I generated an easy to install package to activate a mainboard connected power button for clean shutting down (instead login in web page). Install package for DSM 5.2, DSM 6.0 and DSM 6.1: powerbutton_6.1-0003.spk I have tested DSM 5.2 and DSM 6.1 for the DS3617 versions only in VM. Please report if there are any problems. I know it's kinda off topic, but... can we manage suspend to RAM mode by power button pressing? I am asking because I can't get WOL working into XPEnology DSM so it would be OK for me to suspend the NAS manually by pressing the power button. Quote
wer Posted April 28, 2017 Author #9 Posted April 28, 2017 I know it's kinda off topic, but... can we manage suspend to RAM mode by power button pressing? The question is how to issue a suspend to ram! pm-utils or similiar would be needed for that. Probably it's not easy to make it work with DSM. Quote
Cr4z33 Posted April 28, 2017 #10 Posted April 28, 2017 I know it's kinda off topic, but... can we manage suspend to RAM mode by power button pressing? The question is how to issue a suspend to ram! pm-utils or similiar would be needed for that. Probably it's not easy to make it work with DSM. Ouch so I guess I won't solve it easily, but thanks for replying. Quote
jokerigno Posted April 28, 2017 #11 Posted April 28, 2017 FYI is working also on my Dell T20 with DSm 6.0. Thank you! Quote
mgrobins Posted April 30, 2017 #12 Posted April 30, 2017 I am asking because I can't get WOL working into XPEnology DSM so it would be OK for me to suspend the NAS manually by pressing the power button. Perhaps we should look at how to get your WoL going .... Have you checked all of the basics in your mb bios first and confirmed you can wake other devices on your LAN? - WOL enabled for NIC, - PCI-E power state correct - some boards require power management for the PCI-e bus to be set a particular way for the NIC to remain functional in a "power off" state. Perhaps search for WoL for your motherboard and see if there's anything to set there specifically then look to DSM. Quote
Cr4z33 Posted April 30, 2017 #13 Posted April 30, 2017 I am asking because I can't get WOL working into XPEnology DSM so it would be OK for me to suspend the NAS manually by pressing the power button. Perhaps we should look at how to get your WoL going .... Have you checked all of the basics in your mb bios first and confirmed you can wake other devices on your LAN? - WOL enabled for NIC, - PCI-E power state correct - some boards require power management for the PCI-e bus to be set a particular way for the NIC to remain functional in a "power off" state. Perhaps search for WoL for your motherboard and see if there's anything to set there specifically then look to DSM. Yes of course my motherboard can use WOL. [emoji6] I've tested successfully with a Live Ubuntu CD session and the system went on suspension after the amount of time I choosed. Inviato dal mio SM-G935F utilizzando Tapatalk Quote
bearcat Posted May 23, 2017 #14 Posted May 23, 2017 Thanks, worked like a charm on my N54L running DSM 5.2-5967 Update 2. Quote
filippo333 Posted May 23, 2017 #15 Posted May 23, 2017 I generated an easy to install package to activate a mainboard connected power button for clean shutting down (instead login in web page). Install package for DSM 5.2, DSM 6.0 and DSM 6.1(.1): powerbutton_6.1-0004.spk I have tested DSM 5.2 and DSM 6.1 for the DS3617 versions only in VM. Please report if there are any problems. [spoiler=Changelog]Version 6.1-004 Minor change for recognizing DSM 6.1.1 Version 6.1-003 Adding support for DSM 5.2 Version 6.1-0002 Combining DSM 6.0 and DSM 6.1 in one package Version 6.0/6.1-0001 Versions for DSM 6.0 and DSM 6.1 Thanks again for your work wer; works like a charm even inside of VirtualBox Quote
Gronaldo Posted May 28, 2017 #16 Posted May 28, 2017 Ignorantly I just installed this on my 2 production boxes, without any testing. What could possibly go wrong, right? Wrong! Both bare metal, running DSM 5.2-5644 Update 8. Pressing the power button only made the devices disappear from the network...an that's it, no power off. Only power cycle to bring them back online. Removing or stopping the package is not possible in Package Center, it seems to freeze completely. Manually removed package via SSH, now all okay. Quote
wer Posted May 28, 2017 Author #17 Posted May 28, 2017 Both bare metal, running DSM 5.2-5644 Update 8. Pressing the power button only made the devices disappear from the network...an that's it, no power off. As stated I only tested 5.2 version in VM. Instead self compiled my package only loads one additional module that was distributed here earlier. So nothing special about that. So the question probably is more what hardware do you use. Removing or stopping the package is not possible in Package Center, it seems to freeze completely. Could you give more details? What happens when you try to remove? Quote
Gronaldo Posted May 29, 2017 #18 Posted May 29, 2017 Details as requested. Box 1; AMD C-70, ASRock C70M1, Corsair ValueSelect 4GB DDR3-1333 CL9, 2xWestern Digital Green 2TB Box 2; AMD A4-5300, ASRock FM2A88M-HD+, Corsair XMS 4GB DDR3-1333 CL8 kit, 2x Western Digital Green 2TB, 2x Western Digital Red 2TB So both are AMD based... Attempts to Stop or Remove package resulted in rotating wait indicator. No responce at all anymore, also not able to close Package Center. Hard reset needed. Quote
wer Posted May 29, 2017 Author #19 Posted May 29, 2017 Attempts to Stop or Remove package resulted in rotating wait indicator. No responce at all anymore, also not able to close Package Center. Hard reset needed. So there is obviously a problem when the needed kernel modules should be unloaded - and when the power button ACPI event "power button pushed" occurs. I'm not sure if this is an AMD issue. There is a seperate power off thread but I haven't found something there. You might follow the orignal instruction and install manually just to see if problem remains the same. Quote
Gronaldo Posted May 29, 2017 #20 Posted May 29, 2017 Appreciate your initiative and help, but for now I'm reverting back to power off by web portal. Quote
wer Posted June 2, 2017 Author #21 Posted June 2, 2017 Appreciate your initiative and help, but for now I'm reverting back to power off by web portal. Just tried my package on an AMD system with DSM 5.2-5644 Update 5. Works without any problems. Quote
Gronaldo Posted June 2, 2017 #22 Posted June 2, 2017 Strange.... No other optional packages installed, could it be missing any supporting files? Quote
wer Posted June 2, 2017 Author #23 Posted June 2, 2017 could it be missing any supporting files? No. I just did a clean new install. Really quite strange... Quote
DaRiO Posted June 6, 2017 #24 Posted June 6, 2017 Work perfectly. DSM 6.1.1-15101 Asrock Q1900-ITX Thank You Quote
Kitaro Posted July 16, 2017 #25 Posted July 16, 2017 Hello! DSM 6.1.3-15152 GA-N3150N-D3V Work perfectly!!! Thank You Quote
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.