2004-01-25 02:03:43

by Nick Bartos

[permalink] [raw]
Subject: acpi - forcing only button event & powerdown on?

I have a little linux distro I made that I use for a fair amount of
routers/servers. They use several different motherboards, and it seems to
me that in every recent release, the acpi in the kernel fixes support for
one board while breaking another.

I have tried forcing acpi on before, but I really don't like to do that as
I am thinking it would have side effects (one of the boards is on a
blacklist for acpi=ht, and when I do acpi=force it says that I am
overriding acpi=ht).

Really all I use on all of these systems is the acpi button event (for a
nice way to cleanly shutdown a headless router/server by tapping the power
button), and the acpi powerdown feature. I would think these two features
are simple enough that forcing them on wouldn't cause any problems like
system instability, even if there were hardware issues with them (but then
I really don't know anything about acpi...).

Is there a way to force acpi on, but only for the couple of things I need
(disabling the rest if it is a good idea), so I don't get into trouble
later?

I don't care too much for the idea of making a distro where I am bypassing
kernel autodection on things (as it is most likely done a certain way for
a reason, and I am no kernel developer), but I would like to be assured
that when I upgrade these machines, the two functions I use will continue
to work.

Am I asking too much or is this doable?


2004-01-28 21:43:54

by Brown, Len

[permalink] [raw]
Subject: Re: acpi - forcing only button event & powerdown on?

> Is there a way to force acpi on, but only for the couple of things I
> need
> (disabling the rest if it is a good idea), so I don't get into trouble
> later?

yes, build with...
CONFIG_ACPI=y
CONFIG_ACPI_BUTTON=y
everything else =n
make oldconfig (which will turn on CONFIG_ACPI_BOOT, INTERPRETER) and
build...

For your system on the acpi=ht blacklist, you'll need acpi=force to
over-ride it. Note that as ACPI has gotten better, some of the systems
on the blacklist have come off. [email protected] would
be a good place to bring up that issue for a particular platform.

cheers,
-Len