Contribute
Register

DSDT compilation error

Status
Not open for further replies.
Joined
Oct 6, 2011
Messages
1
Mac
  1. 0
Classic Mac
  1. 0
Mobile Phone
  1. 0
I'm following this tutorial on getting ALC269 working via DSDT (it works mostly with VoodooHDA, but all audio output skips/stutters), and it's throwing compilation errors. I am using DSDTSE if it matters.

It throws this error:

Code:
Intel ACPI Component Architecture
ASL Optimizing Compiler version 20091214 [Dec 16 2009]
Copyright (C) 2000 - 2009 Intel Corporation
Supports ACPI Specification Revision 4.0

/Users/reimu/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 10132:             Device (RP01)
Error    4096 -                               syntax error, unexpected PARSEOP_DEVICE, expecting '}' ^ 

/Users/reimu/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 12960: [*** iASL: Read error on source code temp file /Users/reimu/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.src ***]
Error    4096 -                                      syntax error, unexpected $end ^ 

ASL Input:  /Users/reimu/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl - 12961 lines, 393525 bytes, 4613 keywords
Compilation complete. 2 Errors, 0 Warnings, 0 Remarks, 0 Optimizations

Here is the section it is erroring on for the first error:

Code:
            Device (HDEF)
            {
                Name (_ADR, 0x001B0000)
                Method (_DSM, 4, NotSerialized)
                {
                   Store (Package ()
                      {
                          "codec-id",
                            Buffer (0x04)
                            {
                                0x0D, 0x01, 0xEC, 0x10      //ALC 269 10EC 010D?
                            },
                         
                          "layout-id",
                            Buffer (0x04)
                            {
                                0x0C, 0x00, 0x00, 0x00      //Layout ID 0x000C=Dec12
                            },
            
                          "device-type",
                            Buffer (0x06)
                            {
                                "ALC269"
                            },
                        
                          "PinConfigurations",
                            Buffer (0x01)
                            {
                               0x00
                            }
                         }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }
               
                Name (_PRW, Package (0x02)
                {
                    0x05,
                    0x04
                })
            }

The second error seems to be an unexpected-end-of-file error, and I assume is related and/or caused by the first one.


Thanks!
 

Attachments

  • dsdt.dsl
    384.3 KB · Views: 160
Moved to correct forum,
Snow Leopard Installation -> 10.6 Laptops.
 
Status
Not open for further replies.
Back
Top