From owner-acpi-jp@jp.FreeBSD.org Thu Oct 10 00:46:39 2002
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) id g99Fkdb18397;
	Thu, 10 Oct 2002 00:46:39 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from mail.speakeasy.net (mail15.speakeasy.net [216.254.0.215])
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) with ESMTP/inet id g99Fkd318389
	for <acpi-jp@jp.FreeBSD.org>; Thu, 10 Oct 2002 00:46:39 +0900 (JST)
	(envelope-from jhb@FreeBSD.org)
Received: (qmail 16517 invoked from network); 9 Oct 2002 15:46:36 -0000
Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63])
          (envelope-sender <jhb@FreeBSD.org>)
          by mail15.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP
          for <acpi-jp@jp.FreeBSD.org>; 9 Oct 2002 15:46:36 -0000
Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1])
	by server.baldwin.cx (8.12.6/8.12.6) with ESMTP id g99FkVn5011104;
	Wed, 9 Oct 2002 11:46:32 -0400 (EDT)
	(envelope-from jhb@FreeBSD.org)
Message-ID: <XFMail.20021009114633.jhb@FreeBSD.org>
X-Mailer: XFMail 1.5.2 on FreeBSD
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
In-Reply-To: <200210091526.g99FQY0f007590@bunrab.catwhisker.org>
From: John Baldwin <jhb@freebsd.org>
To: David Wolfskill <david@catwhisker.org>
Cc: acpi-jp@jp.FreeBSD.org
Reply-To: acpi-jp@jp.FreeBSD.org
Precedence: list
Date: Wed, 09 Oct 2002 11:46:33 -0400
X-Sequence: acpi-jp 1891
Subject: [acpi-jp 1891] RE: HEADSUP: acpica-unix-20021002 imported (R
Errors-To: owner-acpi-jp@jp.FreeBSD.org
Sender: owner-acpi-jp@jp.FreeBSD.org
X-Originator: jhb@FreeBSD.org
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+021008


On 09-Oct-2002 David Wolfskill wrote:
>>Date: Sat, 05 Oct 2002 05:21:53 +0900 (JST)
>>From: Mitsuru IWASAKI <iwasaki@jp.FreeBSD.org>
> 
>>I've imported Intel acpica-unix-20021002 which is the latest version.
>>It seems that some problems related with ACPI namespace parsing are
>>solved from 20020815.
> 
>>Detailed info. about changes is available at:
>>http://developer.intel.com/technology/iapc/acpi/downloads/CHANGES.txt
> 
>>If you have any problems with the new version, please report to
>>acpi-jp@jp.FreeBSD.org.
> 
> 
> I've been tracking FreeBSD -CURRENT on my laptop (which is now a Dell
> Inspiron 5000e; until recently, it was a similar machine, but I bought
> a "real" 5000e from someone via Ebay) daily.
> 
> As a result, I got the import of acpica-unix-20021002; it seems to work,
> but I just noticed that I'm seeing some messages:
> 
> 
> Oct  9 08:02:57 localhost kernel: acpi_ec0: EcRead: Failed waiting for EC to process read
> command.
> Oct  9 08:02:57 localhost kernel: ACPI-0432: *** Error: Handler for [EmbeddedControl] returned
> AE_ERROR

Try this:

--- acpi_ec.c   2 Jul 2002 03:38:07 -0000       1.26
+++ acpi_ec.c   29 Aug 2002 20:53:28 -0000
@@ -618,9 +618,7 @@
     ACPI_FUNCTION_TRACE_U32((char *)(uintptr_t)__func__, (UINT32)Event);
 
     /* XXX this should test whether interrupts are available some other way */
-#ifdef ACPI_EC_EVENT_DRIVEN
     if(cold)
-#endif
        return_ACPI_STATUS(EcWaitEvent(sc, Event));
 
     if (!EcIsLocked(sc))

Unfortunately you will still get some errors.  The ec0 on this device used to work
many months ago but hasn't in a while.

> I do have
> 
>       debug.acpi.avoid="_SB_.PCI0.PX40.SIO_"
> 
> in /boot/loader.conf (as suggested by someone else who also has a 5000e,
> and who has much more experience with FreeBSD than I).

You don't need that anymore. :)  The bug that triggered was fixed many months
ago.

> As noted, this does not appear to interfere with normal operation, though
> I am not certain of this.

I think it is temperature status change events that it is messing up on, but
I am not sure.

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/
