[Solved] Black Screen after Wake

Red200220

New member
Joined
Sep 12, 2019
macOS
10.14.6
Mobo
MRRJR
CPU
intel i5 3317U
GPU
Intel HD 4000 / AMD Radeon 7570M
#61
Nope.. still doesn’t work..
I dont think dsdt has got to do anything with it...
 

Red200220

New member
Joined
Sep 12, 2019
macOS
10.14.6
Mobo
MRRJR
CPU
intel i5 3317U
GPU
Intel HD 4000 / AMD Radeon 7570M
#62
Earlier it was like this. When my usb devices were connected and then when i put my laptop to sleep, it went to sleep but didnt wake from it.. and all my usb devices stopped working... and now they work but laptop doesn’t go to sleep...
 

Edhawk

Moderator
Joined
Apr 10, 2018
macOS
10.14.6
Mobo
GA-Z97X-UD5H
CPU
i7-4790K
GPU
2 x Powercolor RX 580 8GB
#63
OK, I'm going to stop playing with the DSDT, as that seems to add nothing but more issues.

Your bootlog shows a few minor issues that I have fixed in the attached CLOVER folder.
  • I have changed the Clover boot theme from Clovy to Classic Mac OS, as the bootlog was showing issues finding icons and playing the sound file that Clovy contains. Classic Mac OS is a cleaner old school theme, which I use and have found works well.
  • I have updated a couple of kexts, Lilu and WhateverGreen.
  • I have removed the Audio.efi driver from the Bios folder.
  • I have removed the OsxAptioFix2Drv-64-2.efi and VBoxHfs.efi drivers from the UEFI folder
  • I have added the DataHubDxe.efi and HFSPlus.efi drivers to the UEFI folder
  • I have set the Clover Screen Resolution to 1366 x 768 to match your screen resolution
  • I have removed these DSDT/SSDT rename patches, XHC1, LPCB, GLAN as they were not used.
  • I have added kext-dev-mode=1 and rootless=0 boot arguments, both were being added by Nvram so explicitly including them won't hurt.
  • I have added three common Hide Volume names, to make your Clover boot screen less cluttered. These should hide the EFI, Preboot and Recovery icons.
  • I have deleted two unused KernelToPatch entries, they were disabled in the config so not doing anything useful.
Try the attached CLOVER folder in place of your current one and let me have another copy of your Bootlog, so I can see if the fixes I applied have helped/worked.
 

Attachments

Likes: Red200220

Edhawk

Moderator
Joined
Apr 10, 2018
macOS
10.14.6
Mobo
GA-Z97X-UD5H
CPU
i7-4790K
GPU
2 x Powercolor RX 580 8GB
#65
That's a common error when the wrong OsxAptio driver is installed/used.

My mistake, your /CLOVER/drivers/UEFI folder contained two Aptio drivers, OsxAptioFix2Drv-64-2.efi and OsxAptioFixDrv-64.efi. There should never be two Aptio drivers in this folder, so I deleted one - OsxAptioFix2Drv-64.efi. Turns out I deleted the wrong one!

You need to add the OsxAptioFix2Drv-64.efi driver to your /CLOVER/drivers/UEFI folder and delete the OsxAptioFixDrv-64.efi driver.
 
Likes: Red200220

Red200220

New member
Joined
Sep 12, 2019
macOS
10.14.6
Mobo
MRRJR
CPU
intel i5 3317U
GPU
Intel HD 4000 / AMD Radeon 7570M
#66
Ok so it booted fine with osx2driver... but sleep issue still there :(
 

Edhawk

Moderator
Joined
Apr 10, 2018
macOS
10.14.6
Mobo
GA-Z97X-UD5H
CPU
i7-4790K
GPU
2 x Powercolor RX 580 8GB
#67
Bollox! I hoped we had fixed that issue.
 

Edhawk

Moderator
Joined
Apr 10, 2018
macOS
10.14.6
Mobo
GA-Z97X-UD5H
CPU
i7-4790K
GPU
2 x Powercolor RX 580 8GB
#69
That probably means your SSDT-UIAC.aml is not set correctly. I am wondering if it is a USB power issue. I will have a read up and see what I can find.
 
Likes: Red200220

Red200220

New member
Joined
Sep 12, 2019
macOS
10.14.6
Mobo
MRRJR
CPU
intel i5 3317U
GPU
Intel HD 4000 / AMD Radeon 7570M
#70
That probably means your SSDT-UIAC.aml is not set correctly. I am wondering if it is a USB power issue. I will have a read up and see what I can find.
hey its been quite some time.. have you found anything?
 

Edhawk

Moderator
Joined
Apr 10, 2018
macOS
10.14.6
Mobo
GA-Z97X-UD5H
CPU
i7-4790K
GPU
2 x Powercolor RX 580 8GB
#71
No, I still believe your SSDT-UIAC.aml is wrong and needs to be changed. It currently contains the following:

8086_1e26 - PR11 port/Hub - 1 No hub
8086_1e26 - PRT1 port/Hub - 1 No hub
8086_1e2d - PR21 port/hub with HP24, HP 25, HP23 (in that order) - I No hub and 3 No ports
8086_1e31 - HS04, SS02, HS01, SS03, HS02, SS04, SS01 & HS03 (in that order) - 8 No ports

While it only contains a total of 14 No USB ports/hubs I don't think the SSDT is set to correctly activate your USB ports.

The likelihood is you only have 8 No USB ports and the ports under PR21 are duplicates. The 3 No hubs are set as Type 0xFF. The 3 No ports under PR21 are set as Type Zero, the ports under 8086_1e31 are set as 0x03, which I assume means USB 3. This conflict between the port connector type could be causing your reboot issue.
 
Last edited:

Red200220

New member
Joined
Sep 12, 2019
macOS
10.14.6
Mobo
MRRJR
CPU
intel i5 3317U
GPU
Intel HD 4000 / AMD Radeon 7570M
#72
No, I still believe your SSDT-UIAC.aml is wrong and needs to be changed. It currently contains the following:

8086_1e26 - PR11 port/Hub - 1 No port
8086_1e26 - PRT1 port/Hub - 1 No port
8086_1e2d - PR21 port/hub with HP24, HP 25, HP23 (in that order) - 4 No ports
8086_1e31 - HS04, SS02, HS01, SS03, HS02, SS04, SS01 & HS03 (in that order) - 8 No ports

While it only contains a total of 14 No USB ports I don't think the SSDT is set to correctly activate your USB ports. They are all set as Port Connector Type (0x04) in the SSDT, whatever that signifies. When they will be USB2, USB3 or Internal connections.

Setting the wrong connector type is as bad as activating too many ports, it won't work correctly.
So what can I do now? I think I made my SSDTs-uaic correctly as I sent you you said that looks ok.. what should I fix? please help as I always need to remove my USB WiFi adapter before putting my laptop to sleep...
 

Edhawk

Moderator
Joined
Apr 10, 2018
macOS
10.14.6
Mobo
GA-Z97X-UD5H
CPU
i7-4790K
GPU
2 x Powercolor RX 580 8GB
#73
I would recreate the SSDT but remove the three HP ports under PR21, as they are likely to be the duplicate ports.

I would leave the PR21 section, as you have for the PR11hub.

I would also suggest deleting the PRT1 Hub section.

See what that does for your sleep issues.
 
Likes: Red200220

Red200220

New member
Joined
Sep 12, 2019
macOS
10.14.6
Mobo
MRRJR
CPU
intel i5 3317U
GPU
Intel HD 4000 / AMD Radeon 7570M
#74
I would recreate the SSDT but remove the three HP ports under PR21, as they are likely to be the duplicate ports.

I would leave the PR21 section, as you have for the PR11hub.

I would also suggest deleting the PRT1 Hub section.

See what that does for your sleep issues.
can u check it?
 

Attachments

Edhawk

Moderator
Joined
Apr 10, 2018
macOS
10.14.6
Mobo
GA-Z97X-UD5H
CPU
i7-4790K
GPU
2 x Powercolor RX 580 8GB
#75
Looks good, have you given it a spin?
 

Edhawk

Moderator
Joined
Apr 10, 2018
macOS
10.14.6
Mobo
GA-Z97X-UD5H
CPU
i7-4790K
GPU
2 x Powercolor RX 580 8GB
#77
Can you post a screenshot of your USB tab in Hackintool. So I can see what that is showing.
 
Likes: Red200220

Edhawk

Moderator
Joined
Apr 10, 2018
macOS
10.14.6
Mobo
GA-Z97X-UD5H
CPU
i7-4790K
GPU
2 x Powercolor RX 580 8GB
#79
Thanks for that video. What that shows is that your EH01 and EH02 ports are not being shifted to the XHC controller.

Can you remove any SSDT-UIAC.aml and any associated USB power SSDT from /CLVOER/ACPI/patched.

Can you then make sure that you're config.plist contains these patches in the ACPI > DSDT/SSDT rename section:
  • EC0 to EC
  • H_EC to EC
  • EHC1 to EH01
  • EHC2 to EH02
  • XHC1 to XHC_
  • XHCI to XHC_
Can you also make sure your config.plist has the four USB port limit patches required for Mojave 10.14.6, and only those four USB port patches active.

I have attached a config, which contains the rename patches and the four USB port limit patches, so all you have to do is copy and paste the patches to your config, if they are not already present and enabled.

You need to make sure that USBInjectAll.kext is in either your /CLOVER/kext/Other folder or has been installed to /Library/Extensions.

Then reboot your system and post a screenshot of your Hackintool USB tab, with all the USB ports shown. just drag the Hackintool window to resize it to fit all the USB ports.
 

Attachments

Likes: Red200220

Red200220

New member
Joined
Sep 12, 2019
macOS
10.14.6
Mobo
MRRJR
CPU
intel i5 3317U
GPU
Intel HD 4000 / AMD Radeon 7570M
#80
Thanks for that video. What that shows is that your EH01 and EH02 ports are not being shifted to the XHC controller.

Can you remove any SSDT-UIAC.aml and any associated USB power SSDT from /CLVOER/ACPI/patched.

Can you then make sure that you're config.plist contains these patches in the ACPI > DSDT/SSDT rename section:
  • EC0 to EC
  • H_EC to EC
  • EHC1 to EH01
  • EHC2 to EH02
  • XHC1 to XHC_
  • XHCI to XHC_
Can you also make sure your config.plist has the four USB port limit patches required for Mojave 10.14.6, and only those four USB port patches active.

I have attached a config, which contains the rename patches and the four USB port limit patches, so all you have to do is copy and paste the patches to your config, if they are not already present and enabled.

You need to make sure that USBInjectAll.kext is in either your /CLOVER/kext/Other folder or has been installed to /Library/Extensions.

Then reboot your system and post a screenshot of your Hackintool USB tab, with all the USB ports shown. just drag the Hackintool window to resize it to fit all the USB ports.
I think I did what you told me to... here is my usb from Hackintool... and my clover folder.
 

Attachments