Contribute
Register

Sleep not working

Status
Not open for further replies.
Tried everything you sent and wake are still not working.

The topic you sent to me I already tried before opening this topic.

I suspect there's something related to USB implementation.
Maybe I made a mistake while implementing UIAC, but I don't know how to debug and don't know where to look. :(

Tks.
you can use this to create a kext or .aml for your usb ports (it's nice and easy!)
Hackintool:
 
you can use this to create a kext or .aml for your usb ports (it's nice and easy!)
Hackintool:

Hi Feartech, first of all, thank you for your patience and dedication to help me on my problem.

I did the configuration using this amazing tool, the Hackintool. Such a great app! :clap:

But wake are still problematic... no progress at all on this issue.

Could you point me in any new direction?

Tks.
 

Attachments

  • debug_3049.zip
    5.4 MB · Views: 43
Hi Feartech, first of all, thank you for your patience and dedication to help me on my problem.

I did the configuration using this amazing tool, the Hackintool. Such a great app! :clap:

But wake are still problematic... no progress at all on this issue.

Could you point me in any new direction?

Tks.
in your config.plist, you have a Patch: change _OSI to XOSI but no XOSI.aml in acpi/patched folder

i have seen this in your log files:
Code:
pid 809(nsurlsessiond): [0x000000d500018173] 00:00:02 PreventUserIdleSystemSleep named: "NSURLSessionTask C1582C5A-8C3D-4378-A0C9-46760A6A5A77"
    Timeout will fire in 10797 secs Action=TimeoutActionTurnOff
   pid 809(nsurlsessiond): [0x000000d500018175] 00:00:02 PreventUserIdleSystemSleep named: "NSURLSessionTask B42036C0-F33F-425E-9DD2-01A28BB5BB2E"
    Timeout will fire in 10798 secs Action=TimeoutActionTurnOff
   pid 809(nsurlsessiond): [0x000000d600018176] 00:00:02 PreventUserIdleSystemSleep named: "NSURLSessionTask 70A64A6C-5AEA-4348-8314-613A6DBE960C"
    Timeout will fire in 10798 secs Action=TimeoutActionTurnOff
   pid 809(nsurlsessiond): [0x000000d600018177] 00:00:01 PreventUserIdleSystemSleep named: "NSURLSessionTask 943A342D-78F4-4F79-BCA0-7E5B22947F90"
    Timeout will fire in 10798 secs Action=TimeoutActionTurnOff
   pid 809(nsurlsessiond): [0x000000d700018178] 00:00:00 PreventUserIdleSystemSleep named: "NSURLSessionTask D6C77C32-FB45-4E6D-A555-6B60E2121ED2"
    Timeout will fire in 10799 secs Action=TimeoutActionTurnOff
   pid 809(nsurlsessiond): [0x000000d700018179] 00:00:00 PreventUserIdleSystemSleep named: "NSURLSessionTask BCD64B50-4CE5-4F68-83B1-47E3F5BC88F3"
    Timeout will fire in 10799 secs Action=TimeoutActionTurnOff
   pid 809(nsurlsessiond): [0x000000d70001817a] 00:00:00 PreventUserIdleSystemSleep named: "NSURLSessionTask F3A8B333-FB22-408E-94BB-7292CBB374C4"
    Timeout will fire in 10800 secs Action=TimeoutActionTurnOff
   pid 809(nsurlsessiond): [0x000000d70001817c] 00:00:00 PreventUserIdleSystemSleep named: "NSURLSessionTask D0AEDE81-FFA0-427A-AE86-64AE17759177"
    Timeout will fire in 10800 secs Action=TimeoutActionTurnOff
   pid 1222(iTunes): [0x000000b80001815b] 00:00:31 PreventUserIdleSystemSleep named: "com.apple.iTunes.download"
   pid 101(hidd): [0x0000001d0009805c] 00:00:08 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294969151.3"

does your system actually sleep, ie power light blinks?

make sure itunes is not running as audio will stop sleep from happening

there is a new update to the hackintool that may help with sleep:

or you may need to extract and compile a DSDT to help with sleep, take a look at _PRW patches:

or you may want to have a search for a hotpatch method that someone else has already done, i will let you search around for that :)
 
in your config.plist, you have a Patch: change _OSI to XOSI but no XOSI.aml in acpi/patched folder

i have seen this in your log files:
Code:
pid 809(nsurlsessiond): [0x000000d500018173] 00:00:02 PreventUserIdleSystemSleep named: "NSURLSessionTask C1582C5A-8C3D-4378-A0C9-46760A6A5A77"
    Timeout will fire in 10797 secs Action=TimeoutActionTurnOff
   pid 809(nsurlsessiond): [0x000000d500018175] 00:00:02 PreventUserIdleSystemSleep named: "NSURLSessionTask B42036C0-F33F-425E-9DD2-01A28BB5BB2E"
    Timeout will fire in 10798 secs Action=TimeoutActionTurnOff
   pid 809(nsurlsessiond): [0x000000d600018176] 00:00:02 PreventUserIdleSystemSleep named: "NSURLSessionTask 70A64A6C-5AEA-4348-8314-613A6DBE960C"
    Timeout will fire in 10798 secs Action=TimeoutActionTurnOff
   pid 809(nsurlsessiond): [0x000000d600018177] 00:00:01 PreventUserIdleSystemSleep named: "NSURLSessionTask 943A342D-78F4-4F79-BCA0-7E5B22947F90"
    Timeout will fire in 10798 secs Action=TimeoutActionTurnOff
   pid 809(nsurlsessiond): [0x000000d700018178] 00:00:00 PreventUserIdleSystemSleep named: "NSURLSessionTask D6C77C32-FB45-4E6D-A555-6B60E2121ED2"
    Timeout will fire in 10799 secs Action=TimeoutActionTurnOff
   pid 809(nsurlsessiond): [0x000000d700018179] 00:00:00 PreventUserIdleSystemSleep named: "NSURLSessionTask BCD64B50-4CE5-4F68-83B1-47E3F5BC88F3"
    Timeout will fire in 10799 secs Action=TimeoutActionTurnOff
   pid 809(nsurlsessiond): [0x000000d70001817a] 00:00:00 PreventUserIdleSystemSleep named: "NSURLSessionTask F3A8B333-FB22-408E-94BB-7292CBB374C4"
    Timeout will fire in 10800 secs Action=TimeoutActionTurnOff
   pid 809(nsurlsessiond): [0x000000d70001817c] 00:00:00 PreventUserIdleSystemSleep named: "NSURLSessionTask D0AEDE81-FFA0-427A-AE86-64AE17759177"
    Timeout will fire in 10800 secs Action=TimeoutActionTurnOff
   pid 1222(iTunes): [0x000000b80001815b] 00:00:31 PreventUserIdleSystemSleep named: "com.apple.iTunes.download"
   pid 101(hidd): [0x0000001d0009805c] 00:00:08 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294969151.3"

does your system actually sleep, ie power light blinks?

make sure itunes is not running as audio will stop sleep from happening

there is a new update to the hackintool that may help with sleep:

or you may need to extract and compile a DSDT to help with sleep, take a look at _PRW patches:

or you may want to have a search for a hotpatch method that someone else has already done, i will let you search around for that :)

Hi Feartech!

Yes. Notebook fall asleep like a baby (it takes 2 mins or more sometimes).
Blue light turns orange and blinks correctly and I can assure you there's no fan activity at all.

I don't use iTunes.

I just implemented SSDT-XOSI.aml to ACPI/patched.
I'll reboot, give it a try and back here with PR files.

I always prefer the hotpatch approach. Can you help me on this?

Tks.
 
Hi Feartech!

Yes. Notebook fall asleep like a baby (it takes 2 mins or more sometimes).
Blue light turns orange and blinks correctly and I can assure you there's no fan activity at all.

I don't use iTunes.

I just implemented SSDT-XOSI.aml to ACPI/patched.
I'll reboot, give it a try and back here with PR files.

I always prefer the hotpatch approach. Can you help me on this?

Tks.
hotpatching is more advanced than DSDT patching

for example:

if you disassemble your DSDT and SSDT's from your origin folder:

you may be able to find your methods and then use a hotpatch file
https://github.com/RehabMan/OS-X-Clover-Laptop-Config/tree/master/hotpatch

also on the above link is a config.plist with important Patches (renames) that you will need to implement

not something i can do for you as you may need to trial and error what patches/files you will need

if i had the same laptop, then i would give you my files :)
 
Hi Feartech.

Just a quick update... If I remove Add PNLF from DSDT Fixes, I lost the brightness slider, so I have to activate it again.
Another downside of the modifications we did together: Sometimes boot freezes in kext busy timeout in IOUSBHostInterface.

And I'm studying DSDT hotpatch.

Tks.
 
Hi Feartech.

Just a quick update... If I remove Add PNLF from DSDT Fixes, I lost the brightness slider, so I have to activate it again.
Another downside of the modifications we did together: Sometimes boot freezes in kext busy timeout in IOUSBHostInterface.

And I'm studying DSDT hotpatch.

Tks.
looking at your older problem reporting files, you don't seem to have USBInjectAll.kext installed to /Library/Extensions for some reason?
 
USBInjectAll.kext was installed on /Library/Extensions as we can see from debug_31173 PR files:

20 0 0xffffff7f81092000 0x4000 0x4000 com.rehabman.driver.USBInjectAll (0.7.1) A5767EA0-3760-3131-B996-28EE85139CF5 <13 12 5 3>

I removed this as per Hackintool instructions:

  1. You can now perform a clean up and remove unnecessary files:
    • Remove custom boot flags (-uia_exclude_ss -uia_exclude_hs uia_include=x)
    • Remove USBInjectAll.kext

Have I made a mess?

Tks
 
USBInjectAll.kext was installed on /Library/Extensions as we can see from debug_31173 PR files:

20 0 0xffffff7f81092000 0x4000 0x4000 com.rehabman.driver.USBInjectAll (0.7.1) A5767EA0-3760-3131-B996-28EE85139CF5 <13 12 5 3>

I removed this as per Hackintool instructions:



Have I made a mess?

Tks
if you use a kext for your usb that was created for you by using hackintool, then yes, remove USBInjectAll

again, looking into your kextcache output from your older files:
Code:
Kext with invalid signatured (-67050) allowed: <OSKext 0x7fde54ed7f40 [0x7fff8d31b8f0]> { URL = "VoodooI2CServices.kext/ -- file:///Library/Extensions/VoodooI2C.kext/Contents/PlugIns/", ID = "com.alexandred.VoodooI2CServices" }
Kext with invalid signatured (-67050) allowed: <OSKext 0x7fde54ecea50 [0x7fff8d31b8f0]> { URL = "VoodooGPIO.kext/ -- file:///Library/Extensions/VoodooI2C.kext/Contents/PlugIns/", ID = "org.coolstar.VoodooGPIO" }
Kext with invalid signatured (-67050) allowed: <OSKext 0x7fde57698230 [0x7fff8d31b8f0]> { URL = "VoodooI2C.kext/ -- file:///Library/Extensions/", ID = "com.alexandred.VoodooI2C" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fde5768cb00 [0x7fff8d31b8f0]> { URL = "BrcmPatchRAM2.kext/ -- file:///Library/Extensions/", ID = "com.no-one.BrcmPatchRAM2" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fde5767e070 [0x7fff8d31b8f0]> { URL = "BrcmFirmwareRepo.kext/ -- file:///Library/Extensions/", ID = "com.no-one.BrcmFirmwareStore" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fde57685a90 [0x7fff8d31b8f0]> { URL = "FakeSMC.kext/ -- file:///Library/Extensions/", ID = "org.netkas.driver.FakeSMC" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fde57687ec0 [0x7fff8d31b8f0]> { URL = "VoodooPS2Mouse.kext/ -- file:///Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/", ID = "org.rehabman.voodoo.driver.PS2Mouse" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fde5767f2f0 [0x7fff8d31b8f0]> { URL = "VoodooPS2Controller.kext/ -- file:///Library/Extensions/", ID = "org.rehabman.voodoo.driver.PS2Controller" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fde576802f0 [0x7fff8d31b8f0]> { URL = "VoodooPS2Keyboard.kext/ -- file:///Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/", ID = "org.rehabman.voodoo.driver.PS2Keyboard" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fde575c52e0 [0x7fff8d31b8f0]> { URL = "VoodooPS2Trackpad.kext/ -- file:///Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/", ID = "org.rehabman.voodoo.driver.PS2Trackpad" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fde54ecefc0 [0x7fff8d31b8f0]> { URL = "AppleBacklightFixup.kext/ -- file:///Library/Extensions/", ID = "com.hieplpvip.AppleBacklightFixup" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fde57523bc0 [0x7fff8d31b8f0]> { URL = "Lilu.kext/ -- file:///Library/Extensions/", ID = "as.vit9696.Lilu" }
Kext with invalid signatured (-67050) allowed: <OSKext 0x7fde54ec6d40 [0x7fff8d31b8f0]> { URL = "VoodooI2CHID.kext/ -- file:///Library/Extensions/", ID = "com.alexandred.VoodooI2CHID" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fde57660c40 [0x7fff8d31b8f0]> { URL = "RealtekRTL8111.kext/ -- file:///Library/Extensions/", ID = "com.insanelymac.RealtekRTL8111" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fde575d6290 [0x7fff8d31b8f0]> { URL = "WhateverGreen.kext/ -- file:///Library/Extensions/", ID = "as.vit9696.WhateverGreen" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fde5754a8e0 [0x7fff8d31b8f0]> { URL = "CodecCommander.kext/ -- file:///Library/Extensions/", ID = "org.tw.CodecCommander" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fde54ebe540 [0x7fff8d31b8f0]> { URL = "AppleALC.kext/ -- file:///Library/Extensions/", ID = "as.vit9696.AppleALC" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fde54ec9ff0 [0x7fff8d31b8f0]> { URL = "AirportBrcmFixup.kext/ -- file:///Library/Extensions/", ID = "as.lvs1974.AirportBrcmFixup" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fde57527070 [0x7fff8d31b8f0]> { URL = "NoTouchID.kext/ -- file:///Library/Extensions/", ID = "xyz.racermaster.NoTouchID" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fde57522b10 [0x7fff8d31b8f0]> { URL = "ACPIBatteryManager.kext/ -- file:///Library/Extensions/", ID = "org.rehabman.driver.AppleSmartBatteryManager" }
Invalid signature -67050 for kext <OSKext 0x7fde54ed7f40 [0x7fff8d31b8f0]> { URL = "VoodooI2CServices.kext/ -- file:///Library/Extensions/VoodooI2C.kext/Contents/PlugIns/", ID = "com.alexandred.VoodooI2CServices" }
Invalid signature -67050 for kext <OSKext 0x7fde54ecea50 [0x7fff8d31b8f0]> { URL = "VoodooGPIO.kext/ -- file:///Library/Extensions/VoodooI2C.kext/Contents/PlugIns/", ID = "org.coolstar.VoodooGPIO" }
Invalid signature -67050 for kext <OSKext 0x7fde57698230 [0x7fff8d31b8f0]> { URL = "VoodooI2C.kext/ -- file:///Library/Extensions/", ID = "com.alexandred.VoodooI2C" }
Invalid signature -67050 for kext <OSKext 0x7fde54ec6d40 [0x7fff8d31b8f0]> { URL = "VoodooI2CHID.kext/ -- file:///Library/Extensions/", ID = "com.alexandred.VoodooI2CHID" }
KernelCache ID: 30D2F5162A40D0701EB1045BC26186B0
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fed1bbc1090 [0x7fff8d31b8f0]> { URL = "ACPIBatteryManager.kext/ -- file:///Library/Extensions/", ID = "org.rehabman.driver.AppleSmartBatteryManager" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fed1bcf3340 [0x7fff8d31b8f0]> { URL = "Lilu.kext/ -- file:///Library/Extensions/", ID = "as.vit9696.Lilu" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fed1b9c7240 [0x7fff8d31b8f0]> { URL = "NoTouchID.kext/ -- file:///Library/Extensions/", ID = "xyz.racermaster.NoTouchID" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fed1b9dbe80 [0x7fff8d31b8f0]> { URL = "AirportBrcmFixup.kext/ -- file:///Library/Extensions/", ID = "as.lvs1974.AirportBrcmFixup" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fed1b9de630 [0x7fff8d31b8f0]> { URL = "AppleALC.kext/ -- file:///Library/Extensions/", ID = "as.vit9696.AppleALC" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fed1be3e2b0 [0x7fff8d31b8f0]> { URL = "CodecCommander.kext/ -- file:///Library/Extensions/", ID = "org.tw.CodecCommander" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fed1be710d0 [0x7fff8d31b8f0]> { URL = "WhateverGreen.kext/ -- file:///Library/Extensions/", ID = "as.vit9696.WhateverGreen" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fed1bd5f8d0 [0x7fff8d31b8f0]> { URL = "RealtekRTL8111.kext/ -- file:///Library/Extensions/", ID = "com.insanelymac.RealtekRTL8111" }
Kext with invalid signatured (-67050) allowed: <OSKext 0x7fed1bd7ff10 [0x7fff8d31b8f0]> { URL = "VoodooI2CHID.kext/ -- file:///Library/Extensions/", ID = "com.alexandred.VoodooI2CHID" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fed1bd83eb0 [0x7fff8d31b8f0]> { URL = "AppleBacklightFixup.kext/ -- file:///Library/Extensions/", ID = "com.hieplpvip.AppleBacklightFixup" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fed1bd906f0 [0x7fff8d31b8f0]> { URL = "BrcmFirmwareRepo.kext/ -- file:///Library/Extensions/", ID = "com.no-one.BrcmFirmwareStore" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fed1bd929f0 [0x7fff8d31b8f0]> { URL = "VoodooPS2Controller.kext/ -- file:///Library/Extensions/", ID = "org.rehabman.voodoo.driver.PS2Controller" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fed1bd947f0 [0x7fff8d31b8f0]> { URL = "VoodooPS2Trackpad.kext/ -- file:///Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/", ID = "org.rehabman.voodoo.driver.PS2Trackpad" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fed1bd999a0 [0x7fff8d31b8f0]> { URL = "VoodooPS2Keyboard.kext/ -- file:///Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/", ID = "org.rehabman.voodoo.driver.PS2Keyboard" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fed1bbe38c0 [0x7fff8d31b8f0]> { URL = "VoodooPS2Mouse.kext/ -- file:///Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/", ID = "org.rehabman.voodoo.driver.PS2Mouse" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fed1bbe4fe0 [0x7fff8d31b8f0]> { URL = "FakeSMC.kext/ -- file:///Library/Extensions/", ID = "org.netkas.driver.FakeSMC" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fed1bf14c10 [0x7fff8d31b8f0]> { URL = "BrcmPatchRAM2.kext/ -- file:///Library/Extensions/", ID = "com.no-one.BrcmPatchRAM2" }
Kext with invalid signatured (-67050) allowed: <OSKext 0x7fed1bd9d3b0 [0x7fff8d31b8f0]> { URL = "VoodooI2C.kext/ -- file:///Library/Extensions/", ID = "com.alexandred.VoodooI2C" }
Kext with invalid signatured (-67050) allowed: <OSKext 0x7fed1bbed030 [0x7fff8d31b8f0]> { URL = "VoodooGPIO.kext/ -- file:///Library/Extensions/VoodooI2C.kext/Contents/PlugIns/", ID = "org.coolstar.VoodooGPIO" }
Kext with invalid signatured (-67050) allowed: <OSKext 0x7fed1bbf5cd0 [0x7fff8d31b8f0]> { URL = "VoodooI2CServices.kext/ -- file:///Library/Extensions/VoodooI2C.kext/Contents/PlugIns/", ID = "com.alexandred.VoodooI2CServices" }
neither is there
 
I opted for SSDT-UIAC and SSDT-USBX than USBPorts.kext.

This is why there's no USBInjectAll.kext at my build.

And yes, I removed it since I followed Hackintool instructions. Before that USBInjectAll was there. (look the first PR files I sent).
 
Status
Not open for further replies.
Back
Top