Jump to content

GA-Z87X-UD3H sleep wake issue


eivinds
 Share

13 posts in this topic

Recommended Posts

Hello!

 

I recently bought the Gigabyte GA-Z87X-UD3H together with 16 GB ram and an i7 4770k with the intent of running Mavericks on it. I have previously been running OS X on my very old Asus P5Q E8400 for a while, so I did some research and this board seemed to be working well without a patched dsdt. I'd also had enough of Asus boards, which I've personally had very bad experiences with.

 

And it did work well, until I tried my most demanded feature, sleep.

Whenever I go to sleep, the computers wakes up within 1 second, then it comes on with no display. Unless I press a button thought, it tries to go to sleep again. If I at any point press a button, the display comes back and it exits the sleep/wake loop.

Wake up reason is listed as XHC: kernel: Wake reason: XHC

I have tried: Unplugging everything except monitor cable. This includes mouse, keyboard, ethernet. Still happens. When unplugging all I use sleep 5 && pmset sleepnow in terminal to trigger sleep without having usb gear connected.

BIOS and OS X wake on lan is DISABLED.

The other BIOS options are set as recommended by every other guide for this board (EHCI/XHCI handoff).

I have tried BIOSes F7, F8 and newest beta F9b, same result.

 

I have reinstalled several times.

 

I have tried clean install with and without the third party USB3 support (GenericUSBXHCI 2.7.5 driver).

 

Sleep does work in Windows 8.

 

Any more tips for what I can try?

Pasting logfiles:

 

pmset logfile:

Time stamp                Domain                  Message                                                                        Duration      Delay     
==========                ======                  =======                                                                        ========      =====     
UUID: XXX
08/03/14 05:16:43 PST    Sleep                   Software Sleep pid=84: Using AC                                                22 secs   
08/03/14 05:16:48 PST    SlowResponse            PMConnection: Response from com.apple.apsd is slow (powercaps:0x0)                       4374 ms       
08/03/14 05:16:48 PST    WakeRequests            Clients requested wake events: None                                                      
08/03/14 05:17:05 PST    Assertions              PID 17(powerd) Created InternalPreventSleep "PM configd - Wait for Device enumeration" 00:00:00  id:0xe00000259 [System: BGTask SRPrevSleep kCPU]              
08/03/14 05:17:05 PST    DarkWake                DarkWake [CDN] due to XHC/: Using AC                                           2 secs    
08/03/14 05:17:05 PST    SlowResponse            Kernel: Response from powerd is slow (powercaps:0xf)                                     8010 ms       
08/03/14 05:17:05 PST    SlowResponse            Kernel: Response from powerd is slow (powercaps:0x0)                                     4375 ms       
08/03/14 05:17:05 PST    Assertions              PID 17(powerd) Created InternalPreventSleep "com.apple.powermanagement.acwakelinger" 00:00:00  id:0xe0000025a [System: BGTask SRPrevSleep kCPU]              
08/03/14 05:17:07 PST    Wake                    DarkWake to FullWake [CDNVA] due to HID Activity: Using AC                               
08/03/14 05:17:16 PST    Assertions              PID 17(powerd) Released InternalPreventSleep "PM configd - Wait for Device enumeration" 00:00:11  id:0xe00000259 [System: PushSrvc BGTask SRPrevSleep kCPU]              
08/03/14 05:17:50 PST    Assertions              PID 17(powerd) TimedOut InternalPreventSleep "com.apple.powermanagement.acwakelinger" 00:00:45  id:0xe0000025a [System: BGTask SRPrevSleep kCPU]              
08/03/14 05:17:50 PST    Assertions              PID 17(powerd) Released InternalPreventSleep "com.apple.powermanagement.acwakelinger" 00:00:45  id:0xe0000025a [System: BGTask SRPrevSleep kCPU]              


Total Sleep/Wakes since boot at 08/03/14 04:36:16 PST    :7


Kernel Log:

08/03/14 05:48:27,000 kernel[0]: Wake reason: XHC
08/03/14 05:48:31,000 kernel[0]: RTC: PowerByCalendarDate setting ignored
08/03/14 05:48:31,000 kernel[0]: RTC: PowerByCalendarDate setting ignored
08/03/14 05:48:31,000 kernel[0]: Previous Sleep Cause: 5
08/03/14 05:48:31,000 kernel[0]: USB (XHCI Root Hub USB 2.0 Simulation):Port 20 on bus 0xa connected or disconnected: portSC(0xf020340)
08/03/14 05:48:31,000 kernel[0]: An Unknown USB Device (Port 5 of Hub at 0x15000000), may have caused a wake by being connected
08/03/14 05:48:35,000 kernel[0]: AppleIntelE1000e(Info): e1000e NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx




08/03/14 05:49:31,000 kernel[0]: Wake reason: XHC
08/03/14 05:49:31,000 kernel[0]: RTC: PowerByCalendarDate setting ignored
08/03/14 05:49:31,000 kernel[0]: RTC: PowerByCalendarDate setting ignored
08/03/14 05:49:31,000 kernel[0]: Previous Sleep Cause: 5
08/03/14 05:49:31,000 kernel[0]: USB (XHCI Root Hub USB 2.0 Simulation):Port 20 on bus 0xa connected or disconnected: portSC(0xf020340)
08/03/14 05:49:31,000 kernel[0]: An Unknown USB Device (Port 5 of Hub at 0x15000000), may have caused a wake by being connected
08/03/14 05:49:32,000 kernel[0]: full wake (reason 1) 1209 ms
08/03/14 05:49:34,000 kernel[0]: AppleIntelE1000e(Info): e1000e NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx

To me it looks like a USB device is waking the computer up again, but I have no usb devices attached. So could it be a faulty USB hub on the motherboard?

 

I'm all out of ideas.

Link to comment
Share on other sites

What boot loader? Also i guess you only use the iGPU? Cause i get the same issue occur to me at times, but it gives me wake reason: HDEF mostly, however my logs mention the same issue about the USB like you have in your logs, so it doesn't have to be USB-specific i think…

Link to comment
Share on other sites

I have tried with both only iGPU and external Nvidia GTX 460 card, both from clean installs.

 

Using bootloader from the should not be named please, but am willing to try other things :)

 

 

 

Does your sleep also not work at all?

Link to comment
Share on other sites

Sometimes it does, and sometimes not, And when it does it gives me HDEF as mentioned, but since i use a firewire-based audio solution, i rather not go use the onboard(appleHDA) solution, and i suspect there always changes something from the moment when i start to use DisplayPort to drive my main monitor (or start to use the iGPU) i know there are multiple methods available to address both and I'm not sure yet what's best for this (in terms of patching it each time the os updates et all)  

Link to comment
Share on other sites

Ok, I do feel this should be related to USB at least.

 

I also tried running with latest Chameleon build, same there.

08/03/14 05:49:31,000 kernel[0]: Wake reason: XHC
08/03/14 05:49:31,000 kernel[0]: USB (XHCI Root Hub USB 2.0 Simulation):Port 20 on bus 0xa connected or disconnected: portSC(0xf020340)
08/03/14 05:49:31,000 kernel[0]: An Unknown USB Device (Port 5 of Hub at 0x15000000), may have caused a wake by being connected

Link to comment
Share on other sites

by help of the "Usb Prober" app i tried tracing down the what hubs made the board prevent sleep. I just disconnected 2 of them, now it does sleep, but this is not really a solution…

I'd be satisfied if I could just turn off some of them. By disconnect do you mean physically disconnect? Or shut off in software?

 

Never heard of Usb Prober, and I couldn't find the program anywhere, but I'd be willing to try.

Link to comment
Share on other sites

i physically disconnected one from two of the lower usb 2.0 hubs, on my board it was the one next to the usb 3.0 SS based one (that also connects to the front connectors) I don't use the GenericUSB kext btw. I do still have the message@ boot stating "The usb hub @ asked for… but received 0.." or something along the lines. My ipad also still won't charge (even when it's on a external powered hub, so might also be the dock / cable) on all USB. I still need to try the clover USB "highcurrent" fix to see if it makes any difference… USBprober.app can be found somewhere here, try to search. i believe i got it bundled with AnV USB kexts…

Link to comment
Share on other sites

I found the USBProber.app in the OS X Developer utils.

 

Sadly, it seems it is my very root USB hub waking my computer up. Not sure how to disable that one. I am not using any of the "manual" pin ports on the motherboard.

 

I am currently trying to get a working clover install, you can see from page 10 here if you are interested:
http://www.insanelymac.com/forum/topic/290406-success-gigabyte-z87x-ud3h-mavericks-dp2-haswell-hackintosh/

 

Also, tried out my trusty Arch Linux with EFI boot... No sleep mode working there either, it instantly wakes up like in OS X.

 

Sleep works in both Windows 8 and 8.1 however :(

Link to comment
Share on other sites

  • 2 months later...

Begin to investigate the problem. Removed the HD5770 and switched on Intel Graphics HD4600. The problem remains. In system.log I see following:

Jun 23 19:32:02 Romans-Mac-Pro kernel[0]: Wake reason: PXSX PEG0 PEGP PEG1 PEG2
Jun 23 19:32:07 Romans-Mac-Pro kernel[0]: RTC: PowerByCalendarDate setting ignored
Jun 23 19:32:07 --- last message repeated 1 time ---
Jun 23 19:32:07 Romans-Mac-Pro kernel[0]: Previous Sleep Cause: 5
Jun 23 19:32:07 Romans-Mac-Pro kernel[0]: 0x1face000, 0x00000000 Intel82574L::setLinkStatus - not active
Jun 23 19:32:07 Romans-Mac-Pro kernel[0]: The USB device HubDevice (Port 6 of Hub at 0x15000000) may have caused a wake by issuing a remote wakeup (1)

Does anybody have any ideas?


USB Prober app sees it:

 

Hub (XHCI Root Hub SS Simulation) @ 0x15000000 with 6 ports
    Port 1:  Status: 0x02a0  Change: 0x0000
        STATUS(change): LowSpeed.
    Port 2:  Status: 0x02a0  Change: 0x0000
        STATUS(change): LowSpeed.
    Port 3:  Status: 0x02a0  Change: 0x0000
        STATUS(change): LowSpeed.
    Port 4:  Status: 0x02a0  Change: 0x0000
        STATUS(change): LowSpeed.
    Port 5:  Status: 0x0203  Change: 0x0000  HubDevice
        STATUS(change): CONNECT ENABLE LowSpeed.
    Port 6:  Status: 0x0203  Change: 0x0000  HubDevice
        STATUS(change): CONNECT ENABLE LowSpeed.
 
What's this?
Link to comment
Share on other sites

 Share

×
×
  • Create New...