FreeBSD 5.2-CURRENT on HP Omnibook 6000 - ACPI problem
nate at root.org
Tue Jan 6 15:11:25 PST 2004
> The problem is that with ACPI enabled the eject button on the docking
> station doesn't work.
When ACPI is running, the BIOS no longer runs things like the eject
button. Since we haven't implemented eject support yet, it does nothing
if ACPI is running. Either wait for eject support, which will be a while,
or disable acpi.
> I've disabled two ACPI methods:
> lid: Because the lid is normally shut - I don't want the system going into
> standby all the time
> thermal: Because sometimes a wild temperature is reported, causing a
> poweroff. Certainly I doubt the values reported (over 200 C) when this
I don't see how this is possible since the code to do this is commented
out. Is there any console message printed before it powers off? It may
be the BIOS that does this if it's just a power off (no nice shutdown).
sys/dev/acpica/acpi_thermal.c: /* shutdown_nice(RB_POWEROFF);*/
> On a related question - is it possible to tune the ACPI events (as you
> can under Linux)? I'd like to keep the thermal action, but set it to
> poweroff on 2 over-temperature events rather than one.
Since the above code is commented out, you can just use /etc/devd.conf to
look for Thermal events of type 0x80 and then call a script that evaluates
sysctl hw.acpi.tz0.temperature and then call halt -p if it exceeds some
value. We pipe many ACPI events to usermode through devd(8).
More information about the freebsd-current