Click to See Complete Forum and Search --> : Auto power off
mrKR22
04-10-2001, 10:08 PM
I have one of those computers that automatically power off after you shutdown. when i installed mandrake 6.0 and used the halt command the computer shutdown fine, however now i'm using debian and when i use the halt command the computer wont turn off, and even if i try to shut it off manually, it wont work.
please help, thanks,
kr
cabu1966
04-11-2001, 12:06 AM
When I ran Redhat 6.2 it would automagically shut down too...when I went to SuSE 6.4 it quit working. A little looking around and I found that apm support had to be compiled into the kernel (which by default it wasn't in SuSE). As far as it not shutting off manually that sounds like your bios is set to soft power off or whatever...where you have to hold the power button down for 4 seconds before it will shut down.
As a side note be careful when recompiling your kernel...I picked SuSE's apm support kernel and broke all kinds of crap :o
/edit:
But it shuts off automatically
:D
[ 11 April 2001: Message edited by: cabu1966 ]
mrKR22
04-11-2001, 10:01 PM
where can i learn how to compile apm support into my kernel?
thanks,
kr
Bradmont
04-11-2001, 10:15 PM
If you're going to compile a new kernel, may as well do a new one! Goto www.kernel.org, (http://www.kernel.org,) where you can download the latest kernel (2.4.3). Read the docs (ESPECIALLY the file Documentation/Changes... it's very important). Everything you need to know should be there :).
Craig McPherson
04-12-2001, 02:02 AM
Getting it to power down under Debian is not hard. The stock kernel ships with APM support off (not every machine out there has APM support, and it's stupid for a stock kernel to make assume that every computer does), so you just have to compile it in. Use menuconfig when configuring the kernel, it's the most efficient. APM support is in one of the topmost configuration sections. Go through them all, you'll see it. I think you need to compile in just basic APM support: you can probably ignore the rest of the APM and other power-related options.
slacker_x
04-12-2001, 02:33 AM
look for a package called kernel-package
gives you a program called make-kpkg that allows you to build your own kernel debs...really cool and easy