From owner-acpi-jp@jp.FreeBSD.org Thu Oct 24 01:55:10 2002
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) id g9NGtA160650;
	Thu, 24 Oct 2002 01:55:10 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from momus.sc.intel.com (momus.sc.intel.com [143.183.152.8])
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) with ESMTP/inet id g9NGt4360640
	for <acpi-jp@jp.FreeBSD.org>; Thu, 24 Oct 2002 01:55:04 +0900 (JST)
	(envelope-from robert.moore@intel.com)
Received: from fmsmsxvs042.fm.intel.com (fmsmsxvs042.fm.intel.com [132.233.42.128])
	by momus.sc.intel.com (8.11.6/8.11.6/d: solo.mc,v 1.48 2002/10/16 23:47:34 dmccart Exp $) with SMTP id g9NGsRm25881
	for <acpi-jp@jp.FreeBSD.org>; Wed, 23 Oct 2002 16:54:48 GMT
Received: from fmsmsx29.FM.INTEL.COM ([132.233.42.29])
 by fmsmsxvs042.fm.intel.com (NAVGW 2.5.2.11) with SMTP id M2002102309542927958
 ; Wed, 23 Oct 2002 09:54:29 -0700
Received: by fmsmsx29.fm.intel.com with Internet Mail Service (5.5.2653.19)
	id <VB8G1S60>; Wed, 23 Oct 2002 09:54:27 -0700
Message-ID: <B9ECACBD6885D5119ADC00508B68C1EA0D19B88A@orsmsx107.jf.intel.com>
From: "Moore, Robert" <robert.moore@intel.com>
To: "'acpi-jp@jp.FreeBSD.org'" <acpi-jp@jp.FreeBSD.org>,
   Juli Mallett
	 <jmallett@freebsd.org>
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain
Reply-To: acpi-jp@jp.FreeBSD.org
Precedence: list
Date: Wed, 23 Oct 2002 09:54:26 -0700
X-Sequence: acpi-jp 1900
Subject: [acpi-jp 1900] RE: Toshiba Satellite with strange ACPI
Errors-To: owner-acpi-jp@jp.FreeBSD.org
Sender: owner-acpi-jp@jp.FreeBSD.org
X-Originator: robert.moore@intel.com
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+021018


It may be the case that this machine has a GPE1 block but no GPE0 block.
The ACPI CA event code was not handling this case correctly.

Bob


-----Original Message-----
From: John Baldwin [mailto:jhb@freebsd.org] 
Sent: Wednesday, September 25, 2002 1:26 PM
To: Juli Mallett
Cc: acpi-jp@jp.FreeBSD.org
Subject: [acpi-jp 1847] RE: Toshiba Satellite with strange ACPI


On 25-Sep-2002 Juli Mallett wrote:
> Hi,
> 
> I have a Toshiba Satellite that was recently given to me.  It's got a
> lot of strange hardware from Acer but the most annoying things are the
> failed ACPI support, and USB.  I've run my ACPI stuff by a few people
> on IRC, to not much of a result.  Here are the ACPI related lines of
> my FreeBSD 5.0-CURRENT<JPSNAP> dmesg(8), and my acpidump(8) output is
> attached.
> 
> %%%
> acpi0: <PTLTD    RSDT  > on motherboard
>     ACPI-0466: *** Error: GPE0 block overlaps the GPE1 block
> acpi0: could not enable ACPI: AE_BAD_VALUE
> device_probe_and_attach: acpi0 attach returned 6
> %%%

Intel folks: according to the acpidump it seems that she doesn't have
any GPE1 block at all.  Looking at evevent.c, it seems that when setting
up Gpe initialize the code doesn't check to see if GPE1LEN and GPE1BLK
are zero to see if it has a GPE1 block.  Looking at the logs, it looks
like it did check LEN and BLK at some point.  According to the text of
the specification quoted in the comment above the code it seems that
you should be checking to see if BLK and LEN in the FADT are zero for
each GPE block before doing anything else.

-- 

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