From owner-acpi-jp@jp.FreeBSD.org Thu Jul 31 02:29:47 2003
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) id h6UHTlU47420;
	Thu, 31 Jul 2003 02:29:47 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from rootlabs.com (root.org [67.118.192.226])
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) with SMTP/inet id h6UHTjT47415
	for <acpi-jp@jp.freebsd.org>; Thu, 31 Jul 2003 02:29:45 +0900 (JST)
	(envelope-from nate@rootlabs.com)
Received: (qmail 57680 invoked by uid 1000); 30 Jul 2003 17:29:40 -0000
From: Nate Lawson <nate@root.org>
To: David Hill <david@wmol.com>
cc: acpi-jp@jp.FreeBSD.org
In-Reply-To: <20030725144318.33126e08.david@wmol.com>
Message-ID: <20030730102625.X57648@root.org>
References: <20030725144318.33126e08.david@wmol.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Reply-To: acpi-jp@jp.FreeBSD.org
Precedence: list
Date: Wed, 30 Jul 2003 10:29:40 -0700
X-Sequence: acpi-jp 2538
Subject: [acpi-jp 2538] Re: acpi verbose
Sender: owner-acpi-jp@jp.FreeBSD.org
X-Originator: nate@root.org
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+030702

On Fri, 25 Jul 2003, David Hill wrote:
> I have a Dell Inspiron 2650.  I get AE_HARDWARE_NO_RESPONSE errors.  Here is my dmesg with hw.acpi.verbose=1 as you requested.

I don't see the errors in the dmesg below.

> acpi_ec0: <embedded controller: GPE 0x1c> port 0x66,0x62 on acpi0
> acpi_ec0: info: new max delay is 21 us
> acpi_ec0: info: new max delay is 50 us
> acpi_ec0: info: new max delay is 130 us
> acpi_ec0: info: new max delay is 200 us
> acpi_ec0: info: new max delay is 300 us
> acpi_ec0: info: new max delay is 1000 us
> acpi_ec0: info: new max delay is 21000 us

This indicates once in a while you get a long delay (21 ms).  But I don't
see the errors which would come if it exceeded 50 ms.  Please send the
dmesg including errors.

Today I committed a tunable, hw.acpi.ec.poll_timeout that you can set in
loader.conf.  The default is 50 (ms) but try larger values if you see
AE_NO_HARDWARE_RESPONSE errors and see what works for you.  Also try
smaller values like 10.

-Nate
