USB fix is detailed in my E6440 thread; just apply the DSDT patch as detailed, i.e. add the code below to devices EHC1, EHC2 and XHC:
Method (_DSM, 4, Serialized)
{
If (LEqual (Arg2, Zero))
{
Return (Buffer (One)
{
0x03
})
}
Return (Package (0x0E)
{
"AAPL,clock-id",
Buffer (One)
{
0x01
},
"built-in",
Buffer (One)
{
0x00
},
"AAPL,current-available",
0x0834,
"AAPL,current-extra",
0x0898,
"AAPL,current-extra-in-sleep",
0x0640,
"AAPL,device-internal",
0x02,
"AAPL,max-port-current-in-sleep",
0x0834
})
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
}
To get sleep to work on lid closure, apply Rehabman's DSDT lid fixes (Lid_PWR + LidPoll). No need for the ACPIPoller kext under Yosemite, only under Mavericks.
Rehabman_Lid_fixes.zip