HP N54L - 5.0 4493 - NB X64 5.0.2.4 - Power button?


Recommended Posts

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 post
Share on other sites
- 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 post
Share on other sites
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 post
Share on other sites
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 post
Share on other sites
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 :sad:.

 

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

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

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

 

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. :smile:

Link to post
Share on other sites