DSDT fix Z87MX-D3H (OZ167X)

  • You didn't answer my question. I've posted two DSDT's. Both have different patches to fix shutdown. Which one of these two worked and you have tested?

    iMac@Home: Asrock Z87E-ITX, i7-4770s, 16GB Ram, Intel HD4600, 1x 512GB Samsung 850 Pro SSD, 1x Seagate Daten-HDD (2,5"), USB-Soundkarte, Catalina (latest) mit Clover@iMac14,3


    iMac@Office: GA Z87MX-D3H, i7-4770s, 16GB Ram, Geforce GTX650 1GB, 1x 256GB Samsung 830, 1x2TB Seagate 7200.14 Datenplatte, 1x2TB Samsung HD204UI TimeMachineplatte, DVD-RW Liteon iHAS 124, BluRay Pionerr BDR-207D (nur über USB), Creative SB Play, Catalina (latest) mit Clover@iMac14,3

  • I said already last night that both dsdt acts similar, no differences. Both fixed shutdown with plugged usb but not wake from sleep with usb plugged in.

    * GA-Z87MX-D3H F7 OpenCore 0.5.7 * * i5-4570 HD 4600 | I217-V | ALC892 |
    I don't speak German, but G-Translator helps me. :D

    Einmal editiert, zuletzt von nikoZ ()

  • Ok, sorry, I've overseen what you wrote in the brackets.
    Here are 2 new DSDT's to test if they solve the usb-wake-problem. Just to be clear. Only when a thumb drive is plugged in your hackintosh wakes up immediatly after you send it to hibernate-mode (or it goes automatically). Do you still have other hardware (e.g. keyboard, mouse,..) plugged to the computer via usb and sleep works well with them?
    As I wrote attached are two dsdt's. Just rename that to dsdt.aml and test one by one.

    Dateien

    • Archiv.zip

      (35,54 kB, 61 Mal heruntergeladen, zuletzt: )

    iMac@Home: Asrock Z87E-ITX, i7-4770s, 16GB Ram, Intel HD4600, 1x 512GB Samsung 850 Pro SSD, 1x Seagate Daten-HDD (2,5"), USB-Soundkarte, Catalina (latest) mit Clover@iMac14,3


    iMac@Office: GA Z87MX-D3H, i7-4770s, 16GB Ram, Geforce GTX650 1GB, 1x 256GB Samsung 830, 1x2TB Seagate 7200.14 Datenplatte, 1x2TB Samsung HD204UI TimeMachineplatte, DVD-RW Liteon iHAS 124, BluRay Pionerr BDR-207D (nur über USB), Creative SB Play, Catalina (latest) mit Clover@iMac14,3

  • DSDT_1: Wake from sleep with USB plugged / OK but it gives me "Disk Not ejected properly" at the wake. Conclusion: It stays down at sleep and shutdown.
    Shutdown with USB plugged / OK
    After Wake from sleep I loose sound, with original dsdt from forum DB i don't loose it.


    DSDT_2: Wake from sleep with USB plugged / OK but it gives me "Disk Not ejected properly" at the wake. Conclusion: It stays down at sleep and shutdown.
    Shutdown with USB plugged / OK
    After Wake from sleep I loose sound, with original dsdt from forum DB i don't loose it. Tried even with latest dsdt uploaded by you last night and sound was good after sleep. no loosing.


    I attached DSDT from latest bios uploaded into DB forum for coparision.

    * GA-Z87MX-D3H F7 OpenCore 0.5.7 * * i5-4570 HD 4600 | I217-V | ALC892 |
    I don't speak German, but G-Translator helps me. :D

    2 Mal editiert, zuletzt von nikoZ ()

  • Ok, now I have no ideas anymore. Sorry for that. The only thing I can suggest is to switch over to clover. For that you have to flash the original uefi. During my test with EC I didn't have such problems (only shutdown and I could fix it)
    Or you say you stay with Ozmosis and life with the problems you have. Sorry for that. I've no clue anymore.

    iMac@Home: Asrock Z87E-ITX, i7-4770s, 16GB Ram, Intel HD4600, 1x 512GB Samsung 850 Pro SSD, 1x Seagate Daten-HDD (2,5"), USB-Soundkarte, Catalina (latest) mit Clover@iMac14,3


    iMac@Office: GA Z87MX-D3H, i7-4770s, 16GB Ram, Geforce GTX650 1GB, 1x 256GB Samsung 830, 1x2TB Seagate 7200.14 Datenplatte, 1x2TB Samsung HD204UI TimeMachineplatte, DVD-RW Liteon iHAS 124, BluRay Pionerr BDR-207D (nur über USB), Creative SB Play, Catalina (latest) mit Clover@iMac14,3

  • @Huberer Thanks for all the help. I rennounce to put my system sleeping and all those problems are going away.
    I use single frontal usb 3.0 working and I live with clover, because i have to customize clover again and I don't want to patch / repatch again.
    Thank you for your patience.

    * GA-Z87MX-D3H F7 OpenCore 0.5.7 * * i5-4570 HD 4600 | I217-V | ALC892 |
    I don't speak German, but G-Translator helps me. :D

  • I have no idea why sleep isn't working proberly. You say that wol is important. So that means you have enabled wol in bios and also under OSX. What happen when you disable it? Does sleep work?
    Another question. Is there a usb-port on the back you don't use? I'm asking because I will create a new dsdt, with cutted down usb entries. That means that your both front usb will work but I've to go down to 15 because of EC restriction. Therefore you don't need any kext.

    iMac@Home: Asrock Z87E-ITX, i7-4770s, 16GB Ram, Intel HD4600, 1x 512GB Samsung 850 Pro SSD, 1x Seagate Daten-HDD (2,5"), USB-Soundkarte, Catalina (latest) mit Clover@iMac14,3


    iMac@Office: GA Z87MX-D3H, i7-4770s, 16GB Ram, Geforce GTX650 1GB, 1x 256GB Samsung 830, 1x2TB Seagate 7200.14 Datenplatte, 1x2TB Samsung HD204UI TimeMachineplatte, DVD-RW Liteon iHAS 124, BluRay Pionerr BDR-207D (nur über USB), Creative SB Play, Catalina (latest) mit Clover@iMac14,3

  • I have an idea.... :)


    In your BIOS is under "Peripherals" in the last line a sub-menu for the "Intel Ethernet Network Controller i217-V". (see page 53 of your Mainboard manual)
    In that menu deactivate the Wake-on-LAN-Feature again and try to send your hackintosh to sleep after you rebooted the box.

    Gruß
    Al6042

    Keine Unterstützung per PN oder Pinnwand... Eure Anfragen gehören ins Forum, nicht in mein Postfach!

  • Huberer: Even if I disable WOL or leave it enabled the system wakes up from sleep. With those two dsdt which you provided today, sleep and shutdown works perfectly with usb plugged in but at the wake it gives me that error with "USB not removed safely". About EC i can leave only one in the front. In the back all seems to be ok.nullThe only problem remains If I put system to sleep at the wake it remains without sound. I have to rennounce at sleep or I have to use an old AppleHDA from Multibeast 6.1.0.nullIn the end i will not use system sleep anymore and all those problems are gone.
    al6042: It's irrelevant, I disabled separately the WOL from LAN submenu in BIOS, it reacts the same way, it's a matter of ACPI DSDT. I give up. Most important thing it's that the system runs perfect and has power management functional.

    * GA-Z87MX-D3H F7 OpenCore 0.5.7 * * i5-4570 HD 4600 | I217-V | ALC892 |
    I don't speak German, but G-Translator helps me. :D

  • Ok nikoZ, I just wanted to know I you use all of the usb ports in the back. But no problem I could strip down the usb port number within dsdt so that all usb ports in the back and both usb 3.0 in the front are working. But be aware all internal usb-connectors, except the only USB3.0 connector, don't work because of the removed settings within dsdt.
    Attached you can find a new dsdt. Please test if sleep is also working.


    According to sound. When I used Ozmosis with my Z77MX-D3H (I don't use this hackintosh anymore) I've installed ALC892 via Multibeast 6.0.1. But this was with Mavericks and I had no problems with sound after sleep. I've to confess that I also used a usb-sound-card because the sound was much better then with the ALC-one.


    Another question: Do you use a ssdt? If yes post it hear and if no make one immediatly. The description you can find here. It's quite easy. I can't do that for you because I don't have such a cpu you use. The script reads the values from the cpu to get speedstep working.
    You open terminal and enter this command:

    Code
    1. curl -o ~/ssdtPRGen.sh https://raw.githubusercontent.com/Piker-Alpha/ssdtPRGen.sh/Beta/ssdtPRGen.sh


    If you get an error here. Try with sudo at the beginning. Like: sudo curl -o .....
    After that you make the script executable with this command:

    Code
    1. chmod +x ~/ssdtPRGen.sh


    Than run the script with the command:

    Code
    1. ./ssdtPRGen.sh


    The script starts, will do some things, and than you get the question that it should copy the dsdt.dsl (or similar) to the "Extra"-Folder. You don't have this so just answer with no. The second, and important question is, if the ssdt should be opened in Texteditor. Here you have to answer with yes. Save this textfile whereever you want and attach it here so I can work with it.
    Thanks in advance


    Edit: I've forgotten to add the new dsdt. Here you go..

    Dateien

    • DSDT.aml.zip

      (17,95 kB, 73 Mal heruntergeladen, zuletzt: )

    iMac@Home: Asrock Z87E-ITX, i7-4770s, 16GB Ram, Intel HD4600, 1x 512GB Samsung 850 Pro SSD, 1x Seagate Daten-HDD (2,5"), USB-Soundkarte, Catalina (latest) mit Clover@iMac14,3


    iMac@Office: GA Z87MX-D3H, i7-4770s, 16GB Ram, Geforce GTX650 1GB, 1x 256GB Samsung 830, 1x2TB Seagate 7200.14 Datenplatte, 1x2TB Samsung HD204UI TimeMachineplatte, DVD-RW Liteon iHAS 124, BluRay Pionerr BDR-207D (nur über USB), Creative SB Play, Catalina (latest) mit Clover@iMac14,3

    Einmal editiert, zuletzt von Huberer ()

  • Yeah, 're right. I don't use those two usb headers inside except the single USB 3.0.
    USB port now works, shutdown with plugged in works but sleep with plugged in, not.
    ssdt it working good, generated by myself using pike's ssdtgen tool for iMac 14,1, all good.
    Thanks.
    EDIT: I'll try the thing with usb plugged in via Windows to see if it reacts differently.
    As I know Gigabyte may have some feature like USB charging when system it's off, that may be the problem.
    EDIT: In Windows everything it's ok.
    At the moment I use iMac 14,1 SMBIOS because i don't have a discrete graphics card.

    Dateien

    • ssdt.txt

      (9,75 kB, 87 Mal heruntergeladen, zuletzt: )

    * GA-Z87MX-D3H F7 OpenCore 0.5.7 * * i5-4570 HD 4600 | I217-V | ALC892 |
    I don't speak German, but G-Translator helps me. :D

    2 Mal editiert, zuletzt von nikoZ ()

  • Ok, I see that you already have a ssdt. So it wasn't necessary to post it here. But no problem.
    With my lasted dsdt sleep is not working absolutelly like the others before, right?


    Edit: One last try. I've added a new dsdt. Please check if sleep and plugged in thumb drive is working.

    Dateien

    • DSDT.aml.zip

      (17,88 kB, 81 Mal heruntergeladen, zuletzt: )

    iMac@Home: Asrock Z87E-ITX, i7-4770s, 16GB Ram, Intel HD4600, 1x 512GB Samsung 850 Pro SSD, 1x Seagate Daten-HDD (2,5"), USB-Soundkarte, Catalina (latest) mit Clover@iMac14,3


    iMac@Office: GA Z87MX-D3H, i7-4770s, 16GB Ram, Geforce GTX650 1GB, 1x 256GB Samsung 830, 1x2TB Seagate 7200.14 Datenplatte, 1x2TB Samsung HD204UI TimeMachineplatte, DVD-RW Liteon iHAS 124, BluRay Pionerr BDR-207D (nur über USB), Creative SB Play, Catalina (latest) mit Clover@iMac14,3

  • Yay! It's says "Disk not ejected properly" at wake but it definitely works!


    Wake from sleep USB plugged: WORKS!
    Shutdown with USB plugged: WORKS!
    Frontal / Backward USB: WORKS!
    Internal USB 2.0: NOT INTERESTED!
    Sound after wake from sleep: solved by proper edit CodecCommander.kext or Multibeast 6.1.0 restore.


    @Huberer Thanks for helping me.

    * GA-Z87MX-D3H F7 OpenCore 0.5.7 * * i5-4570 HD 4600 | I217-V | ALC892 |
    I don't speak German, but G-Translator helps me. :D

    Einmal editiert, zuletzt von nikoZ ()

  • But sleep is working with this dsdt?

    iMac@Home: Asrock Z87E-ITX, i7-4770s, 16GB Ram, Intel HD4600, 1x 512GB Samsung 850 Pro SSD, 1x Seagate Daten-HDD (2,5"), USB-Soundkarte, Catalina (latest) mit Clover@iMac14,3


    iMac@Office: GA Z87MX-D3H, i7-4770s, 16GB Ram, Geforce GTX650 1GB, 1x 256GB Samsung 830, 1x2TB Seagate 7200.14 Datenplatte, 1x2TB Samsung HD204UI TimeMachineplatte, DVD-RW Liteon iHAS 124, BluRay Pionerr BDR-207D (nur über USB), Creative SB Play, Catalina (latest) mit Clover@iMac14,3

  • Ok thanks for the info. Look at the PN I sent you.
    There's a program called sleepwatcher. With this program you can do a lot of things before and after sleep (e.g. unmount drive/mount drive again). At mac-htpc.de there's a good description but only in german.

    iMac@Home: Asrock Z87E-ITX, i7-4770s, 16GB Ram, Intel HD4600, 1x 512GB Samsung 850 Pro SSD, 1x Seagate Daten-HDD (2,5"), USB-Soundkarte, Catalina (latest) mit Clover@iMac14,3


    iMac@Office: GA Z87MX-D3H, i7-4770s, 16GB Ram, Geforce GTX650 1GB, 1x 256GB Samsung 830, 1x2TB Seagate 7200.14 Datenplatte, 1x2TB Samsung HD204UI TimeMachineplatte, DVD-RW Liteon iHAS 124, BluRay Pionerr BDR-207D (nur über USB), Creative SB Play, Catalina (latest) mit Clover@iMac14,3

  • Also. As you can see you have different options. At least one paid and one free. Don't know which one works better. You can try. I also suggest you to read this thread here. I had the problem that my hackintosh (with Mavericks and with El Capitan) woke up every 2 hours (while it was sleeping). With patching the com.apple.mDNSResponder.plist the problem under Mavericks was gone. Under El Capitan I had to use this command:


    Code
    1. sudo defaults write /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist ProgramArguments -array-add -DisableSleepProxyClient


    but SIP must be disabled and you have to restart the computer afterwards.


    So it looks like that your problems are partly solved, doesn't it?

    iMac@Home: Asrock Z87E-ITX, i7-4770s, 16GB Ram, Intel HD4600, 1x 512GB Samsung 850 Pro SSD, 1x Seagate Daten-HDD (2,5"), USB-Soundkarte, Catalina (latest) mit Clover@iMac14,3


    iMac@Office: GA Z87MX-D3H, i7-4770s, 16GB Ram, Geforce GTX650 1GB, 1x 256GB Samsung 830, 1x2TB Seagate 7200.14 Datenplatte, 1x2TB Samsung HD204UI TimeMachineplatte, DVD-RW Liteon iHAS 124, BluRay Pionerr BDR-207D (nur über USB), Creative SB Play, Catalina (latest) mit Clover@iMac14,3

  • Yeap, thanks to you most of the problems are gone. I also found this.
    I executed that command for proxysleep. As I remember my system doesn't wake up after two hours but I put system at sleep only when Im home. In the meantime I wake it up via WOL over Internet and static arp list on my home router, so that terminal command shouldn't affect WOL.

    * GA-Z87MX-D3H F7 OpenCore 0.5.7 * * i5-4570 HD 4600 | I217-V | ALC892 |
    I don't speak German, but G-Translator helps me. :D

  • This one I sent you via PN because it's not well seen here links to this forum. That's why. But give it a try anyway

    iMac@Home: Asrock Z87E-ITX, i7-4770s, 16GB Ram, Intel HD4600, 1x 512GB Samsung 850 Pro SSD, 1x Seagate Daten-HDD (2,5"), USB-Soundkarte, Catalina (latest) mit Clover@iMac14,3


    iMac@Office: GA Z87MX-D3H, i7-4770s, 16GB Ram, Geforce GTX650 1GB, 1x 256GB Samsung 830, 1x2TB Seagate 7200.14 Datenplatte, 1x2TB Samsung HD204UI TimeMachineplatte, DVD-RW Liteon iHAS 124, BluRay Pionerr BDR-207D (nur über USB), Creative SB Play, Catalina (latest) mit Clover@iMac14,3