Jump to content
XPEnology Community

Power button package


wer

Recommended Posts

  • 2 weeks later...
  • 4 months later...
3 minutes ago, pedroj666 said:

I'm using DS918+ 6.2 Jun's Mod v1.04b and DSM 6.2.3-25426 Update 3 and I just installed "POWERBUTTON_6.2-0002.SPK" and I confirm that it works perfectly.

Hmm I can't see then the reason behind it not working anymore on my system... 🤔

Link to comment
Share on other sites

  • 2 months later...

I have been reading the thread and I'm not sure what this tool does and how to use it.

1. Is it support to allow you to shutdown/reboot your xpen device without the bootloader plugged in?

2. I managed to install via package center and I see the app running. So how do I use it?

 

Thanks

 

Link to comment
Share on other sites

12 hours ago, bumbo said:

I have been reading the thread and I'm not sure what this tool does and how to use it.

1. Is it support to allow you to shutdown/reboot your xpen device without the bootloader plugged in?

2. I managed to install via package center and I see the app running. So how do I use it?

 

Thanks

 

If it is installed and running properly, it will allow you to press the power button and it will make DSM shut down gracefully.

Link to comment
Share on other sites

  • 1 month later...
  • 4 weeks later...
  • 4 months later...
9 minutes ago, Orphée said:

Be carefull with my repo, i'm more a tester than anything else, dont consider it as safe for prod

maybe nothing with 7.0 is safe for prod

i just checked and the one i have in my test vm is this

https://github.com/jumkey/redpill-load/tree/develop/redpill-acpid

and acpi power button shudown in virtualbox is working (and that extension is from last year)

 

as far as i can see the power button *.spk package might not be continued for 7.0, it was developed further in a different way

  • Like 1
Link to comment
Share on other sites

On 3/2/2022 at 8:11 PM, IG-88 said:

maybe nothing with 7.0 is safe for prod

i just checked and the one i have in my test vm is this

https://github.com/jumkey/redpill-load/tree/develop/redpill-acpid

and acpi power button shudown in virtualbox is working (and that extension is from last year)

 

as far as i can see the power button *.spk package might not be continued for 7.0, it was developed further in a different way

Can you please tell how to install?

Also I see two GZ archives there so which one is suitable for DSM 7.0.1-42218 Update 2? :)

  • Like 1
Link to comment
Share on other sites

11 hours ago, Cr4z33 said:

Also I see two GZ archives there so which one is suitable for DSM 7.0.1-42218 Update 2?

if you open

https://github.com/jumkey/redpill-load/blob/develop/redpill-acpid/rpext-index.json

you will see that v6 is for "25556"" and thats dsm 6.2.4 so v6 is for dsm6 the other is for 7.0

 

its a extension, you can add when building the loader, TTG defined it with the redpill loader and you can read about it here

https://github.com/RedPill-TTG/redpill-extensions

 

the way i made mine is not suggested as i modded the custom.gz in a already made loader manually (can be unpacked and repacked like the extra.lzma - but thats not a way it should be done and would be overly complicated - i was doing some testing about making a custom.gz you could just copy to a loader to have a big driver package like with extra.lzma but as tinycore does work nice i dont see much need for that)

 

the most convenient  way might be to just use tinycore

pocopico has exactly that extension integrated (but there are other variations in githubs that will work too)

https://github.com/pocopico/tinycore-redpill/blob/main/rpext-index.json

 

{
  "id": "jumkey.acpid2",
  "url": "https://github.com/jumkey/redpill-load/raw/develop/redpill-acpid/rpext-index.json",
  "info": {
    "name": "ACPI Daemon v2",
    "description": "ACPI Daemon v2 that handles power button events",
    "author_url": "https://sourceforge.net/projects/acpid2/",
    "packer_url": "https://github.com/jumkey/redpill-load/raw/develop/redpill-acpid",
    "help_url": "https://github.com/jumkey/redpill-load/raw/develop/redpill-acpid"
  },
  "releases": {
    "ds3615xs_25556": "https://github.com/jumkey/redpill-load/raw/develop/redpill-acpid/recipes/universal_v6.json",
    "ds3615xs_41222": "https://github.com/jumkey/redpill-load/raw/develop/redpill-acpid/recipes/universal.json",
    "ds3615xs_42218": "https://github.com/jumkey/redpill-load/raw/develop/redpill-acpid/recipes/universal.json",
    "ds918p_25556": "https://github.com/jumkey/redpill-load/raw/develop/redpill-acpid/recipes/universal_v6.json",
    "ds918p_41890": "https://github.com/jumkey/redpill-load/raw/develop/redpill-acpid/recipes/universal.json",
    "ds918p_42218": "https://github.com/jumkey/redpill-load/raw/develop/redpill-acpid/recipes/universal.json"
  }
}

 

Link to comment
Share on other sites

  • 2 weeks later...
On 3/8/2022 at 9:50 AM, IG-88 said:

if you open

https://github.com/jumkey/redpill-load/blob/develop/redpill-acpid/rpext-index.json

you will see that v6 is for "25556"" and thats dsm 6.2.4 so v6 is for dsm6 the other is for 7.0

 

its a extension, you can add when building the loader, TTG defined it with the redpill loader and you can read about it here

https://github.com/RedPill-TTG/redpill-extensions

 

the way i made mine is not suggested as i modded the custom.gz in a already made loader manually (can be unpacked and repacked like the extra.lzma - but thats not a way it should be done and would be overly complicated - i was doing some testing about making a custom.gz you could just copy to a loader to have a big driver package like with extra.lzma but as tinycore does work nice i dont see much need for that)

 

the most convenient  way might be to just use tinycore

pocopico has exactly that extension integrated (but there are other variations in githubs that will work too)

https://github.com/pocopico/tinycore-redpill/blob/main/rpext-index.json

 


{
  "id": "jumkey.acpid2",
  "url": "https://github.com/jumkey/redpill-load/raw/develop/redpill-acpid/rpext-index.json",
  "info": {
    "name": "ACPI Daemon v2",
    "description": "ACPI Daemon v2 that handles power button events",
    "author_url": "https://sourceforge.net/projects/acpid2/",
    "packer_url": "https://github.com/jumkey/redpill-load/raw/develop/redpill-acpid",
    "help_url": "https://github.com/jumkey/redpill-load/raw/develop/redpill-acpid"
  },
  "releases": {
    "ds3615xs_25556": "https://github.com/jumkey/redpill-load/raw/develop/redpill-acpid/recipes/universal_v6.json",
    "ds3615xs_41222": "https://github.com/jumkey/redpill-load/raw/develop/redpill-acpid/recipes/universal.json",
    "ds3615xs_42218": "https://github.com/jumkey/redpill-load/raw/develop/redpill-acpid/recipes/universal.json",
    "ds918p_25556": "https://github.com/jumkey/redpill-load/raw/develop/redpill-acpid/recipes/universal_v6.json",
    "ds918p_41890": "https://github.com/jumkey/redpill-load/raw/develop/redpill-acpid/recipes/universal.json",
    "ds918p_42218": "https://github.com/jumkey/redpill-load/raw/develop/redpill-acpid/recipes/universal.json"
  }
}

 

 

IM still confused..  ( excuse my Newbie-ness )

just before the build stage i issued the command sudo ./rploader.sh add bromolow-7.0.1-42218 ext https://github.com/jumkey/redpill-load/raw/develop/redpill-acpid/rpext-index.json  It appeared to do its thing and ended in a bunch of green txt indicating it worked correctly.

I then ran the build sudo ./rploader.sh build bromolow-7.0.1-42218 and it started - It very quickly said it exists and exited in red txt and continued to build.

All appears to be fine except the power button still doesn't trigger a safe shutdown.  ( or anything for that matter )         What am i missing here?

I appreciate you help.  

 

Link to comment
Share on other sites

On 3/17/2022 at 2:28 AM, Acidmank said:

IM still confused..  ( excuse my Newbie-ness )

just before the build stage i issued the command sudo ./rploader.sh add bromolow-7.0.1-42218 ext https://github.com/jumkey/redpill-load/raw/develop/redpill-acpid/rpext-index.json  It appeared to do its thing and ended in a bunch of green txt indicating it worked correctly.

I then ran the build sudo ./rploader.sh build bromolow-7.0.1-42218 and it started - It very quickly said it exists and exited in red txt and continued to build.

All appears to be fine except the power button still doesn't trigger a safe shutdown.  ( or anything for that matter )

 

as its still beta and under development there can be all sorts of problems

you should at least open an new thread as this one is about the old power button package for jun's loader

you can check the success independently from the build process by opening the  custom.gz on the 1st partition of the loader  (7zip or similar) and in there under "exts" should be a acpid2 if the extension was integrated

next would be on the installed system, checking the logs

but as mentioned above - new thread, in a proper section like development area or general post install problems

Link to comment
Share on other sites

  • 3 months later...
On 6/28/2022 at 7:01 AM, AsusNSK said:

I need Power button package fof DS918+ (and DS920+) 7.1.0_42661

Any idea?

its now called a extension in the new loader and its name is acpid

https://github.com/pocopico/redpill-load/blob/master/redpill-acpid/rpext-index.json
 

{
  "id": "jumkey.acpid2",
...
    "name": "ACPI Daemon v2",
    "description": "ACPI Daemon v2 that handles power button events",
...

 

its also referenced in the tutorial

https://xpenology.com/forum/topic/62221-tutorial-installmigrate-to-dsm-7x-with-tinycore-redpill-tcrp-loader/

"... The examples illustrate adding ACPI and VIRTIO support. ..."

 

Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...