From owner-cvs-all@FreeBSD.ORG Mon Feb 2 10:03:58 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D802216A4CE; Mon, 2 Feb 2004 10:03:58 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B9AD43D4C; Mon, 2 Feb 2004 10:03:36 -0800 (PST) (envelope-from njl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i12I3Z0B016337; Mon, 2 Feb 2004 10:03:35 -0800 (PST) (envelope-from njl@repoman.freebsd.org) Received: (from njl@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i12I3ZJW016336; Mon, 2 Feb 2004 10:03:35 -0800 (PST) (envelope-from njl) Message-Id: <200402021803.i12I3ZJW016336@repoman.freebsd.org> From: Nate Lawson Date: Mon, 2 Feb 2004 10:03:35 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/acpica acpi_thermal.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2004 18:03:59 -0000 njl 2004/02/02 10:03:35 PST FreeBSD src repository Modified files: sys/dev/acpica acpi_thermal.c Log: If the temperature is at _HOT or _CRT for 3 sequential readings, shutdown the system. Also, decrease the poll interval to 10 seconds from 30 seconds. This is needed because some systems will report an invalid high temperature for one poll cycle. It is suspected this is due to the embedded controller timing out. A typical value is 138C for one cycle on a system that is otherwise 65C. This prevents the system from prematurely shutting down after one invalid reading. It will still shut down after 30 seconds of high temperature, which is the same as previous default behavior. Tested by: Scott Lambert Revision Changes Path 1.36 +22 -15 src/sys/dev/acpica/acpi_thermal.c