Moderators Jake Lo Posted November 20, 2018 Moderators Share Posted November 20, 2018 Run this in the terminal, reboot and see if it'll sleep after reboot sudo pmset hibernatemode 0 sudo rm -f /var/vm/sleepimage sudo pmset hibernatefile /dev/null if still not sleeping either by closing the lid or by clicking sleep from the menu, then run this in the terminal and post the output log show --style syslog --start "2018-11-20" | fgrep "Wake reason" 1 Link to comment Share on other sites More sharing options...
ballack Posted November 21, 2018 Author Share Posted November 21, 2018 Thanks Jake, When I closed the lid or clicked the sleep from the menu,The music being played is interrupted , but the light of the power button is always on, not flashing, seems not real in sleep. the log as below. 2018-11-19 19:21:20.693388+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PBTN XHC (User) 2018-11-19 19:21:20.693389+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PBTN XHC (User) 2018-11-19 19:22:40.437551+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PBTN XHC (User) 2018-11-19 19:22:40.437552+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PBTN XHC (User) 2018-11-19 19:26:54.158585+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PBTN (User) 2018-11-19 19:26:54.158586+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PBTN (User) 2018-11-19 19:52:06.628104+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PBTN XHC (User) 2018-11-19 19:52:06.628105+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PBTN XHC (User) 2018-11-19 20:04:52.194930+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: RTC XHC (Alarm) 2018-11-19 20:04:52.194931+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: RTC XHC (Alarm) 2018-11-19 20:05:53.230287+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PBTN XHC (User) 2018-11-19 20:05:53.230288+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PBTN XHC (User) 2018-11-19 20:35:54.203404+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PBTN XHC (User) 2018-11-19 20:35:54.203405+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PBTN XHC (User) 2018-11-19 22:46:11.167044+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: RTC (Alarm) 2018-11-19 22:46:11.167045+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: RTC (Alarm) 2018-11-19 23:46:13.823995+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: RTC (Alarm) 2018-11-19 23:46:13.823996+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: RTC (Alarm) 2018-11-20 04:46:07.846588+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: RTC XHC (Alarm) 2018-11-20 04:46:07.846589+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: RTC XHC (Alarm) 2018-11-20 09:58:58.539698+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PBTN XHC (User) 2018-11-20 09:58:58.539699+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PBTN XHC (User) 2018-11-20 10:15:20.868906+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PBTN (User) 2018-11-20 10:15:20.868907+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PBTN (User) 2018-11-20 22:17:08.161786+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: RTC (Alarm) 2018-11-20 22:17:08.161787+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: RTC (Alarm) 2018-11-20 22:49:08.663956+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: RTC (Alarm) 2018-11-20 22:49:08.663957+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: RTC (Alarm) 2018-11-21 03:53:36.864549+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PBTN (User) 2018-11-21 03:53:36.864550+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PBTN (User) 2018-11-21 07:43:05.439850+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PBTN (User) 2018-11-21 07:43:05.439851+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PBTN (User) Link to comment Share on other sites More sharing options...
Moderators Jake Lo Posted November 21, 2018 Moderators Share Posted November 21, 2018 Follow this guide carefully under USB port Patching. You have all the kexts in place already, you need to boot with the options in the guide to generate the USBPorts kext https://www.insanelymac.com/forum/topic/335018-intel-fb-patcher-v165/ Link to comment Share on other sites More sharing options...
ballack Posted November 21, 2018 Author Share Posted November 21, 2018 Thanks Jake, I generated the USBports kext based on the guide. but seems the sleep still not work. The debug and sleep log as attached. BallackdeMacBook-Pro:~ ballack$ log show --style syslog --start "2018-11-20" | fgrep "Wake reason" 2018-11-19 19:21:20.693388+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PBTN XHC (User) 2018-11-19 19:21:20.693389+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PBTN XHC (User) 2018-11-19 19:22:40.437551+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PBTN XHC (User) 2018-11-19 19:22:40.437552+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PBTN XHC (User) 2018-11-19 19:26:54.158585+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PBTN (User) 2018-11-19 19:26:54.158586+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PBTN (User) 2018-11-19 19:52:06.628104+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PBTN XHC (User) 2018-11-19 19:52:06.628105+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PBTN XHC (User) 2018-11-19 20:04:52.194930+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: RTC XHC (Alarm) 2018-11-19 20:04:52.194931+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: RTC XHC (Alarm) 2018-11-19 20:05:53.230287+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PBTN XHC (User) 2018-11-19 20:05:53.230288+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PBTN XHC (User) 2018-11-19 20:35:54.203404+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PBTN XHC (User) 2018-11-19 20:35:54.203405+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PBTN XHC (User) 2018-11-19 22:46:11.167044+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: RTC (Alarm) 2018-11-19 22:46:11.167045+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: RTC (Alarm) 2018-11-19 23:46:13.823995+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: RTC (Alarm) 2018-11-19 23:46:13.823996+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: RTC (Alarm) 2018-11-20 04:46:07.846588+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: RTC XHC (Alarm) 2018-11-20 04:46:07.846589+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: RTC XHC (Alarm) 2018-11-20 09:58:58.539698+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PBTN XHC (User) 2018-11-20 09:58:58.539699+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PBTN XHC (User) 2018-11-20 10:15:20.868906+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PBTN (User) 2018-11-20 10:15:20.868907+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PBTN (User) 2018-11-20 22:17:08.161786+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: RTC (Alarm) 2018-11-20 22:17:08.161787+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: RTC (Alarm) 2018-11-20 22:49:08.663956+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: RTC (Alarm) 2018-11-20 22:49:08.663957+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: RTC (Alarm) 2018-11-21 03:53:36.864549+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PBTN (User) 2018-11-21 03:53:36.864550+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PBTN (User) 2018-11-21 07:43:05.439850+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PBTN (User) 2018-11-21 07:43:05.439851+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PBTN (User) 2018-11-21 08:00:03.850938+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PBTN (User) 2018-11-21 08:00:03.850939+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PBTN (User) 2018-11-21 08:16:31.814406+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PBTN (User) 2018-11-21 08:16:31.814407+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PBTN (User) 2018-11-21 08:36:55.855283+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PBTN (User) 2018-11-21 08:36:55.855284+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PBTN (User) 2018-11-21 09:17:02.548584+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PBTN (User) 2018-11-21 09:17:02.548585+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PBTN (User) 2018-11-21 14:40:02.708399+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PBTN (User) 2018-11-21 14:40:02.708400+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PBTN (User) 2018-11-21 15:52:04.002216+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PBTN (User) 2018-11-21 15:52:04.002217+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PBTN (User) 2018-11-21 16:42:38.252485+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: ? 2018-11-21 16:42:38.252486+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: ? 2018-11-21 16:42:55.825227+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PBTN XHC (User) 2018-11-21 16:42:55.825228+0800 localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: PBTN XHC (User) 28057.zip Link to comment Share on other sites More sharing options...
Recommended Posts