From owner-acpi-jp@jp.freebsd.org  Sat Nov 17 22:16:35 2001
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id WAA69243;
	Sat, 17 Nov 2001 22:16:35 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from localhost (P061198168155.ppp.prin.ne.jp [61.198.168.155])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id WAA69235
	for <acpi-jp@jp.freebsd.org>; Sat, 17 Nov 2001 22:16:30 +0900 (JST)
	(envelope-from neckpain@nettaxi.com)
From: neckpain@nettaxi.com
Message-Id: <200111171316.WAA69235@castle.jp.freebsd.org>
Date: Sat, 17 Nov 2001 22:16:22 +0900
To: acpi-jp@jp.freebsd.org
References: <59885C5E3098D511AD690002A5072D3C42D6EA@orsmsx111.jf.intel.com>
 <20011112.221709.59461626.iwasaki@jp.FreeBSD.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20011112.221709.59461626.iwasaki@jp.FreeBSD.org>
User-Agent: Mutt/1.3.23i-ja0
X-Dispatcher: imput version 20000228(IM140)
Lines: 20
Reply-To: acpi-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+010328
X-Sequence: acpi-jp 1476
Subject: [acpi-jp 1476] Re: Fw: hwsleep.c, r1.1.1.9 killed resume from S1 state
Errors-To: owner-acpi-jp@jp.freebsd.org
Sender: owner-acpi-jp@jp.freebsd.org
X-Originator: neckpain@nettaxi.com

On Mon, Nov 12, 2001 at 10:17:09PM +0900, Mitsuru IWASAKI wrote:
> > I think the appropriate use of ACPI_EVENT_WAKE_ENABLE in calls to
> > AcpiEnableEvent() is the proper solution.

I'm still not sure which one he's talking about, but if this is the two
lines in /sys/dev/acpica/acpi_ec.c, I'm sure they never get called on
my VAIO, so it's no use changing the third argument to whatever.

> I've tried the patch and noticed that it has a side-effect on shutdown
> & power-off part.  My toshiba PORTEGE 3110CT power-up again soon after
> power-off with the patch...

The patch I posted? Yes, because that(the patch in my message) was not
a fix but only a workaround for wakeup GPE not enabled in anywhere.

By the way, I noticed that there's no GTS method defined in the list
obtained from acpidump, but hwsleep.c is using it without checking
the return code from AcpiEvaluateObject(). Is this expected?
And if someone is interrested, I can provide my AML and DSDT for PCG-C1XE,
if it's not there yet.
