[UFO Chicago] APM on sid
Jordan Bettis
jordanb@hafd.org
Fri, 10 Aug 2001 20:15:55 -0500
On Fri, Aug 10, 2001 at 05:15:30PM -0700, Fawad Halim wrote:
> Hi,
> I nuked the partition table on my HDD a few days ago,
> so had to reinstall everything. Just for kicks, I
> installed Mandrake 8.0 on the PC. Before this, I had
> Win98/2k/Debian Sid on this machine, and only 98
> actually 'powered off' when I shut down the OS.
> Mandrake, also, powered off when I did
>
> shutdown -h now.
>
> Being the debian addict I am, I installed Sid again.
> This time I'm running kernel 2.4.7, and I still can't
> get it to power down (I've tried running/not running
> apmd (which I guess shouldn't matter as all programs
> are killed before power down anyway)). I guess my
> questions are:
>
> 1. Why does Mandrake power down while Debian doesn't.
Probably because the Debian kernel image mantainer needs
to be hit in the head with a cluestick.
> 2. How do I find out what compilation options the
> mandrake folks used to compile their kernel?
The config script can save settings to a file. Mandrake
might give you their config file, perhaps in a source
RPM or something. In addition, you could probably use
alien to turn their kernel image RPM into a deb and
install it with dpkg.
As far as power off at halt, I think that option is
General Setup->Advanced Power Management BIOS support.
I know that when I compiled 2.4.7 for my laptop, I enabled
just about every APM option in the config, and it works
with my kernel whereas it wouldn't with Debian Potato's
kernel image.
--
Jordan Bettis <http://www.hafd.org/~jordanb>
When someone says "I want a programming language in which I need only say
what I wish done," give him a lollipop.
-- Alan J Perlis: Epigrams in Programming, ACM SIGPLAN 1982