public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* acpi on new gateway laptops
@ 2003-11-12 23:23 William Morgan
       [not found] ` <20031112232315.GD430-xW3KcqxHEMnk1uMJSBkQmQ@public.gmane.org>
  0 siblings, 1 reply; 16+ messages in thread
From: William Morgan @ 2003-11-12 23:23 UTC (permalink / raw)
  To: Casey Harkins; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

It looks like the Gateway support site contains nothing about the 200X
or 200XL models. Great. Do they support ACPI 1.0 or 2.0 or what? No
idea... I'm assuming ACPI 1.0.

I started looking at the ACPI spec. It contains two pages specifically
about the ECDT, pp128--129.

I don't quite understand the text of the first page:

  "This optional table provides the processor-relative, translated
  resources of an Embedded Controller. The presence of this table allows
  OSPM to provide Embedded Controller operation region space access
  before the namespace has been evaluated. If this table is not
  provided, the Embedded Controller region space will not be available
  until the Embedded Controller device in the AML namespace has been
  discovered and enumerated. The availability of the region space can be
  detected by providing a _REG method object underneath the Embedded
  Controller device."

(that's the entirety of it.)

It seems like having an ECDT is an optional feature? If that's so, then
what's the problem? Why isn't Linux simply "discovering and enumerating"
the "Embedded Controller device in the AML namespace"?

(BTW, it looks like ECDT actually stands for "Embedded Controller Boot
 Resources Table". Hm.)

The next page describes the contents of the table. Basically it involves
a bunch of deep hardware information, like "The bit assignment of the
SCI interrupt within the GPEx_STS register of a GPE block described in
the FADT that the embedded controller triggers."

It goes on to state that "ACPI 1.0 OSPM implementation will not
recognize or make use of the ECDT".

Shaohua Li said something that I didn't quite get either, in his first
response:

> The reason is BIOS of Gateway 400VTX lacks ECDT table.  And before
> initialize EC device, DSDT use ec space region when execute some ASL
> init methods. This will cause that battery can't be initializing.

So, what I *think* is happening, based on that, and on pp.203--204, is:

There's an Embedded Controller region (In the BIOS? In the DSDT?). One
cannot access a region until registering it, by calling
_REG(RegionSpace, 1). There's an exception to this, however, when using
an ECDT, which describes "controllers" (?) to access the Embedded
Controller region. If you have an ECDT you can then access this region
before registering it. So I think that's what the DSDT is doing, but
without providing an ECDT?

Re-examining the dmesg output, I *think* this makes sense.

So. This implies that rather than provide an ECDT, we can alternately
try and fix the DSDT. Since it's buggy anyways, that might conserve some
effort, and has the nice advantage of not forcing an upgrade to ACPI 2.0.
(Assuming I am ACPI 1.0 like you.)

I may send some of this to acpi-devel, if only to harass them.

-- 
William <wmorgan-xW3KcqxHEMnk1uMJSBkQmQ@public.gmane.org>


-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2003-12-12 18:01 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-12 23:23 acpi on new gateway laptops William Morgan
     [not found] ` <20031112232315.GD430-xW3KcqxHEMnk1uMJSBkQmQ@public.gmane.org>
2003-11-12 23:33   ` William Morgan
     [not found]     ` <20031112233328.GE430-xW3KcqxHEMnk1uMJSBkQmQ@public.gmane.org>
2003-11-13  0:10       ` Ducrot Bruno
     [not found]         ` <20031113001013.GE32464-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2003-11-13 17:03           ` William Morgan
     [not found]             ` <20031113170333.GA2336-xW3KcqxHEMnk1uMJSBkQmQ@public.gmane.org>
2003-11-18 15:11               ` Ducrot Bruno
     [not found]                 ` <20031118151139.GA32464-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2003-11-20 21:42                   ` William Morgan
2003-11-17 18:25   ` Nate Lawson
     [not found]     ` <20031117183900.GA32570@masanjin.net>
     [not found]       ` <20031117183900.GA32570-xW3KcqxHEMnk1uMJSBkQmQ@public.gmane.org>
2003-11-17 18:54         ` Nate Lawson
     [not found]           ` <20031117104936.N60907-Y6VGUYTwhu0@public.gmane.org>
2003-11-17 19:37             ` William Morgan
     [not found]               ` <20031117193719.GB32570-xW3KcqxHEMnk1uMJSBkQmQ@public.gmane.org>
2003-11-17 20:07                 ` Nate Lawson
     [not found]                   ` <20031117120555.E61216-Y6VGUYTwhu0@public.gmane.org>
2003-11-18 10:35                     ` Ducrot Bruno
     [not found]                       ` <20031118103549.GZ32464-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2003-11-20 21:36                         ` William Morgan
2003-12-08 23:19             ` Casey Harkins
     [not found]               ` <Pine.LNX.4.44.0312081716110.5824-100000-j0XSImJ06nG869pVMd/zofZ8FUJU4vz8@public.gmane.org>
2003-12-09  1:56                 ` Casey Harkins
     [not found]                   ` <Pine.LNX.4.44.0312081938000.6722-100000-j0XSImJ06nG869pVMd/zofZ8FUJU4vz8@public.gmane.org>
2003-12-12 17:11                     ` Casey Harkins
     [not found]                       ` <Pine.LNX.4.44.0312121109510.32380-100000-j0XSImJ06nG869pVMd/zofZ8FUJU4vz8@public.gmane.org>
2003-12-12 18:01                         ` Sérgio Monteiro Basto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox