From owner-acpi-jp@jp.freebsd.org  Thu Nov  8 22:39:41 2001
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id WAA67169;
	Thu, 8 Nov 2001 22:39:41 +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 WAA67162
	for <acpi-jp@jp.freebsd.org>; Thu, 8 Nov 2001 22:39:40 +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 fA8DdbW70259
	for <acpi-jp@jp.freebsd.org>; Thu, 8 Nov 2001 22:39:38 +0900 (JST)
	(envelope-from iwasaki@jp.FreeBSD.org)
Date: Thu, 08 Nov 2001 22:39:33 +0900 (JST)
Message-Id: <20011108.223933.41626225.iwasaki@jp.FreeBSD.org>
To: acpi-jp@jp.freebsd.org
From: Mitsuru IWASAKI <iwasaki@jp.freebsd.org>
In-Reply-To: <200111072209.fA7M9So03898@mass.dis.org>
References: <20011105.230144.41626631.iwasaki@jp.FreeBSD.org>
	<200111072209.fA7M9So03898@mass.dis.org>
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 1456
Subject: [acpi-jp 1456] Re: Libretto L2 
Errors-To: owner-acpi-jp@jp.freebsd.org
Sender: owner-acpi-jp@jp.freebsd.org
X-Originator: iwasaki@jp.freebsd.org

> > I've noticed that the previous patche is not enough for some machines.
> > i.e.Some BIOSes don't set WAK_STS bit, so it can be Infinite loop in
> > S1 sleep case.
> > In FreeBSD, we have this workaround, I think it would be useful for
> > Linux people too.
> 
> Would you like to commit this, perhaps?
> 
> I thought you added it a long time ago, but I don't see it in the logs.

Yes, we had this actually in sys/dev/acpica/acpi.c, not hwsleep.c.
last time hwsleep.c doesn't have WAK_BIT waiting, so I added the code after
AcpiEnterSleepState() calling.
I'll patch away this into hwsleep.c this weekend if no objection.

Thanks
