RE: Problem with Compaq Presario 27xx

From: Black, Richard <hidden>
Date: 2002-08-01 23:31:28

Oops, that makes more sense now.  Now I need to figure out what's broke.

Also, after running pacpidump I updated my download file with the corrected .asl output just in case anyone needs it.
http://www.cpqlinux.com/Pres2701_dsdt.tgz

Here are the differences I see from "faye".  Do these changes make sense in order to get the battery info to work?  There seem to be quite a few differences from my original to "faye's" original (diff not shown):

[root@p2701 try2.dir]# diff -Naurb acpi_dsdt-orig.asl acpi_dsdt-1.7.asl
--- acpi_dsdt-orig.asl  Thu Aug  1 18:20:53 2002
+++ acpi_dsdt-1.7.asl   Thu Aug  1 18:20:53 2002
@@ -1,36 +1,28 @@
 /*
-RSD PTR: Checksum=163, OEMID=PTLTD, RsdtAddress=0x1ff6d2af
- */
-/*
-RSDT: Length=44, Revision=1, Checksum=80,
-       OEMID=PTLTD, OEM Table ID=       RSDT, OEM Revision=0x6040000,
-       Creator ID= LTP, Creator Revision=0x0
- */
-/*
-       Entries={ 0x1ff73b64, 0x1ff73bd8 }
- */
-/*
-       DSDT=0x1ff6d2db
-       INT_MODEL=PIC
-       SCI_INT=9
-       SMI_CMD=0xb2, ACPI_ENABLE=0xf0, ACPI_DISABLE=0xf1, S4BIOS_REQ=0xf2
-       PM1a_EVT_BLK=0x1000-0x1003
-       PM1a_CNT_BLK=0x1004-0x1005
-       PM2_CNT_BLK=0x1020-0x1020
-       PM2_TMR_BLK=0x1008-0x100b
-       PM2_GPE0_BLK=0x1028-0x102b
-       PM2_GPE1_BLK=0x102c-0x102f, GPE1_BASE=16
-       P_LVL2_LAT=1ms, P_LVL3_LAT=1001ms
-       FLUSH_SIZE=0, FLUSH_STRIDE=0
-       DUTY_OFFSET=1, DUTY_WIDTH=0
-       DAY_ALRM=13, MON_ALRM=8, CENTURY=50
-       Flags={WBINVD,PROC_C1,SLP_BUTTON}
- */
-/*
-DSDT: Length=26761, Revision=1, Checksum=52,
-       OEMID=INTEL, OEM Table ID=ALMADOR, OEM Revision=0x6040000,
-       Creator ID=MSFT, Creator Revision=0x100000d
+ * $Header: /usr/local/cvs/compaq_2701ea_dsdt/acpi_dsdt.asl,v 1.7 2002/07/13 15
:55:49 faye Exp $
+ * $Log: acpi_dsdt.asl,v $
+ * Revision 1.7  2002/07/13 15:55:49  faye
+ * Cleaned up the headers
+ *
+ * Revision 1.6  2002/07/13 15:46:45  faye
+ * Forgot case-sensitivity.  Use Header and Log instead
+ *
+ * Revision 1.5  2002/07/13 15:31:55  faye
+ * earlier attempt to insert version didn't work
+ *
+ * Revision 1.4  2002/07/13 15:29:42  faye
+ * Added id comment
+ *
+ * Revision 1.3  2002/07/13 15:28:18  faye
+ * that's 8 BITS not 8 BYTES
+ *
+ * Revision 1.2  2002/07/11 19:12:55  faye
+ * First update. Fixes scope and region
+ *
+ * Revision 1.1  2002/07/11 19:07:48  root
+ * Initial revision
  */
+
 DefinitionBlock (
        "acpi_dsdt.aml",        //Output filename
        "DSDT",         //Signature
@@ -184,6 +176,7 @@
     Store(Zero, \_SB_.ACOK)
     Store(0x8d, \_SB_.BCMD)
     Store(Zero, \_SB_.SMIC)
+       Return(0x0)
 }
 Scope(_GPE) {
     Method(_L00) {
@@ -219,7 +212,7 @@
         Notify(\_SB_.PCI0.USB3, 0x2)
     }
 }
-Scope(_SB_) {
+Scope(\_SB_) {
     OperationRegion(SMI0, SystemIO, 0x0000fe00, 0x00000002)
     Field(SMI0, AnyAcc, NoLock, Preserve) {
         SMIC,  8
@@ -1525,7 +1518,7 @@
                     }
                 }
             }
-            Scope(_SB_) {
+            Scope(\_SB_) {
                 Name(OKEC, 0x0)
                 Name(ACOK, 0x1)
             }
@@ -2095,7 +2088,7 @@
                 Method(_PS3) {
                     Store(0x1, PMST)
                 }
-                OperationRegion(CCRD, PCI_Config, 0x0, 0xa7)
+                OperationRegion(CCRD, PCI_Config, 0x0, 0xa8)
                 Field(CCRD, DWordAcc, Lock, Preserve) {
                     Offset(0x3c),
                     CD3C,      32,
@@ -3518,8 +3511,3 @@
 }

 }
-/*
-BOOT: Length=40, Revision=1, Checksum=164,
-       OEMID=PTLTD, OEM Table ID=$SBFTBL$, OEM Revision=0x6040000,
-       Creator ID= LTP, Creator Revision=0x1
- */
[root@p2701 try2.dir]#


Sincerely,
Richard Black
http://www.cpqlinux.com
http://www.geocities.com/rlcomp_1999
http://www.compaq.com/linux


-----Original Message-----
From: Sourav K Mandal [mailto:smandal-DPNOqEs/LNQ@public.gmane.org]
Sent: Thursday, August 01, 2002 6:03 PM
To: Black, Richard (Hou)
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: [ACPI] Problem with Compaq Presario 27xx


What fix do I need so that I can proceed to repack my dsdt table?
Use:

http://people.freebsd.org/~takawata/pacpidump.tar.gz

cat dsdt.dat | pacpidump > dsdt.asl

Then proceed.  The output you see with acpidisasm is _not_
assembly code.


Sourav


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help