mirror of
https://github.com/tylernguyen/x1c6-hackintosh.git
synced 2025-02-05 09:33:13 -06:00
40 lines
No EOL
863 B
Text
Executable file
40 lines
No EOL
863 B
Text
Executable file
|
|
DefinitionBlock ("", "SSDT", 2, "APPLE ", "SsdtEC", 0x00001000)
|
|
{
|
|
External (_SB_.PCI0.LPCB, DeviceObj)
|
|
External (_SB_.PCI0.LPCB.EC0, DeviceObj)
|
|
|
|
Scope (\_SB.PCI0.LPCB.EC0)
|
|
{
|
|
Method (_STA, 0, NotSerialized) // _STA: Status
|
|
{
|
|
If (_OSI ("Darwin"))
|
|
{
|
|
Return (0)
|
|
}
|
|
Else
|
|
{
|
|
Return (0x0F)
|
|
}
|
|
}
|
|
}
|
|
|
|
Scope (\_SB.PCI0.LPCB)
|
|
{
|
|
Device (EC)
|
|
{
|
|
Name (_HID, "ACID0001") // _HID: Hardware ID
|
|
Method (_STA, 0, NotSerialized) // _STA: Status
|
|
{
|
|
If (_OSI ("Darwin"))
|
|
{
|
|
Return (0x0F)
|
|
}
|
|
Else
|
|
{
|
|
Return (Zero)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |