From owner-acpi-jp@jp.freebsd.org  Tue Oct 30 13:54:19 2001
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id NAA71809;
	Tue, 30 Oct 2001 13:54:19 +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 NAA71802
	for <acpi-jp@jp.freebsd.org>; Tue, 30 Oct 2001 13:54:18 +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 f9U4sCW41127;
	Tue, 30 Oct 2001 13:54:12 +0900 (JST)
	(envelope-from iwasaki@jp.FreeBSD.org)
Date: Tue, 30 Oct 2001 13:54:06 +0900 (JST)
Message-Id: <20011030.135406.74756709.iwasaki@jp.FreeBSD.org>
To: acpi-jp@jp.freebsd.org, andrea@webcom.it
From: Mitsuru IWASAKI <iwasaki@jp.freebsd.org>
In-Reply-To: <20011029231831.A64584@webcom.it>
References: <20011029193759.B61888@webcom.it>
	<20011030.041216.71091836.iwasaki@jp.FreeBSD.org>
	<20011029231831.A64584@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 1407
Subject: [acpi-jp 1407] 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

> What I meant is, do you think it's possible that we get 2 events going from
> NONE->AC0 without a transition from AC0->NONE in between? That would explain
> what we're seeing. This might be a bug in my BIOS; after all, thermal is the

Could you try attached patch and see when does zone resetting occur?
And please send me output of `sysctl hw.acpi' and ASL/DSDT.

> only thing which is working fine on my Thinkpad right now (no suspend, heck
> even unplugging causes instant freeze), so yours is good work no matter what ;-)

My Thinkpad i1620 also won't sleep (almost freezes).  I'll investigate
this when I get enough time.

Thanks

Index: acpi_thermal.c
===================================================================
RCS file: /home/ncvs/src/sys/dev/acpica/acpi_thermal.c,v
retrieving revision 1.17
diff -u -r1.17 acpi_thermal.c
--- acpi_thermal.c	29 Oct 2001 18:09:43 -0000	1.17
+++ acpi_thermal.c	30 Oct 2001 04:21:37 -0000
@@ -333,6 +333,8 @@
      */
     acpi_tz_all_off(sc);
 
+    TZ_DPRINT(sc->tz_dev, "entire thermal zone was reset.\n");
+
     return_VALUE(0);
 }
 

