Olá a todos (de Portugal)!
Estou a tentar por o shutdown a funcionar (e mais tarde o sleep, que também não funciona) no meu hackintosh HP Elitebook 8540p. O Shutdown no meu Lion demora uns 15 segundos ou mais e mostra esta mensagem na consola:
"PowerOff still waiting on AppleUSBEHCI"
Cá vai o meu DSDT (devices EHC1 e EHC2):
Device (EHC1)
{
Name (_ADR, 0x001D0000)
OperationRegion (EHCX, PCI_Config, 0x54, 0x10)
Field (EHCX, AnyAcc, NoLock, Preserve)
{
, 15,
PMES, 1,
Offset (0x0E),
PIMP, 1,
PMSK, 8
}
Method (_REG, 2, NotSerialized)
{
If (LAnd (LEqual (Arg0, 0x02), LEqual (Arg1, 0x01)))
{
Store (0x01, PMSK)
Store (0x01, PIMP)
}
}
Device (RHUB)
{
Name (_ADR, 0x00)
Device (PRT0)
{
Name (_ADR, 0x01)
}
Device (PRT1)
{
Name (_ADR, 0x02)
}
}
Method (_PRW, 0, NotSerialized)
{
Return (UPRW (0x0D, 0x03))
}
Name (_S3D, 0x02)
Name (_S4D, 0x03)
Scope (RHUB.PRT0)
{
Method (_UPC, 0, Serialized)
{
Return (EUPC)
}
Method (_PLD, 0, Serialized)
{
Return (EPLD)
}
Device (HPT0)
{
Name (_ADR, 0x01)
}
Device (HPT1)
{
Name (_ADR, 0x02)
}
Device (HPT2)
{
Name (_ADR, 0x03)
}
Device (HPT3)
{
Name (_ADR, 0x04)
}
Device (HPT4)
{
Name (_ADR, 0x05)
Method (_EJD, 0, NotSerialized)
{
Return ("\\_SB.PCI0.RP02.ECF0")
}
}
Device (HPT5)
{
Name (_ADR, 0x06)
}
Device (HPT6)
{
Name (_ADR, 0x07)
}
Device (HPT7)
{
Name (_ADR, 0x08)
}
}
Method (_DSM, 4, NotSerialized)
{
Store (Package (0x0F)
{
"device-id",
Buffer (0x04)
{
0x34, 0x3B, 0x00, 0x00
},
"built-in",
Buffer (0x01)
{
0x00
},
"AAPL,clock-id",
Buffer (0x01)
{
0x01
},
"device_type",
Buffer (0x05)
{
"EHCI"
},
"AAPL,current-available",
0x04B0,
"AAPL,current-extra",
0x02BC,
"AAPL,current-in-sleep",
0x03E8,
Buffer (0x01)
{
0x00
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
}
Device (EHC2)
{
Name (_ADR, 0x001A0000)
OperationRegion (EHCX, PCI_Config, 0x54, 0x10)
Field (EHCX, AnyAcc, NoLock, Preserve)
{
, 15,
PMES, 1,
Offset (0x0E),
PIMP, 1,
PMSK, 8
}
Method (_REG, 2, NotSerialized)
{
If (LAnd (LEqual (Arg0, 0x02), LEqual (Arg1, 0x01)))
{
Store (0x01, PMSK)
Store (0x01, PIMP)
}
}
Device (RHUB)
{
Name (_ADR, 0x00)
Device (PRT0)
{
Name (_ADR, 0x01)
}
Device (PRT1)
{
Name (_ADR, 0x02)
}
}
Method (_PRW, 0, NotSerialized)
{
Return (UPRW (0x0D, 0x03))
}
Name (_S3D, 0x02)
Name (_S4D, 0x03)
Scope (RHUB.PRT0)
{
Method (_UPC, 0, Serialized)
{
Return (EUPC)
}
Method (_PLD, 0, Serialized)
{
Return (EPLD)
}
Device (HPT0)
{
Name (_ADR, 0x01)
Method (_UPC, 0, Serialized)
{
Return (EUPC)
}
Method (_PLD, 0, Serialized)
{
Return (EPLD)
}
}
Device (HPT1)
{
Name (_ADR, 0x02)
Method (_UPC, 0, Serialized)
{
Return (EUPC)
}
Method (_PLD, 0, Serialized)
{
Return (EPLD)
}
}
Device (HPT2)
{
Name (_ADR, 0x03)
Method (_UPC, 0, Serialized)
{
Return (EUPC)
}
Method (_PLD, 0, Serialized)
{
Return (EPLD)
}
}
Device (HPT3)
{
Name (_ADR, 0x04)
}
Device (HPT4)
{
Name (_ADR, 0x05)
Method (_UPC, 0, Serialized)
{
Return (EUPC)
}
Method (_PLD, 0, Serialized)
{
Return (EPLD)
}
}
Device (HPT5)
{
Name (_ADR, 0x06)
}
}
Method (_DSM, 4, NotSerialized)
{
Store (Package (0x0F)
{
"device-id",
Buffer (0x04)
{
0x34, 0x3B, 0x00, 0x00
},
"built-in",
Buffer (0x01)
{
0x00
},
"AAPL,clock-id",
Buffer (0x01)
{
0x02
},
"device_type",
Buffer (0x05)
{
"EHCI"
},
"AAPL,current-available",
0x04B0,
"AAPL,current-extra",
0x02BC,
"AAPL,current-in-sleep",
0x03E8,
Buffer (0x01)
{
0x00
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
}
Alguém sabe como resolver o problema?
Obrigado!