Add complete guide and all config variants
This commit is contained in:
28
hackintosh-guide/docs/AcpiSamples/Source/SSDT-IMEI.dsl
Executable file
28
hackintosh-guide/docs/AcpiSamples/Source/SSDT-IMEI.dsl
Executable file
@@ -0,0 +1,28 @@
|
||||
/*
|
||||
* Only necessary when no IMEI device (with any name) is present in the DSDT and a custom device-id
|
||||
* is needed to be set via DeviceProperties (some Sandy Bridge or Ivy Bridge configurations).
|
||||
*/
|
||||
DefinitionBlock ("", "SSDT", 2, "ACDT", "IMEI", 0x00000000)
|
||||
{
|
||||
External (_SB_.PCI0, DeviceObj)
|
||||
|
||||
Scope (_SB.PCI0)
|
||||
{
|
||||
Device (IMEI)
|
||||
{
|
||||
Name (_ADR, 0x00160000) // _ADR: Address
|
||||
Method (_STA, 0, NotSerialized) // _STA: Status
|
||||
{
|
||||
If (_OSI ("Darwin"))
|
||||
{
|
||||
Return (0x0F)
|
||||
}
|
||||
Else
|
||||
{
|
||||
Return (Zero)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user