- Joined
- Feb 24, 2012
- Messages
- 117
- Motherboard
- EVGA Z68FTW
- CPU
- i7 2600K
- Graphics
- EVGA GTX 590 Classified
- Mac
- Classic Mac
- Mobile Phone
dsdt/HDEF is not correct.
See How to Add or Edit dsdt/HDEF v2, use MaciASL/Patch/Enable Audio ID: 1
I'm a bit lost. I had applied the Enable Audio ID: 1 patch from your repository using MaciASL to my DSDT. Followed your Guide "How to Add or Edit dsdt/HDEF v2" and verfied HDEF layout id is "01 00 00 00" in IORegistryExplorer. However it shows as HDEF@1B. Is that a problem? If so, how can I correct it.
Below is the code from my dsdt:
Code:
Device (HDEF)
{
Name (_ADR, 0x001B0000)
OperationRegion (HDAR, PCI_Config, 0x4C, 0x10)
Field (HDAR, WordAcc, NoLock, Preserve)
{
DCKA, 1,
Offset (0x01),
DCKM, 1,
, 6,
DCKS, 1,
Offset (0x08),
, 15,
PMES, 1
}
Method (_PRW, 0, NotSerialized)
{
Return (GPRW (0x0D, 0x04))
}
Method (_DSM, 4, NotSerialized)
{
If (LEqual (Arg2, Zero))
{
Return (Buffer (One)
{
0x03
})
}
Return (Package (0x06)
{
"layout-id",
Buffer (0x04)
{
0x01, 0x00, 0x00, 0x00
},
"PinConfigurations",
Buffer (Zero) {},
"hda-gfx",
Buffer (0x0A)
{
"onboard-1"
}
})
}
}
Except for the following code, all is as it should be:
Code:
OperationRegion (HDAR, PCI_Config, 0x4C, 0x10)
Field (HDAR, WordAcc, NoLock, Preserve)
{
DCKA, 1,
Offset (0x01),
DCKM, 1,
, 6,
DCKS, 1,
Offset (0x08),
, 15,
PMES, 1
}
Method (_PRW, 0, NotSerialized)
{
Return (GPRW (0x0D, 0x04))
}
How can I correct my dsdt? Is it safe to omit the above code to fit what your guide states the compiled code should look like?
Thanks in advance.