Sequoia 15.5 | Sleep

danfq

New member
AMD OS X Member
Jun 5, 2025
18
1
0
1
CPU:
Ryzen 5 5600X
Hi all!


This is my first post here, so please bear with me.

I've just finished fixing some other issues I had with my Ryzentosh (all details are on my Git Repo - in my Signature).
However, there's one that remains unsolved, no matter how hard I try.

I can't, by any means, get Sleep to work.
I've already tried BIOS options, different SMBios', extra Kexts - you name it. Nothing worked, so far.
The thing is - Sleep used to work just fine in Sonoma.

Is this a known issue, that I'm just not aware of?
Any insight would be appreciated.

Below are my ACPI folder and Kexts folder.
My config.plist is attached.

1749389136994.png1749389148834.png

Please help me lol.


Thanks,
DanFQ
 

Attachments

Solution
Hello, whoever ends up finding this Post.


I've figured out a way to make everything work flawlessly.
It may be messy, and I may change it in the future - if I find a better way to do this.

But, in short, I needed a few patches.
One SSDT, a few DeviceProperties entries, and an ACPI Patch.

The SSDT is attached to this reply, and the other patches are below:

SSDT-DGPU
-------------

This SSDT is a joint effort by me, T3 Chat, and @Edhawk.
It references the PCI bridge (BRG0) and disables all levels of the PCI path by overriding their _STA methods to return Zero:
  • GPP8 - The PCI bus.
  • X161 - The PCI slot.
  • BRG0 - The PCI...
Post a copy of your current IORegistryExplorer, when you select the File menu > save as .... option in IORegistryExplorer. I want to see what is shown in the IOReg for your audio devices before we try disabling one or the other.

I use IOReg v2.1 from the link below.

 
Post a copy of your current IORegistryExplorer, when you select the File menu > save as .... option in IORegistryExplorer. I want to see what is shown in the IOReg for your audio devices before we try disabling one or the other.

I use IOReg v2.1 from the link below.


Thanks a lot for taking the time to fix this!
The file is attached.

Also, leave your PayPal (or Revolut) details in your next reply - I'll for sure tip you!


DanFQ
 

Attachments

Just make sure you don't add any extension to the file that is created. Just leave it as it is named is best. So my current Hack's IOReg was named iMac Pro 3, as that was the name I gave the system. That is how the file was saved to my desktop.

Screenshot 2025-06-16 at 19.21.26.png screenshot showing IOreg file saved to desktop, with no file extension added.

IF you add a file extension to the file when creating it, the file will be unreadable.
 
Just make sure you don't add any extension to the file that is created. Just leave it as it is named is best. So my current Hack's IOReg was named iMac Pro 3, as that was the name I gave the system. That is how the file was saved to my desktop.

View attachment 17239 screenshot showing IOreg file saved to desktop, with no file extension added.

IF you add a file extension to the file when creating it, the file will be unreadable.

I compressed it, because the Forum wouldn't accept the file ("unsupported file extension").


DanFQ
 
Got this when I tried to open the IOReg.

Screenshot 2025-06-16 at 20.49.00.png

Which version of IORegistryExplorer have you used to save the file?

No need to tip me, make a donation to the site instead.
 
Got this when I tried to open the IOReg.

View attachment 17241

Which version of IORegistryExplorer have you used to save the file?

No need to tip me, make a donation to the site instead.


Using version 3.0.2 (14), according to the program itself:

1750103598524.png


DanFQ
 
OK, I can read the IOReg.

Both HDEF and AZAL appear in the IOReg. But the AZAL device is not looking good.

Can you post a copy of your latest EFI, so I can check that there aren't any unnecessary patches, fixes or kexts messing with the Audio devices in your system.

HDAU from the dGPU seems to be set correctly for DP output.
 
OK, I can read the IOReg.

Both HDEF and AZAL appear in the IOReg. But the AZAL device is not looking good.

Can you post a copy of your latest EFI, so I can check that there aren't any unnecessary patches, fixes or kexts messing with the Audio devices in your system.

HDAU from the dGPU seems to be set correctly for DP output.


Here you go, anonymized.
Might be worth mentioning that AZAL appears in my DSDT, but HDEF does not.

As an extra, here's gfxutil's output for both:

1750104824897.png

My codec is ALC887, which is natively supported, with the following Layout IDs:

1750106810758.png

I've tried the following, so far: 11, 1, 7, 50.
These were the Layout IDs that people online have been successful with.

Ever since I first made this Hack, back in Monterey-days, I've always used Layout ID 11 - and it has worked flawlessly thus far.
Up until now, I mean.


DanFQ
 

Attachments

Last edited:
@Edhawk

Hi, sorry to bother you.
Just thought I'd let you know I made some progress.

I managed to rename my AZAL device to HDEF:

1750276470421.png

I do still have HDEF under my GPU's node, however.
And still no "Internal Speakers".

Any ideas?


DanFQ
 
Hello, whoever ends up finding this Post.


I've figured out a way to make everything work flawlessly.
It may be messy, and I may change it in the future - if I find a better way to do this.

But, in short, I needed a few patches.
One SSDT, a few DeviceProperties entries, and an ACPI Patch.

The SSDT is attached to this reply, and the other patches are below:

SSDT-DGPU
-------------

This SSDT is a joint effort by me, T3 Chat, and @Edhawk.
It references the PCI bridge (BRG0) and disables all levels of the PCI path by overriding their _STA methods to return Zero:
  • GPP8 - The PCI bus.
  • X161 - The PCI slot.
  • BRG0 - The PCI bridge.
  • GFX1 -The GPU itself.

This effectively tells macOS that the entire device chain is not present, making the GPU invisible to the OS.
It is noteworthy that this SSDT does not power down the GPU - it simply prevents macOS from loading Drivers for it.


DeviceProperties
------------------

Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>DeviceProperties</key>
    <dict>
        <key>Add</key>
        <dict>
            <key>PciRoot(0x0)/Pci(0x3,0x1)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)</key>
            <dict>
                <key>device-id</key>
                <data>AAAAAA==</data>
                <key>vendor-id</key>
                <data>AAAAAA==</data>
                <key>subsystem-id</key>
                <data>AAAAAA==</data>
                <key>subsystem-vendor-id</key>
                <data>AAAAAA==</data>
                <key>class-code</key>
                <data>AAA=</data>
                <key>compatible</key>
                <string>pci0000,0000</string>
                <key>model</key>
                <string>NotAGPU</string>
                <key>name</key>
                <string>NotAGPU</string>
                <key>IOName</key>
                <string>NotAGPU</string>
                <key>IOPCIMatch</key>
                <data>AAAAAA==</data>
                <key>IONameMatch</key>
                <string>NotAGPU</string>
                <key>IOProviderClass</key>
                <string>IOPCIDevice</string>
                <key>hda-gfx</key>
                <string></string>
                <key>AAPL,slot-name</key>
                <string>NotAGPU</string>
                <key>built-in</key>
                <data>AA==</data>
            </dict>
            <key>PciRoot(0x0)/Pci(0x3,0x1)/Pci(0x0,0x0)/Pci(0x0,0x0)</key>
            <dict>
                <key>device-id</key>
                <data>AAAAAA==</data>
                <key>vendor-id</key>
                <data>AAAAAA==</data>
                <key>subsystem-id</key>
                <data>AAAAAA==</data>
                <key>subsystem-vendor-id</key>
                <data>AAAAAA==</data>
                <key>class-code</key>
                <data>AAA=</data>
                <key>compatible</key>
                <string>pci0000,0000</string>
                <key>model</key>
                <string>NotAGPU</string>
                <key>name</key>
                <string>NotAGPU</string>
                <key>IOName</key>
                <string>NotAGPU</string>
                <key>IOPCIMatch</key>
                <data>AAAAAA==</data>
                <key>IONameMatch</key>
                <string>NotAGPU</string>
                <key>IOProviderClass</key>
                <string>IOPCIDevice</string>
                <key>hda-gfx</key>
                <string></string>
                <key>AAPL,slot-name</key>
                <string>NotAGPU</string>
                <key>built-in</key>
                <data>AA==</data>
            </dict>
            <key>PciRoot(0x0)/Pci(0x3,0x1)/Pci(0x0,0x0)</key>
            <dict>
                <key>device-id</key>
                <data>AAAAAA==</data>
                <key>vendor-id</key>
                <data>AAAAAA==</data>
                <key>subsystem-id</key>
                <data>AAAAAA==</data>
                <key>subsystem-vendor-id</key>
                <data>AAAAAA==</data>
                <key>class-code</key>
                <data>AAA=</data>
                <key>compatible</key>
                <string>pci0000,0000</string>
                <key>model</key>
                <string>NotAGPU</string>
                <key>name</key>
                <string>NotAGPU</string>
                <key>IOName</key>
                <string>NotAGPU</string>
                <key>IOPCIMatch</key>
                <data>AAAAAA==</data>
                <key>IONameMatch</key>
                <string>NotAGPU</string>
                <key>IOProviderClass</key>
                <string>IOPCIDevice</string>
                <key>hda-gfx</key>
                <string></string>
                <key>AAPL,slot-name</key>
                <string>NotAGPU</string>
                <key>built-in</key>
                <data>AA==</data>
            </dict>
            <key>PciRoot(0x0)/Pci(0x3,0x1)</key>
            <dict>
                <key>device-id</key>
                <data>AAAAAA==</data>
                <key>vendor-id</key>
                <data>AAAAAA==</data>
                <key>subsystem-id</key>
                <data>AAAAAA==</data>
                <key>subsystem-vendor-id</key>
                <data>AAAAAA==</data>
                <key>class-code</key>
                <data>AAA=</data>
                <key>compatible</key>
                <string>pci0000,0000</string>
                <key>model</key>
                <string>NotAGPU</string>
                <key>name</key>
                <string>NotAGPU</string>
                <key>IOName</key>
                <string>NotAGPU</string>
                <key>IOPCIMatch</key>
                <data>AAAAAA==</data>
                <key>IONameMatch</key>
                <string>NotAGPU</string>
                <key>IOProviderClass</key>
                <string>IOPCIDevice</string>
                <key>hda-gfx</key>
                <string></string>
                <key>AAPL,slot-name</key>
                <string>NotAGPU</string>
                <key>built-in</key>
                <data>AA==</data>
            </dict>
            <key>PciRoot(0x0)/Pci(0x8,0x1)/Pci(0x0,0x4)</key>
            <dict>
                <key>name</key>
                <string>HDEF</string>
                <key>compatible</key>
                <string>pci1022,1487</string>
                <key>device-id</key>
                <data>hxQAAA==</data>
                <key>hda-gfx</key>
                <string>onboard-1</string>
                <key>built-in</key>
                <data>AQ==</data>
                <key>layout-id</key>
                <data>CwAAAA==</data>
                <key>alc-layout-id</key>
                <data>CwAAAA==</data>
            </dict>
        </dict>
        <key>Delete</key>
        <dict/>
    </dict>
</dict>
</plist>

The first four entries spoof core values of the GPU, effectively making macOS think there's no GPU at any of the included PCI Paths.

The last entry, for PciRoot(0x0)/Pci(0x8,0x1)/Pci(0x0,0x4), defines core values for the on-board Audio Controller, such as hda-gfx and layout-id.
For good measure, I also included alc-layout-id, but this is supposedly not needed (automatically handled by AppleALC).


ACPI
-----

Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
    <dict>
        <key>Comment</key>
        <string>Rename HD Audio AZAL to HDEF</string>
        <key>Enabled</key>
        <true/>
        <key>Find</key>
        <data>QVpBTA==</data>
        <key>Limit</key>
        <integer>0</integer>
        <key>Mask</key>
        <data></data>
        <key>OemTableId</key>
        <data></data>
        <key>Replace</key>
        <data>SERFRg==</data>
        <key>ReplaceMask</key>
        <data></data>
        <key>Skip</key>
        <integer>0</integer>
        <key>TableLength</key>
        <integer>0</integer>
        <key>TableSignature</key>
        <data></data>
    </dict>
</array>
</plist>

This patch is pretty self-explanatory:
It renames the on-board AZAL device to HDEF, which is the name that AppleALC expects, to inject the proper Layout ID and Audio Features.

-------

Major thanks to everyone involved in solving this puzzle.
I must admit - I was close to giving up, quite a few times, but my best friend wouldn't let me; so Kudos to him too.

I will, as suggested by @Edhawk, donate some money to the Forum.


Thanks, and see you around,
DanFQ

<3
 

Attachments

Solution
  AdBlock Detected
Sure, ad-blocking software does a great job at blocking ads, but it also blocks some useful and important features of our website. For the best possible site experience please take a moment to disable your AdBlocker.