All of lore.kernel.org
 help / color / mirror / Atom feed
From: William Morgan <wmorgan-acpi-devel-xW3KcqxHEMnk1uMJSBkQmQ@public.gmane.org>
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: Re: acpi on new gateway laptops
Date: Thu, 20 Nov 2003 16:42:29 -0500	[thread overview]
Message-ID: <20031120214228.GD21802@masanjin.net> (raw)
In-Reply-To: <20031118151139.GA32464-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>

Excerpts (reformatted) from Ducrot Bruno's mail of 18 Nov 2003 (EST):
> Well, I forgot that ECDT support is somewhat still buggy.  Here is anyway
> a patch, but for 2.4.23-rc1.

Ducrot,

Thanks for the patch. I will try it presently.

In the mean time I've hacked up an ECDT and tried inserting it at boot time
by saying, in drivers/acpi/osl.c:

        *new_table = NULL;
        if (strncmp(existing_table->signature,"ECDT",4) != 0) {
                printk(KERN_INFO PREFIX "overriding ECDT definition\n");
                *new_table = (struct acpi_table_header *)ecdt_table;
        }

However, at boot time, I get the following in dmesg:

ACPI: overriding ECDT definition
   tbget-0292: *** Info: Table [ECDT] replaced by host OS
  tbrsdt-0227: *** Error: Invalid signature where RSDP indicates RSDT/XSDT should be located
RSDT/XSDT signature at 1F6E7D39 (1f6e7d39) is invalid

So obviously I'm doing something wrong.

The ECDT looks like this:

/*
 * ECDT table for Gateway laptops circa 2003
 * 
 * header:
 *   signature "ECDT"
 *   length: 86
 *   revision: 0x1
 *   checksum: 0x74
 *   oem_id: "mkecdt"
 *   oem_table_id: "ecdt0001"
 *   oem_revision: 0x1
 *   asl_compiler_id: "none"
 *   asl_compiler_revision: 0
 * ec_control:
 *   address_space_id: 0x1
 *   address_space_bit_width: 0x8
 *   register_bit_offset: 0
 *   reserved (should be 0): 0
 *   address: 0x66
 * ec_data:
 *   address_space_id: 0x1
 *   address_space_bit_width: 0x8
 *   register_bit_offset: 0
 *   reserved (should be 0): 0
 *   address: 0x62
 * uid: 0
 * gpe: 0x1c
 * ec_id: "\_SB_.PCI0.LPCB.H_EC"
 * compute checksum: passed
*/

unsigned char ecdt_table[]= {
	0x45, 0x43, 0x44, 0x54, 0x56, 0x00, 0x00, 0x00, 0x01, 0x74, 0x6d, 0x6b, 0x65, 0x63, 0x64, 0x74,
	0x65, 0x63, 0x64, 0x74, 0x30, 0x30, 0x30, 0x31, 0x01, 0x00, 0x00, 0x00, 0x6e, 0x6f, 0x6e, 0x65,
	0x00, 0x00, 0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x66, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
	0x01, 0x08, 0x00, 0x00, 0x62, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
	0x1c, 0x5c, 0x5f, 0x53, 0x42, 0x5f, 0x2e, 0x50, 0x43, 0x49, 0x30, 0x2e, 0x4c, 0x50, 0x43, 0x42,
	0x2e, 0x48, 0x5f, 0x45, 0x43, 0x00, 
};

So maybe I'll just try your patch.

-- 
William 


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/

  parent reply	other threads:[~2003-11-20 21:42 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031120214228.GD21802@masanjin.net \
    --to=wmorgan-acpi-devel-xw3kcqxhemnk1umjsbkqmq@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.