gurug Posted June 14, 2014 Share #1 Posted June 14, 2014 Hello to all. I'm trying to make power button work on HP N54L, so I can power off device with it ... I tried to follow steps to enable this on DSM 4.2 - but I got stuck. There is no button.ko module loaded in system. Can anybody get me some advice how to make this work? Thans in advance! Link to comment Share on other sites More sharing options...
andywhit Posted June 14, 2014 Share #2 Posted June 14, 2014 - open /etc/rc for editing - search for the first occurrence of the environment variable KERNEL_MODULES and put 'button' at the end of the string. Link to comment Share on other sites More sharing options...
gurug Posted June 14, 2014 Author Share #3 Posted June 14, 2014 - open /etc/rc for editing- search for the first occurrence of the environment variable KERNEL_MODULES and put 'button' at the end of the string. There is no button.ko on system - I did this already, I don't know much about linux, but if there's no button.ko in modules folder, 'button' can't load it, right? Link to comment Share on other sites More sharing options...
andywhit Posted June 14, 2014 Share #4 Posted June 14, 2014 On my DSM 4.3 (trantor) DiskStation> find / -name button.ko /lib/modules/button.ko Link to comment Share on other sites More sharing options...
gurug Posted June 15, 2014 Author Share #5 Posted June 15, 2014 On my DSM 4.3 (trantor) DiskStation> find / -name button.ko /lib/modules/button.ko Like I said... There is no button.ko in modules folder. I guess to add it I must recompile kernel? Link to comment Share on other sites More sharing options...
Scheppi Posted June 15, 2014 Share #6 Posted June 15, 2014 I just upgraded from Gnooboot to Nanoboot and i got that "Power Button Down" working on my N54L like descriped here: viewtopic.php?f=2&t=889&hilit=button#p7305 btw, i have a button.ko in my modules folder: find / -name button.ko /lib/modules/button.ko Link to comment Share on other sites More sharing options...
gurug Posted June 16, 2014 Author Share #7 Posted June 16, 2014 I just upgraded from Gnooboot to Nanoboot and i got that "Power Button Down" working on my N54L like descriped here: viewtopic.php?f=2&t=889&hilit=button#p7305 btw, i have a button.ko in my modules folder: find / -name button.ko /lib/modules/button.ko Andywhit sent me button.ko and I copied it to my system and I did everything as in your link. And it is not working for me... When is test acpi, I got no response when I push button... I guess you are nor having latest Dsm 5,0? Link to comment Share on other sites More sharing options...
yabba235 Posted June 16, 2014 Share #8 Posted June 16, 2014 Nanoboot has no enable ACPI option in kernel.cfg file, so on nanoboot no button.ko module. I do not know whether module from gnoboot will operate, perhaps not . Link to comment Share on other sites More sharing options...
gurug Posted June 16, 2014 Author Share #9 Posted June 16, 2014 Nanoboot has no enable ACPI option in kernel.cfg file, so on nanoboot no button.ko module.I do not know whether module from gnoboot will operate, perhaps not . Ah, so that's the problem ... not enabled ACPI in nanoboot ... So I guess I'll just have to wait for new version ob NB that will have this enabled ... Thanks for info. Link to comment Share on other sites More sharing options...
arowan91 Posted June 16, 2014 Share #10 Posted June 16, 2014 Hi, So please, ask nanoboot developer to include ACPI support! I can't understand why not compile the kernel with them. I like also to have a robuts N54L server with XPEnology working. Regards. Link to comment Share on other sites More sharing options...
gurug Posted June 16, 2014 Author Share #11 Posted June 16, 2014 Hi, So please, ask nanoboot developer to include ACPI support! I can't understand why not compile the kernel with them. I like also to have a robuts N54L server with XPEnology working. Regards. I would if I knew who is nanoboot developer and how to reach him ... Link to comment Share on other sites More sharing options...
Scheppi Posted June 16, 2014 Share #12 Posted June 16, 2014 Sorry, but iam definatly on DSM 5.0-4493-Update 1 and it works for me. I used to be on latest gnoboot with 4458, got it working there too. Then upgraded to Nanoboot and to 4493, then manually Update to Update 1 i edit Line 371 in my /etc/rc to: KERNEL_MODULES="..here comes stuff.. cpufreq_conservative button" after reboot, i tested with : "cat /proc/acpi/event" which gave me some event and then did the rest like in the manual i later checked and saw a button.ko: DiskStation50> ll /lib/modules/button.ko -rw-r--r-- 1 root root 12764 Jun 9 12:17 /lib/modules/button.ko i didnt copy it there. (maybe its leftover from gnoboot?) Link to comment Share on other sites More sharing options...
gurug Posted June 16, 2014 Author Share #13 Posted June 16, 2014 Sorry, but iam definatly on DSM 5.0-4493-Update 1 and it works for me.I used to be on latest gnoboot with 4458, got it working there too. Then upgraded to Nanoboot and to 4493, then manually Update to Update 1 i edit Line 371 in my /etc/rc to: KERNEL_MODULES="..here comes stuff.. cpufreq_conservative button" after reboot, i tested with : "cat /proc/acpi/event" which gave me some event and then did the rest like in the manual i later checked and saw a button.ko: DiskStation50> ll /lib/modules/button.ko -rw-r--r-- 1 root root 12764 Jun 9 12:17 /lib/modules/button.ko i didnt copy it there. (maybe its leftover from gnoboot?) I did fresh (first install) with nanoboot and DSM 5.0-4494 and then update 1. And button.ko was not present at all. So I copied button.ko, made all right permisions (CHMOD), did all steps required to get button working, restarted. If I list loaded modules now (LSMOD) - I get "button" listed, but "cat /proc/acpi/event" does not give any output when pressing power button. Link to comment Share on other sites More sharing options...
Scheppi Posted June 16, 2014 Share #14 Posted June 16, 2014 sorry, iam no expert in this, i just tried out the Manual and i got it working, maybe theres some leftover from gnoboot? (all i did was to change my usb drive from gnoboot to nanoboot, then choose migration and then went the steps of the manual) anything i can do to help you? Link to comment Share on other sites More sharing options...
gurug Posted June 16, 2014 Author Share #15 Posted June 16, 2014 sorry, iam no expert in this, i just tried out the Manual and i got it working, maybe theres some leftover from gnoboot?(all i did was to change my usb drive from gnoboot to nanoboot, then choose migration and then went the steps of the manual) anything i can do to help you? I guess it's possible that some part of system was leftover ... I'm also no expert I did some more reading around internet, and it looks like there is really no ACPI support in nanoboot - so this is the issue. Thanks for your offer. Link to comment Share on other sites More sharing options...
Scheppi Posted June 16, 2014 Share #16 Posted June 16, 2014 from what i read before: http://nanoboot.tk/ (google translator helped:) 6, increasing the ACPI-related drivers Kernel CONFIG_ACPI_PROC_EVENT enabled Kernel CONFIG_ACPI_AC enabled Kernel CONFIG_ACPI_BATTERY enabled ok, then maybe one day he builds a fully working update Link to comment Share on other sites More sharing options...
yabba235 Posted June 22, 2014 Share #17 Posted June 22, 2014 I confirm in Nanoboot 5.0.3.1 power button mod work ! Sent from my iPhone using Tapatalk Link to comment Share on other sites More sharing options...
gurug Posted June 22, 2014 Author Share #18 Posted June 22, 2014 I confirm in Nanoboot 5.0.3.1 power button mod work ! Sent from my iPhone using Tapatalk Thanks for information. I just installed Nanoboot 5.0.3.1 - and it really works! Link to comment Share on other sites More sharing options...
sporti Posted June 22, 2014 Share #19 Posted June 22, 2014 What do you mean with Power Button Mod... ? What i have to do under Nanoboot that Power Button works ...? Link to comment Share on other sites More sharing options...
gurug Posted June 22, 2014 Author Share #20 Posted June 22, 2014 What do you mean with Power Button Mod... ?What i have to do under Nanoboot that Power Button works ...? In this post are instructions: http://xpenology.com/forum/viewtopic.php?f=2&t=889&sid=a3bb7c36e1521386819c68d7047e4a99#wrap Link to comment Share on other sites More sharing options...
sporti Posted June 22, 2014 Share #21 Posted June 22, 2014 Thank You !!! Link to comment Share on other sites More sharing options...
sporti Posted June 22, 2014 Share #22 Posted June 22, 2014 What is the better/safer shutdown command ?? What do you use ? syno_poweroff_feasible_check or syno_poweroff_task -r poweroff Link to comment Share on other sites More sharing options...
gurug Posted June 22, 2014 Author Share #23 Posted June 22, 2014 What is the better/safer shutdown command ??What do you use ? syno_poweroff_feasible_check or syno_poweroff_task -r poweroff I use just 'poweroff'. Link to comment Share on other sites More sharing options...
sporti Posted June 22, 2014 Share #24 Posted June 22, 2014 Hm, i think syno_poweroff_feasible_check is safer.... Link to comment Share on other sites More sharing options...
Recommended Posts