Contribute
Register

Lost Sleep function after Clover install

Joined
Apr 28, 2011
Messages
902
Motherboard
ASRock Fatal1ty Z370 Gaming-ITX/ac
CPU
i7-8700
Graphics
UHD 630
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
System:
  • Zotac Z77 ITX
  • Intel i7 3770T
  • Custom DSDT (PJALM's AIO Patch +HD4000 patch)
  • Custom SSDT (PikeRAlpha's ssdt_PRgen.sh)
  • Here's my install process with Chameleon bootloader.
  • Clover r2512 on EFI partition, with these install options
    81134-install-clover-wrong.png
  • Config.plist attached here
  • Tried darkwake=0 and =8 (with chameleon 8 is the right value)

Everything works nicely, after have set UEFI boot in bios, except for sleep function: only the monitor turns off, but the rig still runs.
Any clue?
 

Attachments

  • config.plist.zip
    1.3 KB · Views: 65
Last edited by a moderator:
Joined
Dec 11, 2011
Messages
261
Motherboard
Gigabyte Z87M D3H
CPU
Intel Core I5 4670k
Graphics
HD 4600
Mac
  1. iMac
Classic Mac
  1. iBook
Mobile Phone
  1. Android
hi
there are some mistakes u make.
U dont need
datahubdxe delete this driver
emuvariableuefi delete this
partitiondxe delete this driver

<string>darkwake=8 dart=0</string>
we dont need this! delete this arguments!

<key>Audio</key>
<dict>
<key>Inject</key>
<string>1</string>
</dict>

same for this
delete this becouse u use PJALM DSDT! for this

<key>KextsToPatch</key>
<array>
<dict>
<key>Name</key>
<string>AppleAHCIPort</string>
<key>Find</key>
<data>
RXh0ZXJuYWw=
</data>
<key>Replace</key>
<data>
SW50ZXJuYWw=
</data>
<key>Comment</key>
<string>External icons patch</string>
</dict>
</array>
delete this too becouse we dont need this for this chipset...
 
Joined
Apr 28, 2011
Messages
902
Motherboard
ASRock Fatal1ty Z370 Gaming-ITX/ac
CPU
i7-8700
Graphics
UHD 630
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
Thanks for reply.
Here's the steps
  • deleted datahubdxe, emuvariableuefi, partitiondxe (right, OSX works without them)
  • deleted darkwake=8 and dart=0 (the same)
  • deleted AppleAHCIPort (the same)
  • audio inject layout 1 NOT deleted in order to have Audio.
  • deleted nvram.plist from root partition
  • cleared NVRAM with
    Code:
    sudo nvram -c
According to toleda, I need to delete Layout ID line from HDEF Device in DSDT and inject from Clover. As a matter of fact it works. Please note that I'm using PikeRAlpha "New style of AppleHDA.kext patching".
The bottom issue still remains, though: sleep doesn't work.
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,161
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
System:
  • Zotac Z77 ITX
  • Intel i7 3770T
  • Custom DSDT (PJALM's AIO Patch +HD4000 patch)
  • Custom SSDT (PikeRAlpha's ssdt_PRgen.sh)
  • Here's my install process with Chameleon bootloader.
  • Clover r2512 on EFI partition, with these install options
    ...
  • Config.plist attached here
  • Tried darkwake=0 and =8 (with chameleon 8 is the right value)

Everything works nicely, after have set UEFI boot in bios, except for sleep function: only the monitor turns off, but the rig still runs.
Any clue?

What is the output of 'pmset -g assertions'?
 
Joined
Apr 28, 2011
Messages
902
Motherboard
ASRock Fatal1ty Z370 Gaming-ITX/ac
CPU
i7-8700
Graphics
UHD 630
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
What is the output of 'pmset -g assertions'?
Code:
Last login: Fri Jan 24 21:12:04 on ttys000
Mac-mini-di-Giacomo:~ giacomo$ pmset -g assertions
24/01/14 21:15:24 CET * *
Assertion status system-wide:
* *BackgroundTask * * * * * * * * 0
* *PreventDiskIdle * * * * * * * *0
* *ApplePushServiceTask * * * * * 0
* *UserIsActive * * * * * * * * * 0
* *PreventUserIdleDisplaySleep * *0
* *InteractivePushServiceTask * * 0
* *PreventSystemSleep * * * * * * 0
* *ExternalMedia * * * * * * * * *0
* *PreventUserIdleSystemSleep * * 0
* *NetworkClientActive * * * * * *0
Kernel Assertions: 0x104=USB,MAGICWAKE
* *id=500 *level=255 0x4=USB mod=24/01/14 21:25 description=XHC1 owner=AppleUSBXHCI
* *id=503 *level=255 0x100=MAGICWAKE mod=01/01/70 01:00 description=en0 owner=en0
* *id=504 *level=255 0x100=MAGICWAKE mod=01/01/70 01:00 description=en2 owner=en2
Mac-mini-di-Giacomo:~ giacomo$*
No luck. I attach my new config.plist, according to xpamamadeus suggestions
 

Attachments

  • config.plist.zip
    1.2 KB · Views: 56
Joined
Dec 11, 2011
Messages
261
Motherboard
Gigabyte Z87M D3H
CPU
Intel Core I5 4670k
Graphics
HD 4600
Mac
  1. iMac
Classic Mac
  1. iBook
Mobile Phone
  1. Android
ok.
Now we can try to change some of bios settings.
try to find something like "Internal CPU PLL Overvoltage" and set it to disabled if u have such settings.
next try to turn off wake on lan.
next try to change some of usb settigs in bios.
 
Joined
Apr 28, 2011
Messages
902
Motherboard
ASRock Fatal1ty Z370 Gaming-ITX/ac
CPU
i7-8700
Graphics
UHD 630
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
After a lot of messin' up with Bios settings, I managed to re-install the system from scratch with Chimera and UniBeast method to try sleep function in Bios Legacy mode.
Everything was working ok, so I installed Clover to EFI partition, according to expamamadeus tips, changed into uEFI boot mode and tested sleep and autosleep: they finally do work.
Even with Wake On Lan enabled.
Just one last thing: I've set Audio inject to 3 instead of my previous 1.
I guess that's it, even if I didn't understand what I did wrong previously.
Thank you guys for the support.
My working config.plist is attached here.
 

Attachments

  • config.plist.zip
    1.2 KB · Views: 93
Joined
Apr 28, 2011
Messages
902
Motherboard
ASRock Fatal1ty Z370 Gaming-ITX/ac
CPU
i7-8700
Graphics
UHD 630
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
One more issue: I can't log in into iMessage. In chameleon it was ok
- en0 to ethernet
- iCloud logged
- copied data from chameleon smbios to clover smbios
- changed Apple ID password
Nothing seems to work.
Any ideas?
 
Joined
Apr 28, 2011
Messages
902
Motherboard
ASRock Fatal1ty Z370 Gaming-ITX/ac
CPU
i7-8700
Graphics
UHD 630
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
Found a workaround for iMessage:
  • booted in legacy with Chameleon
  • logged into iMessage
  • rebooted with Clover UEFI mode
 
Top