Jump to content

Sleep not working - waking up itself


  • Please log in to reply
14 replies to this topic

#1
Waldimor

Waldimor

    InsanelyMac Protégé

  • Members
  • Pip
  • 15 posts

Hello,

 

My motherboard: Gigabyte Z77X-UD3H

 

I did a clean install with Mountain Lion on my SSD today, installed my kexts (AppleHDA, IOUSBFamily, FakeSMC and AtherosL1cEthernet), i also installed Paragon NTFS.

Normally sleep is working fine then.

 

The problem now is, that my PC is waking up everytime itself a few seconds after it's going to sleep.

 

Could someone please tell me how to solve this?



#2
Alex Auditore

Alex Auditore

    InsanelyMac Legend

  • Donators
  • 700 posts
  • Gender:Male
To make sleep working you must commit several conditions.
Working graphics, patch of USB, and others.
Firstly give your DSDT, show your configs from bootloaders. What Graphics do you have?

#3
Waldimor

Waldimor

    InsanelyMac Protégé

  • Members
  • Pip
  • 15 posts

Hello Alex,

 

my graphic card: GTX 770

I'm also dual booting OS X and Windows, probably this is important.

The latest CUDA drivers are installed, too.

 

I uploaded my DSDT and the org.chameleon.Boot.plist for you, thanks for your reply so far.

 

Edit: Having problems uploading files here, just a moment please.

Edit 2: Well, I can't upload any files since I just have 4 posts. I'll upload the files somewhere else.



#4
Alex Auditore

Alex Auditore

    InsanelyMac Legend

  • Donators
  • 700 posts
  • Gender:Male
By the way, do you have speed step working?
The main condition for sleep. Does your processor work without NullCPUPowerManagement?

#5
Waldimor

Waldimor

    InsanelyMac Protégé

  • Members
  • Pip
  • 15 posts

Here are the files:

http://www40.zippysh...87006/file.html
 

Well, sleep did work perfectly fine for me a few days, I don't know what's wrong now after I installed OS X completely new.

NullCPUPowerManagement was not needed for sleep before.



#6
Gringo Vermelho

Gringo Vermelho

    The Jan Bird fix

  • Supervisors
  • 6,098 posts
  • Gender:Male
  • Location:Brazil

Run console.app and look in system.log, wake and sleep events are logged, you should be able to see which device is causing a wake event.



#7
Waldimor

Waldimor

    InsanelyMac Protégé

  • Members
  • Pip
  • 15 posts

Thanks Gringo, here is my log after setting my PC to sleep and it's wakup immediately afterwards:

 

If I'm not wrong, "GLAN XHC" seems to be the problem. (Line 13)

How can I fix this?

 

WOL is disabled in my system settings btw.

 

Sep  9 06:34:24 patrick-pc WindowServer[75]: Created shield window 0x56 for display 0x4bc126c0
Sep  9 06:34:24 patrick-pc WindowServer[75]: device_generate_desktop_screenshot: authw 0x0(0), shield 0x0(0)
Sep  9 06:34:24 patrick-pc WindowServer[75]: device_generate_lock_screen_screenshot: authw 0x0(0), shield 0x0(0)
Sep  9 06:34:24 patrick-pc configd[17]: arp_client_transmit(en0) failed, Network is down (50)
Sep  9 06:34:24 patrick-pc configd[17]: DHCP en0: ARP detect ROUTER failed, arp_client_transmit(en0) failed, Network is down (50)
Sep  9 06:34:31 patrick-pc WindowServer[75]: handle_will_sleep_auth_and_shield_windows: no action for lock state 1
Sep  9 06:34:31 patrick-pc kernel[0]: Wake reason: GLAN XHC
Sep  9 06:34:31 patrick-pc kernel[0]: RTC: PowerByCalendarDate setting ignored
Sep  9 06:34:31 patrick-pc kernel[0]: Previous Sleep Cause: 5
Sep  9 06:34:31 patrick-pc WindowServer[75]: Created shield window 0x57 for display 0x003f003d
Sep  9 06:34:31 patrick-pc WindowServer[75]: handle_will_sleep_auth_and_shield_windows: no action for lock state 1
Sep  9 06:34:31 patrick-pc WindowServer[75]: Created shield window 0x58 for display 0x003f003e
Sep  9 06:34:31 patrick-pc WindowServer[75]: handle_will_sleep_auth_and_shield_windows: no action for lock state 1
Sep  9 06:34:31 patrick-pc WindowServer[75]: Created shield window 0x59 for display 0x003f003f
Sep  9 06:34:31 patrick-pc WindowServer[75]: handle_will_sleep_auth_and_shield_windows: no action for lock state 1
Sep  9 06:34:32 patrick-pc configd[17]: network changed: v4(en0-:192.168.1.17) DNS- Proxy- SMB
Sep  9 06:34:32 localhost configd[17]: setting hostname to "localhost"
Sep  9 06:34:33 localhost configd[17]: network changed: v4(en0+:192.168.1.17) DNS+ Proxy+ SMB
Sep  9 06:34:33 patrick-pc configd[17]: setting hostname to "patrick-pc"
Sep  9 06:34:41 patrick-pc configd[17]: network changed: v4(en0-:192.168.1.17) DNS- Proxy- SMB
Sep  9 06:34:41 localhost configd[17]: setting hostname to "localhost"
Sep  9 06:34:42 localhost configd[17]: network changed: v4(en0+:192.168.1.17) DNS+ Proxy+ SMB
Sep  9 06:34:42 localhost mDNSResponder[50]: mDNS_RegisterInterface: Frequent transitions for interface en0 (192.168.1.17)
Sep  9 06:34:42 patrick-pc configd[17]: setting hostname to "patrick-pc"
Sep  9 06:34:45 patrick-pc BetterTouchTool[259]: Initialized
Sep  9 06:34:45 patrick-pc BetterTouchTool[259]: running



#8
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 2,953 posts
  • Gender:Male
  • Location:Moscow

I think the wake reason is USB 3.0

Sep  9 06:34:31 patrick-pc kernel[0]: Wake reason: GLAN XHC

You seems have not good driver for XHCI.



#9
Rampage Dev

Rampage Dev

    InsanelyMac Deity

  • Local Moderators
  • 1,981 posts
  • Gender:Male

And wake on lan. 



#10
Waldimor

Waldimor

    InsanelyMac Protégé

  • Members
  • Pip
  • 15 posts

I think the wake reason is USB 3.0

Sep  9 06:34:31 patrick-pc kernel[0]: Wake reason: GLAN XHC

You seems have not good driver for XHCI.

I'm using your USB 3.0 IOUSBFamily.kext for the VL800 you sent me before after a clean install of OS X.

Do you probably have a new version of it?

 

Wake on Lan is disabled in the system settings, Rampage Dev.



#11
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 2,953 posts
  • Gender:Male
  • Location:Moscow

I'm using your USB 3.0 IOUSBFamily.kext for the VL800 you sent me before after a clean install of OS X.

Do you probably have a new version of it?

 

Wake on Lan is disabled in the system settings, Rampage Dev.

Yes, new version 11 final.



#12
Waldimor

Waldimor

    InsanelyMac Protégé

  • Members
  • Pip
  • 15 posts

I'm getting crazy, I just can't get it to work again.

 

I tried your v11 final, Slice, but the problem still exists.

 

Does my DSDT.aml need any patches?



#13
Waldimor

Waldimor

    InsanelyMac Protégé

  • Members
  • Pip
  • 15 posts

I had the same problem now a few times when turning my PC off.

After turning it off, it booted up like a normal restart. But I turned it off.

 

What is cause of this?



#14
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 2,953 posts
  • Gender:Male
  • Location:Moscow

Yes, your DSDT is needed to be patched. I uploaded SSDT.aml in main topic.

Also I set NoSleepForce=Yes. It means that the adapter will not wake the computer.

Do exactly that I said and you will have success because my adapter is also VL800.



#15
Waldimor

Waldimor

    InsanelyMac Protégé

  • Members
  • Pip
  • 15 posts

Sorry, what do you mean with main topic? I searched in a few topics you created but can't find the SSDT.aml.

 

Thanks for answering so far Slice, you're a great help.







0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy