View Single Post
 
Old 09-19-2009, 08:44 PM
Jedric Jedric is offline
Puma
 
Join Date: Aug 2009
Posts: 17
Compile Error.

Need some help. EHCI is now working. I followed the guide to replace dsdt code for UHCI suddenly im getting this error on compile. I did this over and over and I always get the same error. I put the old code back and compiles ok. There was no reference on the original code that I replaced to this lines so I'm stummped.

Mac-Pro:Tools admin$ ./iasl dsdt.dsl

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20080926 [Oct 4 2008]
Copyright (C) 2000 - 2008 Intel Corporation
Supports ACPI Specification Revision 3.0a

dsdt.dsl 9195: If (SS1)
Error 4095 - ^ syntax error, unexpected PARSEOP_IF

dsdt.dsl 9239: \_SB.PCI0.SBRG.SIOS (Arg0)
Error 4063 - Object does not exist ^ (\_SB.PCI0.SBRG.SIOS)

dsdt.dsl 9240: \_SB.PCI0.SBRG.SPTS (Arg0)
Error 4063 - Object does not exist ^ (\_SB.PCI0.SBRG.SPTS)

dsdt.dsl 9241: \_SB.PCI0.NPTS (Arg0)
Error 4063 - Object does not exist ^ (\_SB.PCI0.NPTS)

dsdt.dsl 9242: \_SB.PCI0.GFX0.OPTS (Arg0)
Error 4063 - Object does not exist ^ (\_SB.PCI0.GFX0.OPTS)

dsdt.dsl 9248: \_SB.PCI0.SBRG.SIOW (Arg0)
Error 4063 - Object does not exist ^ (\_SB.PCI0.SBRG.SIOW)

dsdt.dsl 9249: \_SB.PCI0.SBRG.SWAK (Arg0)
Error 4063 - Object does not exist ^ (\_SB.PCI0.SBRG.SWAK)

dsdt.dsl 9250: \_SB.PCI0.NWAK (Arg0)
Error 4063 - ^ Object does not exist (\_SB.PCI0.NWAK)

dsdt.dsl 9251: \_SB.PCI0.GFX0.OWAK (Arg0)
Error 4063 - Object does not exist ^ (\_SB.PCI0.GFX0.OWAK)

ASL Input: dsdt.dsl - 9256 lines, 295803 bytes, 4252 keywords
Compilation complete. 9 Errors, 0 Warnings, 0 Remarks, 0 Optimizations


Original DSDT code that is being replaced.

Code:
Device (USB0)
            {
                Name (_ADR, 0x001D0000)
                OperationRegion (BAR0, PCI_Config, 0xC4, One)
                Field (BAR0, ByteAcc, NoLock, Preserve)
                {
                    USBW,   2, 
                            Offset (0x01)
                }

                Method (_S3D, 0, NotSerialized)
                {
                    If (LOr (LEqual (OSFL (), One), LEqual (OSFL (), 0x02)))
                    {
                        Return (0x02)
                    }
                    Else
                    {
                        Return (0x03)
                    }
                }

                Method (_PSW, 1, NotSerialized)
                {
                    If (Arg0)
                    {
                        Store (0x03, USBW)
                    }
                    Else
                    {
                        Store (Zero, USBW)
                    }
                }

                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x03, 0x04))
                }
            }

            Device (USB1)
            {
                Name (_ADR, 0x001D0001)
                OperationRegion (BAR0, PCI_Config, 0xC4, One)
                Field (BAR0, ByteAcc, NoLock, Preserve)
                {
                    USBW,   2, 
                            Offset (0x01)
                }

                Method (_S3D, 0, NotSerialized)
                {
                    If (LOr (LEqual (OSFL (), One), LEqual (OSFL (), 0x02)))
                    {
                        Return (0x02)
                    }
                    Else
                    {
                        Return (0x03)
                    }
                }

                Method (_PSW, 1, NotSerialized)
                {
                    If (Arg0)
                    {
                        Store (0x03, USBW)
                    }
                    Else
                    {
                        Store (Zero, USBW)
                    }
                }

                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x04, 0x04))
                }
            }

            Device (USB2)
            {
                Name (_ADR, 0x001D0002)
                OperationRegion (BAR0, PCI_Config, 0xC4, One)
                Field (BAR0, ByteAcc, NoLock, Preserve)
                {
                    USBW,   2, 
                            Offset (0x01)
                }

                Method (_S3D, 0, NotSerialized)
                {
                    If (LOr (LEqual (OSFL (), One), LEqual (OSFL (), 0x02)))
                    {
                        Return (0x02)
                    }
                    Else
                    {
                        Return (0x03)
                    }
                }

                Method (_PSW, 1, NotSerialized)
                {
                    If (Arg0)
                    {
                        Store (0x03, USBW)
                    }
                    Else
                    {
                        Store (Zero, USBW)
                    }
                }

                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x0C, 0x04))
                }
            }

            Device (USB3)
            {
                Name (_ADR, 0x001D0003)
                OperationRegion (BAR0, PCI_Config, 0xC4, One)
                Field (BAR0, ByteAcc, NoLock, Preserve)
                {
                    USBW,   2, 
                            Offset (0x01)
                }

                Method (_S3D, 0, NotSerialized)
                {
                    If (LOr (LEqual (OSFL (), One), LEqual (OSFL (), 0x02)))
                    {
                        Return (0x02)
                    }
                    Else
                    {
                        Return (0x03)
                    }
                }

                Method (_PSW, 1, NotSerialized)
                {
                    If (Arg0)
                    {
                        Store (0x03, USBW)
                    }
                    Else
                    {
                        Store (Zero, USBW)
                    }
                }

                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x0E, 0x04))
                }
            }

            Device (USB4)
            {
                Name (_ADR, 0x001A0000)
                OperationRegion (BAR0, PCI_Config, 0xC4, One)
                Field (BAR0, ByteAcc, NoLock, Preserve)
                {
                    USBW,   2, 
                            Offset (0x01)
                }

                Method (_S3D, 0, NotSerialized)
                {
                    If (LOr (LEqual (OSFL (), One), LEqual (OSFL (), 0x02)))
                    {
                        Return (0x02)
                    }
                    Else
                    {
                        Return (0x03)
                    }
                }

                Method (_PSW, 1, NotSerialized)
                {
                    If (Arg0)
                    {
                        Store (0x03, USBW)
                    }
                    Else
                    {
                        Store (Zero, USBW)
                    }
                }

                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x0E, 0x04))
                }
            }

            Device (USB5)
            {
                Name (_ADR, 0x001A0001)
                OperationRegion (BAR0, PCI_Config, 0xC4, One)
                Field (BAR0, ByteAcc, NoLock, Preserve)
                {
                    USBW,   2, 
                            Offset (0x01)
                }

                Method (_S3D, 0, NotSerialized)
                {
                    If (LOr (LEqual (OSFL (), One), LEqual (OSFL (), 0x02)))
                    {
                        Return (0x02)
                    }
                    Else
                    {
                        Return (0x03)
                    }
                }

                Method (_PSW, 1, NotSerialized)
                {
                    If (Arg0)
                    {
                        Store (0x03, USBW)
                    }
                    Else
                    {
                        Store (Zero, USBW)
                    }
                }

                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x05, 0x04))
                }
            }

            Device (USB6)
            {
                Name (_ADR, 0x001A0002)
                OperationRegion (BAR0, PCI_Config, 0xC4, One)
                Field (BAR0, ByteAcc, NoLock, Preserve)
                {
                    USBW,   2, 
                            Offset (0x01)
                }

                Method (_S3D, 0, NotSerialized)
                {
                    If (LOr (LEqual (OSFL (), One), LEqual (OSFL (), 0x02)))
                    {
                        Return (0x02)
                    }
                    Else
                    {
                        Return (0x03)
                    }
                }

                Method (_PSW, 1, NotSerialized)
                {
                    If (Arg0)
                    {
                        Store (0x03, USBW)
                    }
                    Else
                    {
                        Store (Zero, USBW)
                    }
                }

                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x20, 0x04))
                }
            }
        }

Motherboard: Asus P5E-VM DO AMT configured (can be powered on/off remotely) Processor: Intel Quad Core Q6600 @ 2.4GHz GO stepping. Memory: 4GB OCZ - OCZ2P10004GK 1000 MHz; Graphics/Video: Dual Head XFX NVIDIA 7900 GTX 512mb flashed to QUADRO FX 5500(Thanks to Aquamac); Display: Dual Dell 2007WFP & New Dell 2707WFP Main Monitor; Harddrive: (1.) 500GB WDC5000AAKS - (2.)500 GB Seagate ST3500630AS SATA; Optical Drive: DVD DHQ6A1L : Network: Built-in Intel 82566MM running on 32/64.

Last edited by Jedric; 09-20-2009 at 03:05 AM.
Reply With Quote