Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is there any specific module/package in Linux responsible for initiating shut-down, once the power-off button was pressed?

I installed a minimal version of CentOS Linux by removing the base package, and the power-off button stopped working.

It does works fine in regular installation, so there must be some package missing?

share|improve this question
add comment

2 Answers

up vote 4 down vote accepted

Yea, it's probably ACPI support.

Chances are support is already compiled into your kernel. Look for /proc/acpi or /proc/sys/acpi. If you see them, skip to the "install ACPID" bit.

Assuming you DON'T have a kernel that supports acpi, here's a little ACPI "How-To" for Fedora 8, which is admittedly not the same, but the process should be very similar. Here's another, more modern one.

If your kernel already supports acpi, you might want to simply try using a package manager to install acpid which should fix the problem.

share|improve this answer
    
Thanks, acpid seems as what I looked for! –  SyRenity Jan 10 '10 at 8:12
add comment

You may need the acpid-1.0.4-9.el5 package installed.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.