From owner-acpi-jp@jp.freebsd.org  Sat Oct 27 23:42:07 2001
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id XAA43774;
	Sat, 27 Oct 2001 23:42:07 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from tasogare.imasy.or.jp (root@tasogare.imasy.or.jp [202.227.24.5])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id XAA43769
	for <acpi-jp@jp.freebsd.org>; Sat, 27 Oct 2001 23:42:05 +0900 (JST)
	(envelope-from iwasaki@jp.FreeBSD.org)
Received: from localhost (iwasaki.imasy.or.jp [202.227.24.92])
	(authenticated as iwa with CRAM-MD5)
	by tasogare.imasy.or.jp (8.11.6+3.4W/8.11.6/tasogare) with ESMTP/inet id f9REfwm92207;
	Sat, 27 Oct 2001 23:41:58 +0900 (JST)
	(envelope-from iwasaki@jp.FreeBSD.org)
Date: Sat, 27 Oct 2001 23:41:52 +0900 (JST)
Message-Id: <20011027.234152.126569826.iwasaki@jp.FreeBSD.org>
To: acpi-jp@jp.freebsd.org, andrea@webcom.it
From: Mitsuru IWASAKI <iwasaki@jp.freebsd.org>
In-Reply-To: <20011027161624.A603@webcom.it>
References: <20011027.033154.59470171.iwasaki@jp.FreeBSD.org>
	<200110261855.f9QIt5v02254@mass.dis.org>
	<20011027161624.A603@webcom.it>
X-Mailer: Mew version 2.0 on Emacs 20.7 / Mule 4.0 (HANANOEN)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Reply-To: acpi-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+010328
X-Sequence: acpi-jp 1383
Subject: [acpi-jp 1383] Re: acpi_thermal: small improvement, delayed
 cooler off and verbose
Errors-To: owner-acpi-jp@jp.freebsd.org
Sender: owner-acpi-jp@jp.freebsd.org
X-Originator: iwasaki@jp.freebsd.org

Hi,

> I second that, i.e. the patch should be more generic. This is what
> happens on my Thinkpad 570E during a buildworld, for instance:
[snip]
> Oct 26 19:17:19 brian /boot/kernel/kernel: acpi_tz0: _AC0: temperature 69.8 >= setpoint 69.0
> Oct 26 19:17:19 brian /boot/kernel/kernel: acpi_tz0: switched from _AC-1 to _AC0
> Oct 26 19:17:48 brian /boot/kernel/kernel: acpi_tz0: switched from _AC0 to _AC-1
> Oct 26 19:18:27 brian /boot/kernel/kernel: acpi_tz0: _AC0: temperature 73.8 >= setpoint 69.0

Yes, my patchs [acpi-jp 1381] would helps reducing _AC-1 <-> _AC0
frequent switchings.  Please try
 # sysctl hw.acpi.thermal.verbose=1
 # sysctl hw.acpi.thermal.min_runtime=300
with the patches.  This configuration gives 300 sec as a guaranteed
minimum run time for _AC0.

> I never actually hit NONE, and the proposed patch doesn't consider _AC-1.

This is OK since _AC-1 is changed to NONE in the paches :)

Thanks
