Thanx for the DSDT, problem is when I use the DSDT, sleep is not working anymore. When the pc is trying to sleep it's not sleeping (screen is black) if I try to "wake" it I got a kernel panic error
I added my config.plist in the attachments
Panic erro:
panic(cpu 0 caller 0xffffff8015225c97): "AppleHDAHDMI_DPDriver::setPowerState(0xffffff805d60f500 : 0xffffff7f98245730, 0 -> 1) timed out after 10156 ms"@/BuildRoot/Library/Caches/com.apple.xbs/Sources/xnu/xnu-6153.0.103.151.1/iokit/Kernel/IOServicePM.cpp:5283
Backtrace (CPU 0), Frame : Return Address
0xffffffa3fdd8bb40 : 0xffffff8014b3da1b
0xffffffa3fdd8bb90 : 0xffffff8014c74aa5
0xffffffa3fdd8bbd0 : 0xffffff8014c6658b
0xffffffa3fdd8bc20 : 0xffffff8014ae4bb0
0xffffffa3fdd8bc40 : 0xffffff8014b3d107
0xffffffa3fdd8bd40 : 0xffffff8014b3d4eb
0xffffffa3fdd8bd90 : 0xffffff80152cd559
0xffffffa3fdd8be00 : 0xffffff8015225c97
0xffffffa3fdd8be50 : 0xffffff8015225859
0xffffffa3fdd8be60 : 0xffffff801523c8ae
0xffffffa3fdd8bea0 : 0xffffff8015224608
0xffffffa3fdd8bec0 : 0xffffff8014b7f265
0xffffffa3fdd8bf40 : 0xffffff8014b7ed91
0xffffffa3fdd8bfa0 : 0xffffff8014ae413e
BSD process name corresponding to current thread: kernel_task
Mac OS version:
19A526h
Kernel version:
Darwin Kernel Version 19.0.0: Tue Jul 23 01:19:36 PDT 2019; root:xnu-6153.0.103.151.1~4/RELEASE_X86_64
Kernel UUID: 77E43123-9759-324A-BEE5-4C2404BC0BF3
Kernel slide: 0x0000000014800000
Kernel text base: 0xffffff8014a00000
__HIB text base: 0xffffff8014900000
System model name: iMac17,1 (Mac-DB15BD556843C820)
System shutdown begun: NO
Panic diags file available: YES (0x0)
System uptime in nanoseconds: 293041118015
config.plist.zip