Im having similar issue with my HS setup, dell latitute 3480, i5-7200U
Once the hdmi plugged in, the laptop display went blank, only could see the external tv
But, when i put my laptop to sleep & wake up again, both screen got display (hdmi still connected)
Even the hdmi could be plugged off & in (after sleep), the laptop display is fine
What could be the culprit?
Dell’s MacBook Pro IORegistry.zip
Some people do have problem understanding AppleALC, how to use it for their own codecs. Here's how I used it for both Realtek ALC and IDT audio codecs.
For more info on Catalina click here.
NOTICE: The official AppleALC now contains layout-id 72. There's no more need to download the AppleALC.kext.zip file from this post.
After several weeks of toiling (it's July already?!), here's a new audio solution for perfect working audio. I basically ported the linux driver and created a GUI popup menu to configure the combo jack (see screenshot).
Fully working Combo Jack! (Heaphones, headset, AND line-in!) New verb sending kext (no more need for CodecCommander on systems without EAPD troubles; VerbStub is simply a direct port of hda-verb for Linux) Launchdaemon with Windows-like pop-up menu monitors the jack for insertion Automatic OMTP (Nokia)/CTIA (iPhone) detection for headsets! Fully commented sources Notes:
Line-in mode disables audio output. I haven't been able to re-enable the speakers when the jack is purely an input, but that's the only "issue" Zero "no audio after sleep" issues so far Make sure to turn off "Use ambient noise reduction" when using an input that isn't the internal Mic (unless you find that it helps) How does it work?
Simple! Due to the way the Realtek codec is set up on this machine, the ComboJack program watches the jack and switches the codec selector (node 0x22) to the correct input after applying all the requisite processing coefficients and pin widgets. This means that Mac OS only sees a built-in mic, but behind the scenes it actually is connecting to the headset and line-in ports. This works because all input paths lead through selector node 0x22 and into capture node 0x09, and the OS only acknowledges the capture node.
How to install (uses modded AppleALC):
Disable SIP (I use 0x67 for CSRActiveConfig and 0xEE for booterconfig) Remove ALCPlugFix from /usr/bin (may need to kill with Activity Monitor first) Remove good.win.ALCPlugFix.plist from /Library/LaunchAgents (may need to launchctl unload first) Remove CodecCommander from Clover/kexts/Other (unless you need it, but it looks like the 9560 doesn't) Copy VerbStub.kext to EFI/Clover/kexts/Other Copy AppleALC** to EFI/Clover/kexts/Other Change layout-id to 72 (in SSDT-Config -- 0x48 is hex) Run install.sh and read what it says Reboot (and enable SIP if you want)! Download "ComboJack Installer.zip" and "AppleALC.kext.zip" for everything. The other zips are sources.
(Also included in "ComboJack Installer" is a folder containing the platform, layout, and pinconfigs used.)
**AppleALC now includes this layout (layout-id 72) in the official release.
Combo Jack Source.zip