Contribute
Register

Samsung Ativ Book 6 - wake not working

Status
Not open for further replies.
Please provide details on the sleep problem.

System seems to be going to sleep just fine, after ~15s the power led start to blink slowly and there's no other noise, fans are completely disabled. When I try to wake it up, after pressing the power button I can hear the fans starting, the power led stop blinking and stay active. If I press the power button one more time, there's no change, system still "hanged". Only way out of this is holding power button to force shutdown.
Note: Using Yosemite I always had to press power button twice to wake from sleep (no big deal), seems to be a normal behaviour on OSX with this laptop.

system.log when going to sleep (You can see that after "System Sleep" there's nothing else, just the boot after I force shutdown and turn on again):
Code:
Jul 19 22:22:48 Maiques-MacBook-Air CommCenter[279]: Telling CSI to go low power.
Jul 19 22:22:48 Maiques-MacBook-Air identityservicesd[299]: <IMMacNotificationCenterManager: 0x7fa072050b80>: notification observer: com.apple.iChat   notification: __CFNotification 0x7fa0721014a0 {name = _NSDoNotDisturbEnabledNotification}
Jul 19 22:22:48 Maiques-MacBook-Air identityservicesd[299]: <IMMacNotificationCenterManager: 0x7fa072050b80>:    NC Disabled: NO
Jul 19 22:22:48 Maiques-MacBook-Air WindowServer[154]: device_generate_desktop_screenshot: authw 0x7fda238bbc00(2000), shield 0x7fda2385f800(2001)
Jul 19 22:22:48 Maiques-MacBook-Air WindowServer[154]: device_generate_lock_screen_screenshot: authw 0x7fda238bbc00(2000)[0, 0, 0, 0] shield 0x7fda2385f800(2001), dev [1366,768]
Jul 19 22:22:48 Maiques-MacBook-Air identityservicesd[299]: <IMMacNotificationCenterManager: 0x7fa072050b80>:   DND Enabled: YES
Jul 19 22:22:48 Maiques-MacBook-Air identityservicesd[299]: <IMMacNotificationCenterManager: 0x7fa072050b80>: Updating enabled: NO   (Topics: (
    ))
Jul 19 22:22:49 Maiques-MacBook-Air WindowServer[154]: no sleep images for WillPowerOffWithImages
Jul 19 22:22:58 Maiques-MacBook-Air loginwindow[91]: CoreAnimation: warning, deleted thread with uncommitted CATransaction; set CA_DEBUG_TRANSACTIONS=1 in environment to log backtraces.
Jul 19 22:23:03 Maiques-MacBook-Air powerd[51]: BUG in libdispatch: 15G31 - 1718 - 0x0
Jul 19 22:23:03 Maiques-MacBook-Air kernel[0]: IOCTL not recognized: 234 out of 236
Jul 19 22:23:06 --- last message repeated 1 time ---
Jul 19 22:23:06 Maiques-MacBook-Air kernel[0]: PM response took 2932 ms (51, powerd)
Jul 19 22:23:06 Maiques-MacBook-Air kernel[0]: kern_open_file_for_direct_io(0)
Jul 19 22:23:06 Maiques-MacBook-Air kernel[0]: kern_open_file_for_direct_io took 0 ms
Jul 19 22:23:06 Maiques-MacBook-Air kernel[0]: Opened file /var/log/SleepWakeStacks.bin, size 172032, extents 1, maxio 2000000 ssd 1
Jul 19 22:23:06 Maiques-MacBook-Air kernel[0]: polled file major 1, minor 0, blocksize 4096, pollers 5
Jul 19 22:23:06 Maiques-MacBook-Air kernel[0]: ARPT: 143.687748: AirPort_Brcm43xx::powerChange: System Sleep
Jul 19 22:24:39 localhost bootlog[0]: BOOT_TIME 1468977879 0

Files attached.
 

Attachments

  • AtivBook6.zip
    2 MB · Views: 72
System seems to be going to sleep just fine, after ~15s the power led start to blink slowly and there's no other noise, fans are completely disabled. When I try to wake it up, after pressing the power button I can hear the fans starting, the power led stop blinking and stay active. If I press the power button one more time, there's no change, system still "hanged". Only way out of this is holding power button to force shutdown.
Note: Using Yosemite I always had to press power button twice to wake from sleep (no big deal), seems to be a normal behaviour on OSX with this laptop.

system.log when going to sleep (You can see that after "System Sleep" there's nothing else, just the boot after I force shutdown and turn on again):
Code:
Jul 19 22:22:48 Maiques-MacBook-Air CommCenter[279]: Telling CSI to go low power.
Jul 19 22:22:48 Maiques-MacBook-Air identityservicesd[299]: <IMMacNotificationCenterManager: 0x7fa072050b80>: notification observer: com.apple.iChat   notification: __CFNotification 0x7fa0721014a0 {name = _NSDoNotDisturbEnabledNotification}
Jul 19 22:22:48 Maiques-MacBook-Air identityservicesd[299]: <IMMacNotificationCenterManager: 0x7fa072050b80>:    NC Disabled: NO
Jul 19 22:22:48 Maiques-MacBook-Air WindowServer[154]: device_generate_desktop_screenshot: authw 0x7fda238bbc00(2000), shield 0x7fda2385f800(2001)
Jul 19 22:22:48 Maiques-MacBook-Air WindowServer[154]: device_generate_lock_screen_screenshot: authw 0x7fda238bbc00(2000)[0, 0, 0, 0] shield 0x7fda2385f800(2001), dev [1366,768]
Jul 19 22:22:48 Maiques-MacBook-Air identityservicesd[299]: <IMMacNotificationCenterManager: 0x7fa072050b80>:   DND Enabled: YES
Jul 19 22:22:48 Maiques-MacBook-Air identityservicesd[299]: <IMMacNotificationCenterManager: 0x7fa072050b80>: Updating enabled: NO   (Topics: (
    ))
Jul 19 22:22:49 Maiques-MacBook-Air WindowServer[154]: no sleep images for WillPowerOffWithImages
Jul 19 22:22:58 Maiques-MacBook-Air loginwindow[91]: CoreAnimation: warning, deleted thread with uncommitted CATransaction; set CA_DEBUG_TRANSACTIONS=1 in environment to log backtraces.
Jul 19 22:23:03 Maiques-MacBook-Air powerd[51]: BUG in libdispatch: 15G31 - 1718 - 0x0
Jul 19 22:23:03 Maiques-MacBook-Air kernel[0]: IOCTL not recognized: 234 out of 236
Jul 19 22:23:06 --- last message repeated 1 time ---
Jul 19 22:23:06 Maiques-MacBook-Air kernel[0]: PM response took 2932 ms (51, powerd)
Jul 19 22:23:06 Maiques-MacBook-Air kernel[0]: kern_open_file_for_direct_io(0)
Jul 19 22:23:06 Maiques-MacBook-Air kernel[0]: kern_open_file_for_direct_io took 0 ms
Jul 19 22:23:06 Maiques-MacBook-Air kernel[0]: Opened file /var/log/SleepWakeStacks.bin, size 172032, extents 1, maxio 2000000 ssd 1
Jul 19 22:23:06 Maiques-MacBook-Air kernel[0]: polled file major 1, minor 0, blocksize 4096, pollers 5
Jul 19 22:23:06 Maiques-MacBook-Air kernel[0]: ARPT: 143.687748: AirPort_Brcm43xx::powerChange: System Sleep
Jul 19 22:24:39 localhost bootlog[0]: BOOT_TIME 1468977879 0

Files attached.

Try to connect via remote desktop (screen sharing) post-sleep from another computer on the network.
The way you describe it working on Yosemite is not normal/not correct.
Perhaps you should go back to Yosemite and use ACPIDebug (debug _PTS,_WAK methods) to see if you can fix the problem there.
Also, could be SSD specific problem (try different SSD or HDD).
 
Try to connect via remote desktop (screen sharing) post-sleep from another computer on the network.
Didn't work. Enabled and tested ssh too, same results.

The way you describe it working on Yosemite is not normal/not correct.
Perhaps you should go back to Yosemite and use ACPIDebug (debug _PTS,_WAK methods) to see if you can fix the problem there.
Like I posted before, I can get the sleep and wake working if I only rename EHCx->EH0x in DSDT, without FakePCIID_XHCIMux, FakePCIID and USBInjectAll. But there's one USB port that won't work.

Installed ACPIDebug.kext and debug+_wak&_pts on DSDT. Here's my system.log when going to sleep and waking (pressed power button twice, the first time it only turn on the power and wifi led).

Code:
Jul 20 10:58:04 Maiques-MacBook-Air AirPlayUIAgent[327]: 2016-07-20 10:58:04.450180 AM [AirPlayUIAgent] BecomingInactive: NSWorkspaceWillSleepNotification
Jul 20 10:58:04 Maiques-MacBook-Air CommCenter[276]: Telling CSI to go low power.
Jul 20 10:58:04 Maiques-MacBook-Air kernel[0]: ignored is_io_service_close(0x100000333,IOHIDParamUserClient)
Jul 20 10:58:04 --- last message repeated 2 times ---
Jul 20 10:58:04 Maiques-MacBook-Air identityservicesd[296]: <IMMacNotificationCenterManager: 0x7f8000537fb0>: notification observer: com.apple.iChat   notification: __CFNotification 0x7f8003004620 {name = _NSDoNotDisturbEnabledNotification}
Jul 20 10:58:04 Maiques-MacBook-Air identityservicesd[296]: <IMMacNotificationCenterManager: 0x7f8000537fb0>:    NC Disabled: NO
Jul 20 10:58:04 Maiques-MacBook-Air identityservicesd[296]: <IMMacNotificationCenterManager: 0x7f8000537fb0>:   DND Enabled: YES
Jul 20 10:58:04 Maiques-MacBook-Air identityservicesd[296]: <IMMacNotificationCenterManager: 0x7f8000537fb0>: Updating enabled: NO   (Topics: (
    ))
Jul 20 10:58:04 Maiques-MacBook-Air WindowServer[152]: device_generate_desktop_screenshot: authw 0x7fa8eb870800(2000), shield 0x7fa8ed8c1000(2001)
Jul 20 10:58:04 Maiques-MacBook-Air WindowServer[152]: device_generate_lock_screen_screenshot: authw 0x7fa8eb870800(2000)[0, 0, 0, 0] shield 0x7fa8ed8c1000(2001), dev [1366,768]
Jul 20 10:58:04 Maiques-MacBook-Air WindowServer[152]: no sleep images for WillPowerOffWithImages
Jul 20 10:58:14 Maiques-MacBook-Air loginwindow[91]: CoreAnimation: warning, deleted thread with uncommitted CATransaction; set CA_DEBUG_TRANSACTIONS=1 in environment to log backtraces.
Jul 20 10:58:19 Maiques-MacBook-Air powerd[51]: BUG in libdispatch: 15G31 - 1718 - 0x0
Jul 20 10:58:19 Maiques-MacBook-Air kernel[0]: IOCTL not recognized: 234 out of 236
Jul 20 10:58:22 --- last message repeated 1 time ---
Jul 20 10:58:22 Maiques-MacBook-Air kernel[0]: PM response took 3115 ms (51, powerd)
Jul 20 10:58:22 Maiques-MacBook-Air kernel[0]: kern_open_file_for_direct_io(0)
Jul 20 10:58:22 Maiques-MacBook-Air kernel[0]: kern_open_file_for_direct_io took 0 ms
Jul 20 10:58:22 Maiques-MacBook-Air kernel[0]: Opened file /var/log/SleepWakeStacks.bin, size 172032, extents 1, maxio 2000000 ssd 1
Jul 20 10:58:22 Maiques-MacBook-Air kernel[0]: polled file major 1, minor 0, blocksize 4096, pollers 5
Jul 20 10:58:22 Maiques-MacBook-Air kernel[0]: ARPT: 101.416808: AirPort_Brcm43xx::powerChange: System Sleep
Jul 20 10:58:23 Maiques-MacBook-Air kernel[0]: ARPT: 101.918867: IOPMPowerSource Information: onSleep,  SleepType: Normal Sleep,
Jul 20 10:58:23 Maiques-MacBook-Air kernel[0]: ARPT: 101.918896: wl0: powerChange: *** BONJOUR/MDNS OFFLOADS ARE NOT RUNNING.
Jul 20 10:59:21 Maiques-MacBook-Air kernel[0]: STD :: Keyboard disabled.
Jul 20 10:59:21 Maiques-MacBook-Air kernel[0]: STD :: Touchpad disabled.
Jul 20 10:59:21 Maiques-MacBook-Air kernel[0]: AirPort: Link Down on awdl0. Reason 1 (Unspecified).
Jul 20 10:59:21 Maiques-MacBook-Air kernel[0]: ARPT: 101.926677: wl0: leaveModulePoweredForOffloads: Wi-Fi will stay on.
Jul 20 10:59:21 Maiques-MacBook-Air kernel[0]: ARPT: 101.936099: AirPort_Brcm43xx::platformWoWEnable: WWEN[enable]
Jul 20 10:59:21 Maiques-MacBook-Air kernel[0]: ARPT: 101.936187: AirPort_Brcm43xx::syncPowerState: WWEN[enabled]
Jul 20 10:58:23 Maiques-MacBook-Air kernel[0]: ACPIDebug: { "_PTS enter", 0x3, }
Jul 20 10:59:21 Maiques-MacBook-Air kernel[0]: ACPIDebug: "_PTS exit"
Jul 20 10:59:21 Maiques-MacBook-Air kernel[0]: ACPIDebug: { "_WAK enter", 0x3, }
Jul 20 10:59:21 Maiques-MacBook-Air kernel[0]: ACPIDebug: "_WAK exit"
Jul 20 10:59:21 Maiques-MacBook-Air kernel[0]: Wake reason: PWRB (User)
Jul 20 10:59:21 Maiques-MacBook-Air kernel[0]: No interval found for . Using 8000000
Jul 20 10:59:21 Maiques-MacBook-Air CommCenter[276]: Telling CSI to exit low power.
Jul 20 10:59:21 Maiques-MacBook-Air kernel[0]: RTC: PowerByCalendarDate setting ignored
Jul 20 10:59:21 Maiques-MacBook-Air kernel[0]: Previous sleep cause: 5
Jul 20 10:59:21 Maiques-MacBook-Air kernel[0]: Sandbox: mDNSResponder(88) deny(1) mach-lookup com.apple.distributed_notifications@1v3
Jul 20 10:59:21 Maiques-MacBook-Air ntpd[201]: sigio_handler: sigio_handler_active != 1
Jul 20 10:59:21 Maiques-MacBook-Air ntpd[201]: sigio_handler: sigio_handler_active != 0
Jul 20 10:59:21 Maiques-MacBook-Air kernel[0]: in6_unlink_ifa: IPv6 address 0x42056ed344507627 has no prefix
Jul 20 10:59:21 Maiques-MacBook-Air ntpd[201]: sigio_handler: sigio_handler_active != 1
Jul 20 10:59:21 Maiques-MacBook-Air ntpd[201]: sigio_handler: sigio_handler_active != 0
Jul 20 10:59:21 Maiques-MacBook-Air loginwindow[91]: ERROR | -[LWBuiltInScreenLockAuthLion closeAuthAndReset:] | Attempted to remove an observer when not observing
Jul 20 10:59:21 Maiques-MacBook-Air kernel[0]: No interval found for . Using 8000000
Jul 20 10:59:21 --- last message repeated 1 time ---
Jul 20 10:59:21 Maiques-MacBook-Air kernel[0]: STD :: Keyboard enabled.
Jul 20 10:59:21 Maiques-MacBook-Air kernel[0]: No interval found for . Using 8000000
Jul 20 10:59:21 --- last message repeated 1 time ---
Jul 20 10:59:21 Maiques-MacBook-Air kernel[0]: en1: BSSID changed to 10:6f:3f:3d:6a:d9
Jul 20 10:59:21 Maiques-MacBook-Air kernel[0]: en1: channel changed to 6
Jul 20 10:59:21 Maiques-MacBook-Air kernel[0]: en1: BSSID changed to 10:6f:3f:3d:6a:d9
Jul 20 10:59:21 Maiques-MacBook-Air kernel[0]: en1: channel changed to 6
Jul 20 10:59:21 Maiques-MacBook-Air cfprefsd[124]: BUG in libdispatch: 15G31 - 1718 - 0x0
Jul 20 10:59:21 Maiques-MacBook-Air WindowServer[152]: CGXDisplayDidWakeNotification [102539063105]: posting kCGSDisplayDidWake
Jul 20 10:59:21 Maiques-MacBook-Air WindowServer[152]: handle_will_sleep_auth_and_shield_windows: NULL shield_window (lock state: 1)
Jul 20 10:59:21 Maiques-MacBook-Air identityservicesd[296]: <IMMacNotificationCenterManager: 0x7f8000537fb0>: notification observer: com.apple.iChat   notification: __CFNotification 0x7f8003145020 {name = _NSDoNotDisturbDisabledNotification}
Jul 20 10:59:21 Maiques-MacBook-Air identityservicesd[296]: <IMMacNotificationCenterManager: 0x7f8000537fb0>:    NC Disabled: NO
Jul 20 10:59:21 Maiques-MacBook-Air identityservicesd[296]: <IMMacNotificationCenterManager: 0x7f8000537fb0>:   DND Enabled: NO
Jul 20 10:59:21 Maiques-MacBook-Air identityservicesd[296]: <IMMacNotificationCenterManager: 0x7f8000537fb0>: Updating enabled: YES   (Topics: (
        "com.apple.private.alloy.icloudpairing",
        "com.apple.private.alloy.continuity.encryption",
        "com.apple.private.alloy.continuity.activity",
        "com.apple.private.ids",
        "com.apple.private.alloy.phonecontinuity",
        "com.apple.private.alloy.phone.auth",
        "com.apple.private.alloy.keychainsync",
        "com.apple.private.alloy.fmf",
        "com.apple.private.alloy.screensharing",
        "com.apple.private.alloy.maps",
        "com.apple.private.alloy.thumper.keys",
        "com.apple.private.alloy.continuity.tethering"
    ))
Jul 20 10:59:21 Maiques-MacBook-Air kernel[0]: STD :: Reconnecting the touchpad ........
Jul 20 10:59:22 Maiques-MacBook-Air ntpd[201]: wake time set +1.009811 s
Jul 20 10:59:22 Maiques-MacBook-Air kernel[0]: STD :: Touchpad enabled.
Jul 20 10:59:22 Maiques-MacBook-Air kernel[0]: ARPT: 103.203949: AirPort_Brcm43xx::powerChange: System Wake - Full Wake/ Dark Wake / Maintenance wake
Jul 20 10:59:23 Maiques-MacBook-Air kernel[0]: ARPT: 103.705015: IOPMPowerSource Information: onWake,  SleepType: Normal Sleep,
Jul 20 10:59:23 Maiques-MacBook-Air kernel[0]: ARPT: 103.705132: AirPort_Brcm43xx::platformWoWEnable: WWEN[disable]
Jul 20 10:59:23 Maiques-MacBook-Air kernel[0]: AirPort: Link Up on awdl0
Jul 20 10:59:23 Maiques-MacBook-Air sharingd[289]: 10:59:23.507 : Starting AirDrop server for user 501 on wake
Jul 20 10:59:23 Maiques-MacBook-Air blued[82]: ****** properties = 0x118, permissions = 0x8, write? 0, w/o res? 0
Jul 20 10:59:23 Maiques-MacBook-Air kernel[0]: en1: BSSID changed to 10:6f:3f:3d:6a:d9
Jul 20 10:59:23 Maiques-MacBook-Air kernel[0]: en1: channel changed to 6
Jul 20 10:59:29 Maiques-MacBook-Air login[431]: USER_PROCESS: 431 ttys000
Jul 20 10:59:33 Maiques-MacBook-Air Console[438]: Failed to connect (_consoleX) outlet from (NSApplication) to (ConsoleX): missing setter or instance variable
Jul 20 11:00:05 Maiques-MacBook-Air SubmitDiagInfo[443]: Triggering diganostics messages cleanup

Also, could be SSD specific problem (try different SSD or HDD).

I used Yosemite on a 1tb 5400rpm that came with this laptop and afterwards the current SSD. Had the same weird behaviour with both of them.
 
Like I posted before, I can get the sleep and wake working if I only rename EHCx->EH0x in DSDT, without FakePCIID_XHCIMux, FakePCIID and USBInjectAll. But there's one USB port that won't work.

Probably XSEL or ESEL is doing something you don't want it to do.
You should patch both so they do nothing.
 
Probably XSEL or ESEL is doing something you don't want it to do.
You should patch both so they do nothing.

Patched both, didn't work. I also discovered that some internal USB ports aren't working when using only renamed EHCx->EH0x in DSDT, like webcam.

Probably there's something a little more complex on ACPI to get sleep/wake correctly working with this laptop and I don't have the knowledge and skills required yet. I'll take a break for a while and leave it without sleep/wake working.

And I think I'll leave the methods as EHCx, since this way all visible and internal USB ports are working. Are there any know issues leaving them as EHCx? Or should I install again FakePCIID_XHCIMux, FakePCIID, USBInjectAll and the custom SSDT for ports injection? Both methods seem to work fine.

Thanks again for all your help RehabMan! I really appreciate your approach to the users problems, not giving the direct answer, but always guiding them to the correct path, so they can learn by themselves. You can close this topic, if I find new assumptions or progress in this matter I'll open another topic or ask for you to reopen this one.

Regards!
 
Patched both, didn't work. I also discovered that some internal USB ports aren't working when using only renamed EHCx->EH0x in DSDT, like webcam.

Make sure all ports are included in your custom SSDT for USBInjectAll.kext.
 
Status
Not open for further replies.
Back
Top