https://bugzilla.kernel.org/show_bug.cgi?id=218829

--- Comment #4 from CUI Hao (cuihao....@gmail.com) ---
I did a quick and dirty modification on acpica code to bypass the error and get
dsdt.dat decompiled. Hopefully it doesn't distort things significantly.

```
diff --git a/source/components/dispatcher/dswload.c
b/source/components/dispatcher/dswload.c
index ed97abb13..b2af9b40c 100644
--- a/source/components/dispatcher/dswload.c
+++ b/source/components/dispatcher/dswload.c
@@ -465,7 +465,7 @@ AcpiDsLoad1BeginOp (
             {
                 /* The name already exists in this scope */

-                if (Node->Flags & ANOBJ_IS_EXTERNAL)
+                //if (Node->Flags & ANOBJ_IS_EXTERNAL)
                 {
                     /*
                      * Allow one create on an object or segment that was
```

Here is the _AEI method found in the dsdt.dsl (full file attached).

```
        Method (_AEI, 0, NotSerialized)  // _AEI: ACPI Event Interrupts
        {
            Name (BUFF, ResourceTemplate ()
            {
                GpioInt (Edge, ActiveLow, ExclusiveAndWake, PullNone, 0x0000,
                    "\\_SB.GPIO", 0x00, ResourceConsumer, ,
                    )
                    {   // Pin list
                        0x0003
                    }
            })
            Name (BUNP, ResourceTemplate ()
            {
                GpioInt (Edge, ActiveHigh, ExclusiveAndWake, PullDefault,
0x1388,
                    "\\_SB.GPIO", 0x00, ResourceConsumer, ,
                    )
                    {   // Pin list
                        0x0000
                    }
                GpioInt (Level, ActiveHigh, ExclusiveAndWake, PullNone, 0x0000,
                    "\\_SB.GPIO", 0x00, ResourceConsumer, ,
                    )
                    {   // Pin list
                        0x003D
                    }
                GpioInt (Level, ActiveHigh, ExclusiveAndWake, PullNone, 0x0000,
                    "\\_SB.GPIO", 0x00, ResourceConsumer, ,
                    )
                    {   // Pin list
                        0x003E
                    }
                GpioInt (Level, ActiveHigh, ExclusiveAndWake, PullNone, 0x0000,
                    "\\_SB.GPIO", 0x00, ResourceConsumer, ,
                    )
                    {   // Pin list
                        0x003A
                    }
                GpioInt (Level, ActiveHigh, ExclusiveAndWake, PullNone, 0x0000,
                    "\\_SB.GPIO", 0x00, ResourceConsumer, ,
                    )
                    {   // Pin list
                        0x003B
                    }
                GpioInt (Edge, ActiveLow, ExclusiveAndWake, PullNone, 0x0000,
                    "\\_SB.GPIO", 0x00, ResourceConsumer, ,
                    )
                    {   // Pin list
                        0x0002
                    }
                GpioInt (Edge, ActiveLow, ExclusiveAndWake, PullNone, 0x0000,
                    "\\_SB.GPIO", 0x00, ResourceConsumer, ,
                    )
                    {   // Pin list
                        0x0003
                    }
                GpioInt (Edge, ActiveLow, ExclusiveAndWake, PullNone, 0x0000,
                    "\\_SB.GPIO", 0x00, ResourceConsumer, ,
                    )
                    {   // Pin list
                        0x0009
                    }
            })
            If ((G001 == One))
            {
                M460 ("  OEM-ASL-\\_SB.GPIO._AEI return BUNP (MS)\n", Zero,
Zero, Zero, Zero, Zero, Zero)
                Return (BUNP) /* \_SB_.GPIO._AEI.BUNP */
            }
            Else
            {
                M460 ("  OEM-ASL-\\_SB.GPIO._AEI return BUFF (S3)\n", Zero,
Zero, Zero, Zero, Zero, Zero)
                Return (BUFF) /* \_SB_.GPIO._AEI.BUFF */
            }
        }
```

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to