PDA

View Full Version : Debian : my box won't turn off automaticallty?



johnsmith01
07-13-2005, 09:27 PM
i'm using Debian stable, and i installed and compiled the new 2.6 kernel , i can't turn my pc off automatically , it says that the power is off , but i have to press the turn off button ? why is this happening how can i solve this ?

UnderScore
07-13-2005, 09:35 PM
You probably mentioned it in the past, but what hardware are you running? Laptop? Desktop? Server? P4, P2, AMD?

I could be wrong but you may have to enable apm Advanced Power Management in the kernel. I think I remeber that if I disable apm, then my PC could not shut it self off.

johnsmith01
07-13-2005, 10:14 PM
desktop , P3 128MB , how do i enable the APM in the kernel ? it was working before i got the new kernel

UnderScore
07-13-2005, 10:27 PM
check if apm is enabled:
dmesg | grep -i apm

johnsmith01
07-13-2005, 10:34 PM
there's no reply :shock:, so what do i have to do or what ?


EDIT
Uname -r
Kernel 2.6.8-2-386

admin@linuxserver:~$ apm
No APM support in kernel


i did modprobe apm and it lwas succesful , and i turned of the pc , but it didnt' send any kill signals or anything , can this mess my pc ?
i tried modprobe apmd but it says FATAL: module doesn't found

i restarted the pc with my other kernel and the AMPD is loading but with the other one doesn't how can i configure this >?

johnsmith01
07-14-2005, 05:16 AM
problem fixed , it seemed that the kernel i was running didnt support APM ,or ACPID , so i got one that supports my sound card and alll the hardware :)

Harry Kuhman
07-14-2005, 05:22 AM
problem fixed , it seemed that the kernel i was running didnt support APM ,or ACPID , so i got one that supports my sound card and alll the hardware :)
Could you please post more details on what you did to get a different kernel, short of compiling your own (or is that what you had to do?)

johnsmith01
07-14-2005, 11:41 AM
apt-get install kernel-image.-2.6-i386

modprobe apm

shutdown -h now

and it works perfectly though i'm trying to load the apm module so it boots automatically