MaLd0n, many thanks for DSDT, but there is something wrong with it.
I will describe the problem in general: when I start a computer without a modified DSDT, sleep / wake up works as it should. But with a modified DSDT, the computer goes to sleep and does not wake up at all, either from the keyboard / mouse or the button on the case. But without a modified DSDT, the mapping of USB 2/3 ports and, accordingly, fine tuning do not work for me. Also, according to the Mac model, the integrated video card must be configured for empty connectors for Intel Quick Sync Video operation and should not be displayed in the profiler. Any thoughts on what's wrong with DSDT?
I attach a previous version of DSDT and a set of "Send me iMac" to the message.
Added in 6 minutes 20 seconds:
There is a "Send me" kit
DSDT.aml.zip
Send me iMac-Dmitrij.zip