Olegin Posted February 21, 2020 Share #101 Posted February 21, 2020 10 часов назад, whatever000 сказал: would it be possible to include the power button stuff in the driver extension release? Read post above Quote Link to comment Share on other sites More sharing options...
mervincm Posted February 24, 2020 Share #102 Posted February 24, 2020 Thanks for the help! It is working for me now, this is what I did. DS918+ DSM 6.2.2-24922 Update 5 downloaded package from the link on the previous page. checksum Name: POWERBUTTON_6.2-0002.SPK Size: 109056 bytes (106 KiB) SHA256: F0D06DE8AF97058994F5EBFD5E1156BA8DAA670EF6277F600779A44A412B3875 downloaded extra driver file checksum Name: extra918plus_v0.8_std.zip Size: 12775750 bytes (12 MiB) SHA256: F611BCA5457A74AE65ABC4596F1D0E6B36A2749B16A827087D97C1CAF3FEA89A uninstalled the power button package reinstalled the power button package extracted extra.lzma from that extracted extra from that extracted these two files from there Name: button.ko Size: 13368 bytes (13 KiB) SHA256: 5BF59F946E6C4B3F7F52BE86072C1CA5654336E244A908C5507CE434A8A74D43 Name: evdev.ko Size: 23816 bytes (23 KiB) SHA256: 07B0D5894652EAEEDB6AC84899DC4FFD2D3B2254BEA9B24C953E9EE253956AC2 place on a NAS volume using midnight commander I overwrote Name: /usr/lib/modules/update/button.ko Size: 13907 bytes (13 KiB) SHA256: B9D8B2F9B4CF9BFD6740016BEC8ABEE073C2F1E92D55FD25CDBF3F2ADA1A2822 and I overwrote Name: /usr/lib/modules/update/evdev.ko Size: 23816 bytes (23 KiB) SHA256: 07B0D5894652EAEEDB6AC84899DC4FFD2D3B2254BEA9B24C953E9EE253956AC2 set permissions on both files at destination to be root root 100644 restart /dev/input/-event0 /dev/input/-event1 /dev/input/-event2 /dev/input/-event3 these existed but appear to invalid? files /sys/class/input/~event0 /sys/class/input/~event1 /sys/class/input/~event2 /sys/class/input/~event3 /sys/class/input/~input0 /sys/class/input/~input1 /sys/class/input/~input2 /sys/class/input/~input3 also existed but were 0 bytes found these searching for "button" 23.268742] input: Sleep Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:0 0/input/input0 [ 23.268745] ACPI: Sleep Button [SLPB] [ 23.268763] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:0 0/input/input1 [ 23.268764] ACPI: Power Button [PWRB] [ 23.268783] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/inp ut2 [ 23.268784] ACPI: Power Button [PWRF] [ 120.356664] evdev: version magic '4.4.59 SMP preempt mod_unload ' should be ' 4.4.59+ SMP preempt mod_unload ' [ 120.372858] button: version magic '4.4.59 SMP preempt mod_unload ' should be '4.4.59+ SMP preempt mod_unload ' Quote Link to comment Share on other sites More sharing options...
whatever000 Posted February 25, 2020 Share #103 Posted February 25, 2020 (edited) Thanks @mervincm for reporting back. I will give that a try later Edited February 25, 2020 by whatever000 Quote Link to comment Share on other sites More sharing options...
whatever000 Posted March 1, 2020 Share #104 Posted March 1, 2020 (edited) @mervincm, I followed your instruction but it doesn't seem to work for me. is there anyway to debug this? I am using Jun 1.04b loader for ds918+ 6.2.2 24922 (https://archive.synology.com/download/DSM/release/6.2.2/24922/DSM_DS918+_24922.pat) with 0.8_recovery ds918+ (http://s000.tinyupload.com/?file_id=02568989419278984390) from IG-88 and POWERBUTTON_6.2-0002.SPK. I am using Supermicro x10sdv-4c-tln2f. I can shutdown properly using the web interface. Here is my step to install: 1. uninstalled the mentioned.spk 2. reinstalled the mentioned .spk 3. extracted button.ko and evdev.ko from 0.8_recovery ds918+ 4. overwrite the two ko in /usr/lib/modules/update with the extracted one. 5. restart I see the following ======= edwin@jarvis:/$ ls -l /dev/input/ total 0 crw------- 1 root root 13, 64 Feb 29 22:01 event0 crw------- 1 root root 13, 65 Feb 29 22:01 event1 crw------- 1 root root 13, 66 Feb 29 22:01 event2 crw------- 1 root root 13, 67 Feb 29 22:01 event3 crw------- 1 root root 13, 68 Feb 29 22:01 event4 ======= edwin@jarvis:/$ ll /sys/class/input/ total 0 drwxr-xr-x 2 root root 0 Feb 29 22:01 . drwxr-xr-x 59 root root 0 Feb 29 22:01 .. lrwxrwxrwx 1 root root 0 Feb 29 22:12 event0 -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0/event0 lrwxrwxrwx 1 root root 0 Feb 29 22:12 event1 -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/0003:0B38:0010.0001/input/input1/event1 lrwxrwxrwx 1 root root 0 Feb 29 22:12 event2 -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/0003:0B38:0010.0002/input/input2/event2 lrwxrwxrwx 1 root root 0 Feb 29 22:12 event3 -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.1/1-4.1:1.0/0003:0557:2419.0003/input/input3/event3 lrwxrwxrwx 1 root root 0 Feb 29 22:12 event4 -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.1/1-4.1:1.1/0003:0557:2419.0004/input/input4/event4 lrwxrwxrwx 1 root root 0 Feb 29 22:12 input0 -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0 lrwxrwxrwx 1 root root 0 Feb 29 22:12 input1 -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/0003:0B38:0010.0001/input/input1 lrwxrwxrwx 1 root root 0 Feb 29 22:12 input2 -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/0003:0B38:0010.0002/input/input2 lrwxrwxrwx 1 root root 0 Feb 29 22:12 input3 -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.1/1-4.1:1.0/0003:0557:2419.0003/input/input3 lrwxrwxrwx 1 root root 0 Feb 29 22:12 input4 -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.1/1-4.1:1.1/0003:0557:2419.0004/input/input4 ======= edwin@jarvis:/$ dmesg | grep Button [ 21.134670] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0 [ 21.134675] ACPI: Power Button [PWRB] ======= dmesg gave me the following [ 34.766347] evdev: version magic '4.4.59 SMP preempt mod_unload ' should be '4.4.59+ SMP preempt mod_unload ' [ 34.803902] button: version magic '4.4.59 SMP preempt mod_unload ' should be '4.4.59+ SMP preempt mod_unload ' Edited March 1, 2020 by whatever000 Quote Link to comment Share on other sites More sharing options...
whatever000 Posted March 1, 2020 Share #105 Posted March 1, 2020 (edited) @mervincm I got this figured out. Just want to report back my findings in case someone has a supermicro board. It turns out there is a BIOS setting in Supermicro "Power button behaviour". You can choose between "instant off" or "4 sec override". The correct setting for the power button to work is "instant off" Here is the details log edwin@jarvis:/$ dmesg | grep Button [ 21.328442] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0 [ 21.328447] ACPI: Power Button [PWRB] [ 21.328497] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input1 [ 21.328499] ACPI: Power Button [PWRF] edwin@jarvis:/$ dmesg | grep button [ 35.696225] button: version magic '4.4.59 SMP preempt mod_unload ' should be '4.4.59+ SMP preempt mod_unload ' edwin@jarvis:/$ ls /dev/input/ event0 event1 event2 event3 event4 event5 edwin@jarvis:/$ ls -l /dev/input/ total 0 crw------- 1 root root 13, 64 Feb 29 23:33 event0 crw------- 1 root root 13, 65 Feb 29 23:33 event1 crw------- 1 root root 13, 66 Feb 29 23:33 event2 crw------- 1 root root 13, 67 Feb 29 23:33 event3 crw------- 1 root root 13, 68 Feb 29 23:33 event4 crw------- 1 root root 13, 69 Feb 29 23:33 event5 edwin@jarvis:/$ ls -l /sys/class/input/ total 0 lrwxrwxrwx 1 root root 0 Feb 29 23:39 event0 -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0/event0 lrwxrwxrwx 1 root root 0 Feb 29 23:39 event1 -> ../../devices/LNXSYSTM:00/LNXPWRBN:00/input/input1/event1 lrwxrwxrwx 1 root root 0 Feb 29 23:39 event2 -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/0003:0B38:0010.0001/input/input2/event2 lrwxrwxrwx 1 root root 0 Feb 29 23:39 event3 -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/0003:0B38:0010.0002/input/input3/event3 lrwxrwxrwx 1 root root 0 Feb 29 23:39 event4 -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.1/1-4.1:1.0/0003:0557:2419.0003/input/input4/event4 lrwxrwxrwx 1 root root 0 Feb 29 23:39 event5 -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.1/1-4.1:1.1/0003:0557:2419.0004/input/input5/event5 lrwxrwxrwx 1 root root 0 Feb 29 23:39 input0 -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0 lrwxrwxrwx 1 root root 0 Feb 29 23:39 input1 -> ../../devices/LNXSYSTM:00/LNXPWRBN:00/input/input1 lrwxrwxrwx 1 root root 0 Feb 29 23:39 input2 -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/0003:0B38:0010.0001/input/input2 lrwxrwxrwx 1 root root 0 Feb 29 23:39 input3 -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/0003:0B38:0010.0002/input/input3 lrwxrwxrwx 1 root root 0 Feb 29 23:39 input4 -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.1/1-4.1:1.0/0003:0557:2419.0003/input/input4 lrwxrwxrwx 1 root root 0 Feb 29 23:39 input5 -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.1/1-4.1:1.1/0003:0557:2419.0004/input/input5 edwin@jarvis:/$ Edited March 1, 2020 by whatever000 Quote Link to comment Share on other sites More sharing options...
titi102 Posted March 10, 2020 Share #106 Posted March 10, 2020 Hello, 6.1-0005 installed on asrock j3455. Works like a charm. thank you so much Quote Link to comment Share on other sites More sharing options...
vanst Posted March 29, 2020 Share #107 Posted March 29, 2020 On 7/2/2019 at 7:13 PM, jarugut said: Try this file! POWERBUTTON_6.2-0002.SPK 106.5 kB · 349 downloads Hi guys, This package is not working for my NAS. When I perform a shutdown via web interface, the whole PC power off then power on again. I am currently running DSM 6.2-23739 Update 2 with Jun's V1.03b DS3615xs's loader on HP Proliant ML110 G4. Thanks! Quote Link to comment Share on other sites More sharing options...
IG-88 Posted March 30, 2020 Share #108 Posted March 30, 2020 10 hours ago, vanst said: This package is not working for my NAS. When I perform a shutdown via web interface, the whole PC power off then power on again. I am currently running DSM 6.2-23739 Update 2 with Jun's V1.03b DS3615xs's loader on HP Proliant ML110 G4. Thanks! its about getting the acpi power button to work, if you have general shutdown problems like yours (you cross posted here) then this package can't solve it Quote Link to comment Share on other sites More sharing options...
vanst Posted March 30, 2020 Share #109 Posted March 30, 2020 2 hours ago, IG-88 said: its about getting the acpi power button to work, if you have general shutdown problems like yours (you cross posted here) then this package can't solve it Thanks IG-88 for sharing the feedback. I will follow up on my topic then. Quote Link to comment Share on other sites More sharing options...
malvar Posted April 10, 2020 Share #110 Posted April 10, 2020 (edited) Worked great on Asus Q87T with DSM 6.2-23739. I've been looking for something like this for a while now. Thank you so much. Edited April 10, 2020 by malvar Quote Link to comment Share on other sites More sharing options...
Eduardo Posted April 20, 2020 Share #111 Posted April 20, 2020 On 12/31/2019 at 2:46 PM, IG-88 said: just remove the button.ko and evdev.ko from /usr/lib/modules there are new one in /usr/lib/modules/update already the plugin is not aware of the changes of 6.2.2 and blindly overwrites with old 6.2.0 files the rest is fine, after removing the old/wrong files and rebooting your system should be able to use acpi power off i'm using this with my dsm test vm's in virtualbox the plugin needs to be extended for 6.2.2 and needs new button.ko/evdev.ko files (can be extraxted from my extra.lzma's) Don't do that on 6.2.3 Old drivers working again. Just install POWERBUTTON_6.2-0002.SPK. It should work. 1 Quote Link to comment Share on other sites More sharing options...
pro_info Posted April 24, 2020 Share #112 Posted April 24, 2020 Very nice, I installed POWERBUTTON_6.2-0002.SPK and it works on DSM 6.2.2-24922 U4 with DS918+ 1.04b loader on unraid 6.8.3. Thx ! Quote Link to comment Share on other sites More sharing options...
Rooster Posted May 1, 2020 Share #113 Posted May 1, 2020 Just tested POWERBUTTON_6.2-0002.SPK on Proxmox 6.1-8 VM running latest verion DSM 6.2.3-25423 and it works fine. I can finally use Shutdown button from within Proxmox web to turn off the VM. Thanks for the EASY BUTTON 😀! Quote Link to comment Share on other sites More sharing options...
mervincm Posted May 17, 2020 Share #114 Posted May 17, 2020 POWERBUTTON_6.2-0002.SPK now works again as is (no button.ko or evdev.ko manual fixes) under bare metal 6.2.3. Just install and it works! 1 Quote Link to comment Share on other sites More sharing options...
DeepK Posted August 5, 2020 Share #115 Posted August 5, 2020 On 2/17/2020 at 12:15 AM, IG-88 said: reinstall the package, overwrite the files (old file date) with the new as you did before, reboot try the shutdown by button, check the log (dmesg) for errors during boot (drivers loading) and the (attempted) shutdown you can also look for whats in /dev/input/ and /sys/class/input/ there should be something if the drivers are loaded properly Have not been able to get this to work. Not seeing a /dev/input/ directory at all. DSM 6.2.3-25426, Proxmox VE 6.2-10, POWERBUTTON_6.2-0002.SPK Quote Link to comment Share on other sites More sharing options...
wreslrstud Posted August 24, 2020 Share #116 Posted August 24, 2020 Morning All! It looks like the package is no longer available on the site. I found a reddit post that links to a 3rd party site, but I'm wary of installing it (the site is all in Chinese). Could someone please post up the correct file for the 6.2 powerbutton package? Quote Link to comment Share on other sites More sharing options...
jarugut Posted August 25, 2020 Share #117 Posted August 25, 2020 17 hours ago, wreslrstud said: Morning All! It looks like the package is no longer available on the site. I found a reddit post that links to a 3rd party site, but I'm wary of installing it (the site is all in Chinese). Could someone please post up the correct file for the 6.2 powerbutton package? I attach the file POWERBUTTON_6.2-0002.SPK 1 Quote Link to comment Share on other sites More sharing options...
wreslrstud Posted August 25, 2020 Share #118 Posted August 25, 2020 Thanks for the update jarugut. I appreciate it! Quote Link to comment Share on other sites More sharing options...
DeepK Posted September 7, 2020 Share #119 Posted September 7, 2020 On 8/5/2020 at 12:36 PM, DeepK said: Have not been able to get this to work. Not seeing a /dev/input/ directory at all. DSM 6.2.3-25426, Proxmox VE 6.2-10, POWERBUTTON_6.2-0002.SPK Ok got this to work by disabling QEMU Guest Agent in Proxmox VM Options... for some reason this was enabled. After rebooting, pressing Shutdown in Proxmox dashboard works. Success - DSM 6.2.3-25426, Proxmox VE 6.2-10, POWERBUTTON_6.2-0002.SPK Quote Link to comment Share on other sites More sharing options...
jesta Posted October 7, 2020 Share #120 Posted October 7, 2020 (edited) On 10/23/2018 at 8:19 PM, hoppler said: Updated powerbutton package to work with dsm 6.2 for ds3615, ds3617 and ds918+ POWERBUTTON_6.2-0002.SPK 106.5 kB · 556 downloads or https://www39.zippyshare.com/v/R3ftOA3X/file.html Works on UnRAID 6.8.3 (QEMU 4.2.0), DSM 6.2.3-25426, 3617xs loader! Thanks a million! Edited October 7, 2020 by jesta Quote Link to comment Share on other sites More sharing options...
IG-88 Posted October 7, 2020 Share #121 Posted October 7, 2020 the plugin copy's some older files (6.2.0) to a new 6.2.3 system in the "original" place where synology keeps its own drivers cp -R ${SYNOPKG_PKGDEST}/modules/$DSM_VERSION/$DSM_PACKAGE/* /usr/lib/modules/ either it should not replace it if a (newer) driver is already present (usually evdev.ko) or should copy it to /usr/lib/modules/update/ the last might "collide" with whats coming from extra.lzma, on next boot the loader/patch will replace everything whats different with the content of the extra.lzma, but imho that should not be a problem as is the evdev.ko and button.ko are present and match the dsm version (as it should be for additional drivers) then the drivers coming from extra.lzma will be newer (and presumably better, if using the old 6.2.0 extra.lzma with 6.2.3 it will not get worth as the drivers in the package are 6.2.0 level) in theory it should be possible to tweak the package aka mode the install script (breaks the signature if it has one, but when loading manually you are usually beyond the point where this is a concern), also possible would be to extend it to the special need of dsm 6.2.2 (would takesome more changes, nothing i would do) any comments on the two possible ways of copying the *.ko files? Quote Link to comment Share on other sites More sharing options...
xpenobolik Posted November 7, 2020 Share #122 Posted November 7, 2020 Спасибо большое создателю! ❤️💣 2 года я мучился выключая свой NAS из веб интерфейса случайно увидел эту тему на форуме, установил POWERBUTTON_6.2-0002 и всё заработало! p.s. MB Asrock H310, CPU Celeron G4900T DS918+ DSM 6.2-23739 Quote Link to comment Share on other sites More sharing options...
zarjesve2 Posted November 17, 2020 Share #123 Posted November 17, 2020 Hi, just to On 8/25/2020 at 8:45 AM, jarugut said: I attach the file POWERBUTTON_6.2-0002.SPK 106.5 kB · 94 downloads Just to confirm that I did install it and it works! (although I have another problem with shutdown: Xpenology restart after shutdown and turning off. In few second computer starts again but as IG-88 already stated: this is another problem). My configuration is: Jun Mod v.1.03b DS3615xs, Baremetal DMS: DSM 6.2.3-25426 HW: Lenovo IdeaCentre D400 Quote Link to comment Share on other sites More sharing options...
Outrullers Posted November 26, 2020 Share #124 Posted November 26, 2020 (edited) В 27.04.2017 в 17:52, wer сказал: Install package for DSM 5.2, DSM 6.0 and DSM 6.1(.1): powerbutton_6.1-0004.spk powerbutton_6.1-0005.spk Please, reload this somewhere else! I`ve registered at XUP.IN, turned off adblock already and still got error 1002 and NO DOWNLOAD! P.S. powerbutton_6.1-0002.spk works with 1.04b 918 DSM 6.2.3-25423-2 ) Edited November 26, 2020 by Outrullers Quote Link to comment Share on other sites More sharing options...
jithuraj Posted November 26, 2020 Share #125 Posted November 26, 2020 Thank you so much for this tool.. it works like a charm. 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.