From: "A.MAINS" <armains-ZO4F0KnmCDHk1uMJSBkQmQ@public.gmane.org>
To: 'Christophe Boyanique'
<tof-I4ScXmxXXsAdnm+yROfE0A@public.gmane.org>,
acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: RE: ACPI Compaq Presario
Date: Mon, 29 Jul 2002 17:51:27 -0400 [thread overview]
Message-ID: <000301c2374a$19ce8e30$9865fea9@AMAINSLT> (raw)
In-Reply-To: <Pine.LNX.4.44.0207292308330.1067-100000-ebPZwV3Hi81W4s3OGYaEKcXXUOn6P5/W@public.gmane.org>
Thank You so much! I read intel's instructions on this and they made
minimal sense to me as I am not proficient in linux (yet not "newbie").
I will try your steps later and I thank you for taking the time to write
them out!
Andrew
-----Original Message-----
From: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
[mailto:acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of Christophe
Boyanique
Sent: Monday, July 29, 2002 5:36 PM
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: [ACPI] ACPI Compaq Presario
On Mon, 29 Jul 2002, A.MAINS wrote:
> I am running linux on a Compaq Presario 2700US Laptop with Kernel
> 2.4.18 with ACPI Patch 20020726 along with kacpid.patch (which I am
> not sure does anything for my system). This machine in very similar to
> the newer Evo Laptops as well as the Presario 1700 and 700 Line of
> notebooks in terms of the BIOS and hardware configurations.
Try to follow this steps:
- Get Intel tools from
http://www.intel.com/technology/iapc/acpi/downloads.htm
- Dump your dsdt table with the Intel ACPI tool
acpidump /proc/acpi/dsdt > dsdt.asl
- You should have obtained a .asl (ACPI Source Language) file. This file
is bugged and this is your problem. As first pass, check there are PnP
and others entries like:
Name(_HID, "*PNP0C0B") and suppress the *
- Get the Intel ACPI compiler and compile your table while ignoring
errors:
iasl -tc -i dsdt.asl
You should get a dsdt.hex file.
- Get your kernel sources and copy this file into drivers/acpi
drivers/acpi/osl.c and modify the file osl.c file with this patch:
diff -urP drivers/acpi/osl.c /usr/src/linux/drivers/acpi/osl.c
--- drivers/acpi/osl.c Mon Jul 29 23:30:42 2002
+++ /usr/src/linux/drivers/acpi/osl.c Sat Jul 27 18:32:34 2002
@@ -71,6 +71,9 @@
static void *acpi_irq_context = NULL;
+#include "dsdt.hex"
+acpi_table_header *myDST = (acpi_table_header *) AmlCode;
+
acpi_status
acpi_os_initialize(void)
{
@@ -221,7 +224,10 @@
if (!existing_table || !new_table)
return AE_BAD_PARAMETER;
- *new_table = NULL;
+ if (!strncmp(existing_table->signature, DSDT_SIG, 4))
+ *new_table = myDST;
+ else
+ *new_table = NULL;
return AE_OK;
}
- Compile your kernel, install, reboot and cross your fingers.
I tested this on an Evo and I got battery status I haven't had before.
There is a lots of others errors in the dsdt table, this is only a
beginning thanks to David Douard.
Christophe.
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
_______________________________________________
Acpi-devel mailing list
Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/acpi-devel
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
next prev parent reply other threads:[~2002-07-29 21:51 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-29 20:57 ACPI Compaq Presario A.MAINS
[not found] ` <000001c23742$9e9ec650$9865fea9-9tCyY70DaME@public.gmane.org>
2002-07-29 21:21 ` Sourav K Mandal
[not found] ` <200207292121.RAA17223-YqEmrenMroz22lVXsKccr97O1rVE3XUg@public.gmane.org>
2002-07-29 21:54 ` Charl P. Botha
2002-07-29 21:36 ` Christophe Boyanique
[not found] ` <Pine.LNX.4.44.0207292308330.1067-100000-ebPZwV3Hi81W4s3OGYaEKcXXUOn6P5/W@public.gmane.org>
2002-07-29 21:51 ` A.MAINS [this message]
2002-08-02 5:24 ` Compaq Presario and Overriding Bios's DSDT Sérgio Monteiro Basto
2002-08-02 5:40 ` Sérgio Monteiro Basto
-- strict thread matches above, loose matches on Subject: below --
2002-07-30 0:23 ACPI Compaq Presario Troy Schultz
[not found] ` <1027988630.1812.9.camel-QUVSR2uV0NY@public.gmane.org>
2002-07-30 11:08 ` Faye Pearson
[not found] ` <20020730110827.GB8277-6JSjyQ0Qj1ReoWH0uzbU5w@public.gmane.org>
2002-07-30 14:43 ` A.MAINS
2002-07-30 18:42 ` A.MAINS
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='000301c2374a$19ce8e30$9865fea9@AMAINSLT' \
--to=armains-zo4f0knmcdhk1umjsbkqmq@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=tof-I4ScXmxXXsAdnm+yROfE0A@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox