Re: Lid support for ACPI

From: Pavel Machek (pavel@suse.cz)
Date: Wed Apr 25 2001 - 17:13:23 EST


Hi!

> We already have lid support in the latest ACPI versions (not in the official
> kernel yet.) You can download this code from
> http://developer.intel.com/technology/iapc/acpi/downloads.htm .
>
> It'd be great if you could focus your testing and patches on this code base
> -- I think it's a lot better but it's still a work in progress.

I was just browsing its sources:

+ if (tz->policy.temperature >=
+ tz->policy.critical.threshold->temperature) {
+ DEBUG_PRINT(ACPI_WARN, ("Critical threshold reached - shutting down system.\n"));
+ /* TODO: 'halt' */
+ }

Are you sure that kill(init, SIGTERM) is not right answer here?

                                                                Pavel
PS: This seems very strange. What if machine is so crashed so that it
can no longer shutdown properly. Will that mean that its CPU will
damage itself?

-- 
I'm pavel@ucw.cz. "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents at discuss@linmodems.org
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Apr 30 2001 - 21:00:17 EST