From owner-acpi-jp@jp.freebsd.org  Wed Sep  5 02:17:18 2001
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id CAA60895;
	Wed, 5 Sep 2001 02:17:18 +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 CAA60890
	for <acpi-jp@jp.freebsd.org>; Wed, 5 Sep 2001 02:17:16 +0900 (JST)
	(envelope-from iwasaki@jp.FreeBSD.org)
Received: from localhost (iwasaki.imasy.or.jp [202.227.24.92])
	by tasogare.imasy.or.jp (8.11.6+3.4W/8.11.6/tasogare) with ESMTP/inet id f84HHDm40393
	for <acpi-jp@jp.freebsd.org>; Wed, 5 Sep 2001 02:17:14 +0900 (JST)
	(envelope-from iwasaki@jp.FreeBSD.org)
Date: Wed, 05 Sep 2001 02:17:11 +0900 (JST)
Message-Id: <20010905.021711.41627064.iwasaki@jp.FreeBSD.org>
To: acpi-jp@jp.freebsd.org
From: Mitsuru IWASAKI <iwasaki@jp.freebsd.org>
In-Reply-To: <20010903054648.A4333%yakoh@sd.keio.ac.jp>
References: <20010902140430.A3776%yakoh@sd.keio.ac.jp>
	<20010902152834B.iwasaki@jp.FreeBSD.org>
	<20010903054648.A4333%yakoh@sd.keio.ac.jp>
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 1242
Subject: [acpi-jp 1242] Re: panic in EcWaitEventIntr?(Re: HEADS UP:
 ACPI CHANGES AFFECTING MOST -CURRENT USERS)
Errors-To: owner-acpi-jp@jp.freebsd.org
Sender: owner-acpi-jp@jp.freebsd.org
X-Originator: iwasaki@jp.freebsd.org

Hi,

>   Iwasaki-san
> 
> Thank you for your advice.  My MPC-206 can boot up. Cool!
> sysctl can report its thermal, acline and battery information.
> But ACPI module seems to be out of order about power state control.
> acpiconf -s 1 report "AcpiHwObtainSleepTypeRegisterData failed - AE_NOT_FOUND"

Yes, FIVA 206 has only _S[0345]_ object.  There is no _S1_ so you can't
acpiconf -s 1 (and 2).

BTW, it seems S3 sleep is supported but back-light of LCD never be
power off on my FIVA.  How about yours?

> -s 4b make hang without any message.

Yes, as far as I know, only Chandra2 support S4BIOS with the current
sleep/wakeup code.  However, I can imagine that adding S4BIOS support
code is not so hard.

Does anyone want to try it?  What we need to do is like this roughly;
 - set waking vector up
 - get S4BIOS_REQ value from FACP table
 - write the value to SMI_CMD port
# See also ACPI spec (sec. 7 and 9 if rev. 1.0b)

> -s 5 execute shutdown but it can't make power off.
> In addition to these accident, BIOS setting is initialized in many case.

Yes, I sometimes saw this before, but not recently.  It seems that
this can be happened when EC operation is unstable.  Especially
we got a lot of following messages on this machine (to get battery info.).

acpi_ec0: EcWaitEventIntr called without EC lock!
acpi_ec0: EcRead: Failed waiting for EC to send data.

> Are these actions the real functions of current ACPI module?
> Or, it is due to my incorrect setting?
> Or, ACPI support of my machine is quit buggy?

I'll bet my 100 yen to last one :)

Thanks
