From owner-acpi-jp@jp.freebsd.org  Sat Oct 27 03:42:29 2001
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id DAA83221;
	Sat, 27 Oct 2001 03:42:29 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from mass.dis.org (mass.dis.org [216.240.45.41])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id DAA83214
	for <acpi-jp@jp.freebsd.org>; Sat, 27 Oct 2001 03:42:28 +0900 (JST)
	(envelope-from msmith@mass.dis.org)
Received: from mass.dis.org (localhost [127.0.0.1])
	by mass.dis.org (8.11.6/8.11.3) with ESMTP id f9QIt5v02254
	for <acpi-jp@jp.freebsd.org>; Fri, 26 Oct 2001 11:55:06 -0700 (PDT)
	(envelope-from msmith@mass.dis.org)
Message-Id: <200110261855.f9QIt5v02254@mass.dis.org>
X-Mailer: exmh version 2.1.1 10/15/1999
To: acpi-jp@jp.freebsd.org
In-reply-to: Your message of "Sat, 27 Oct 2001 03:31:54 +0900."
             <20011027.033154.59470171.iwasaki@jp.FreeBSD.org> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Fri, 26 Oct 2001 11:55:05 -0700
From: Mike Smith <msmith@freebsd.org>
Reply-To: acpi-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+010328
X-Sequence: acpi-jp 1380
Subject: [acpi-jp 1380] 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: msmith@freebsd.org

> So I made small patches to delay switching cooler off and verbose mode
> flag which is controlled by sysctl.

I like the idea, and the verbose patch is good.

However, the delayed switching has some problems.

I think it would be better to simply save time_second in the softc 
(remember that there can be more than one thermal zone) and refuse to 
switch to "none" when the difference between the saved time_second and 
the current value is smaller than the preset delay.

This gives a guaranteed minimum run time, without affecting the cooling 
system's ability to react quickly to increases in temperature, or 
preventing a more advanced cooling system from cycling within several _AC 
levels.

Thanks for taking the time to look at this!

Regards,
Mike


-- 
... every activity meets with opposition, everyone who acts has his
rivals and unfortunately opponents also.  But not because people want
to be opponents, rather because the tasks and relationships force
people to take different points of view.  [Dr. Fritz Todt]
           V I C T O R Y   N O T   V E N G E A N C E


