ACPI (Re: Buildworld can't find platform.h anymore)

YONETANI Tomokazu qhwt+dragonfly-bugs at
Mon Jun 28 01:28:58 PDT 2004

On Sun, Jun 27, 2004 at 09:20:06PM -0700, Matthew Dillon wrote:
> :>     Although I didn't commit it, I did test the build against 
> :>     acpica-unix-20040527.tar.gz from INTEL (and thanks to the variable
> :>     you set in testing was trivial)!.  It seems to work at
> :>     least as well as the 20031203 code.
> :
> :Sure. I'll post the patch after testing new kernel with
> :acpica-unix-20040527.tar.gz .
>     I have to release tonight, so it might not make it into 1.0, but 
>     DragonFly is still quite experimental so it doesn't have to make the
>     release, really.

Ok, I've gone through a full buildworld/buildkernel with acpica-unix-20040527
and did a few tests and it seems to be working. The patch is based on
the update20040617 plus some cleanups. Anyway, the patch is here:

There are a few things to note:
- default value for disable_on_poweroff has been changed to 0, so you may
  have to add the following line in /etc/sysctl.conf
- new code no longer compiles with acpica-unix-20031203, because of some
  new symbols added in the later ACPI-CA code. I initially tried to
  cope with it by making both old and new codes conditionally-compiled
  (using SYSACPICA_VERSION), but I gave up because the code became ugly.
  it still compiles with acpica-unix-20040514.

More information about the Bugs mailing list