wer

Power button package

Recommended Posts

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.

 

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

Hide  

 

  • Like 4

Share this post


Link to post
Share on other sites
Posted (edited)

Thanks! Will try this out later this evening.

 

*Update - works on my baremetal 6.0.1-11. Thanks wer!

Edited by Guest

Share this post


Link to post
Share on other sites
Posted (edited)

Edited first posting.

 

Only one version fitting both, DSM 6.0 and 6.1

Edited by Guest

Share this post


Link to post
Share on other sites

I can confirm that your 6.1 package works with xpen 6.1 on my HP i5 laptop which I use for testing purposes.

Share this post


Link to post
Share on other sites

Rly Nice !

 

It's work on my config.

 

DSM 6.0

ASUS P8H77-I

Core i3-3220T

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

 

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.

Share this post


Link to post
Share on other sites

 

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.

 

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

Share this post


Link to post
Share on other sites

Thanks,

worked like a charm on my N54L running

DSM 5.2-5967 Update 2.

Share this post


Link to post
Share on other sites
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 :smile:

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

Appreciate your initiative and help, but for now I'm reverting back to power off by web portal.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

Strange.... No other optional packages installed, could it be missing any supporting files?

Share this post


Link to post
Share on other sites
could it be missing any supporting files?

No. I just did a clean new install.

Really quite strange...

Share this post


Link to post
Share on other sites

Work perfectly.

DSM 6.1.1-15101

Asrock Q1900-ITX

 

Thank You :smile:

Share this post


Link to post
Share on other sites

Hello!

DSM 6.1.3-15152

GA-N3150N-D3V

Work perfectly!!!

Thank You :smile:

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now