- Joined
- Jul 13, 2014
- Messages
- 284
Here's a weird one: I have perfect sleep/restart/shutdown on my laptop as long as I don't use it for too long
After a few hours of uptime (makes no sense but I want to say the cutoff is about 2 or 3 hours), the laptop freezes on sleep/shutdown (screen goes dark, network interface goes down, but keyboard backlight still on). If I instead try to restart after a few hours, the laptop shuts down.
Since I thought it might be an ACPI issue, I traced _PTS with RehabMan's ACPIDebug kext. Works fine (enters and exits) when I sleep any number of times before a couple hours of uptime. After that, _PTS enter isn't even logged.
I then added a _TTS method since it's called earlier in the sleep process per the ACPI specs:
Normal:
After a few hours:
(The ACPIDebug log is literally the last line logged before I had to force shutdown and reboot manually).
I'm attaching the 2 full sleep traces above, as well as a copy of my patched dsdt in case anyone has any idea how to proceed. I just have no idea how to start debugging this.
After a few hours of uptime (makes no sense but I want to say the cutoff is about 2 or 3 hours), the laptop freezes on sleep/shutdown (screen goes dark, network interface goes down, but keyboard backlight still on). If I instead try to restart after a few hours, the laptop shuts down.
Since I thought it might be an ACPI issue, I traced _PTS with RehabMan's ACPIDebug kext. Works fine (enters and exits) when I sleep any number of times before a couple hours of uptime. After that, _PTS enter isn't even logged.
I then added a _TTS method since it's called earlier in the sleep process per the ACPI specs:
Normal:
Code:
Nov 6 18:22:51 mba kernel[0]: ACPIDebug: { "_TTS enter with state", 0x3, }
Nov 6 18:22:52 mba kernel[0]: ACPIDebug: { "_PTS enter", 0x3, }
Nov 6 18:22:52 mba kernel[0]: ACPIDebug: "_PTS exit"
Nov 6 18:22:52 mba kernel[0]: ACPIDebug: { "_WAK enter", 0x3, }
Nov 6 18:39:49 mba kernel[0]: ACPIDebug: { "_TTS enter with state", 0x0, }
Code:
Nov 6 21:25:19 mba kernel[0]: ACPIDebug: { "_TTS enter with state", 0x3, }
Nov 6 21:33:50 localhost bootlog[0]: BOOT_TIME 1415327630 0
I'm attaching the 2 full sleep traces above, as well as a copy of my patched dsdt in case anyone has any idea how to proceed. I just have no idea how to start debugging this.