RehabMan
Moderator
- Joined
- May 2, 2012
- Messages
- 181,056
- Motherboard
- Intel DH67BL
- CPU
- i7-2600K
- Graphics
- HD 3000
- Mac
- Mobile Phone
I have installed ACPIDebug.kext and applied these two DSDT patches:
https://github.com/RehabMan/OS-X-ACPI-Debug/blob/master/debug.txt
https://github.com/RehabMan/OS-X-ACPI-Debug/blob/master/instrument_LID.txt
I'm a bit lost how to proceed now.
edit: console output
Code:standaard 21:15:12.007462 +0100 kernel ACPIDebug: "LID0._LID enter" standaard 21:15:12.007832 +0100 kernel ACPIDebug: { "LID0._LID returning", 0x1, } standaard 21:15:22.916193 +0100 kernel ACPIDebug: "LID0._LID enter" standaard 21:15:22.916584 +0100 kernel ACPIDebug: { "LID0._LID returning", 0x0, } 21:15:25 LID CLOSED standaard 21:15:26.509199 +0100 kernel ACPIBatteryManager: WARNING! fMaxCapacity > fDesignCapacity. adjusted fMaxCapacity from 5305, to 5230 21:15:41 SLEEP? USB DEAD standaard 21:15:41.760263 +0100 kernel ACPI SLEEP standaard 21:15:41.823940 +0100 kernel ACPI S3 WAKE standaard 21:15:41.828058 +0100 kernel ACPIBatteryManager: WARNING! fMaxCapacity > fDesignCapacity. adjusted fMaxCapacity from 5305, to 5230 standaard 21:15:41.835097 +0100 kernel ACPIDebug: "LID0._LID enter" standaard 21:15:41.835321 +0100 kernel ACPIDebug: { "LID0._LID returning", 0x1, } standaard 21:15:41.836120 +0100 kernel ACPIDebug: "LID0._LID enter" standaard 21:15:41.836345 +0100 kernel ACPIDebug: { "LID0._LID returning", 0x1, } standaard 21:15:41.840403 +0100 kernel Wake reason: power-button (User) standaard 21:15:41.840404 +0100 kernel Wake reason: power-button (User) 21:16:04 LID OPEN standaard 21:16:04.652289 +0100 kernel ACPIDebug: "LID0._LID enter" standaard 21:16:04.652610 +0100 kernel ACPIDebug: { "LID0._LID returning", 0x1, } standaard 21:16:04.654095 +0100 kernel ACPIDebug: "LID0._LID enter" standaard 21:16:04.654430 +0100 kernel ACPIDebug: { "LID0._LID returning", 0x1, } standaard 21:16:04.655631 +0100 kernel ACPIBatteryManager: WARNING! fMaxCapacity > fDesignCapacity. adjusted fMaxCapacity from 5305, to 5230 standaard 21:16:14.697661 +0100 kernel ACPIDebug: "LID0._LID enter" standaard 21:16:14.698014 +0100 kernel ACPIDebug: { "LID0._LID returning", 0x1, }
Shutdown does not work after this cycle, also a second cycle results in a black screen...
It looks like _LID is working (it is called and seems to return the expected value for current state of the lid based on ACPI spec). And it looks like closing the lid is triggering sleep.
Your USB/sleep problem could be caused by USB WiFi.
But also, your USB setup is not correct (wrong UsbConnector values).
Also, you might want to instrument the _WAK method (and things it calls) to see if it does anything different when wake is via lid vs. other methods. Think of it like a fun "needle in haystack" sort of project...