Realtek ALC S1220A audio codec, everything else works :(

Hello everyone, after a long and exhausting research, I'm coming to the conclusion that I need help from someone far more experienced than myself.

I have successfully installed macOS Big Sur 11.3.1 on a NVMe disk, flanked by Windows 10 on another SSD. I'm on a desktop PC with the Asus ROG Strix H470-I motherboard (details on the bottom).
Everything is configured apart from audio, as I don't know how to correctly set the S1220A codec (I'm using the latest AppleALC and Lilu kexts). Audio via HDMI also doesn't work and I suspect it's a separate matter, right? (I have the i5-10400, Comet Lake, with the UHD 630, and my BenQ HDMI monitor works only by finding/setting the correct framebuffer).

I've tried all the layouts already and the best * seems * to be "7" because it recognizes more inputs / outputs. However, I can always and only get the audio from the green jack on the back (line out) with headphones connected (and yet, having connected the classic EarPods, the microphone is not recognized). All other ports, including the two front ones of my case (one for line-out and one for mic), don't work. I also noticed that if I plug the headphones in the front port before starting macOS and/or after resuming from a standby, the audio comes out of there but it's unstable and if I change the port without putting it back into standby and/or restarting it nothing happens and therefore macOS does not perceive the switch has occurred. I have followed to the letter (and several times) the whole dortania guide on OpenCore (started with v0.6.8 and updated to v0.6.9).

In theory, this codec should already be supported, but obviously the layout of the H470-I could be different from others already tested in the 400-chipset series, eg. the Z490.

I recently discovered the PinConfigurator app, is there any way to possibly use it to map the audio correctly? I still don't know exactly how to do it but with some tips I could try if there're no more options to fix this.

This Hackintosh works really well, so much so that it is stable, responsive, perfectly usable; even the Intel Bluetooth and WiFi via the 2.0.0 alpha version of AirPortItlwm, which I found to be extremely stable after making a USB map (via USBtoolbox on Windows) and staying within the 15-ports limit, opting to leave out the Aura controller and USB-C which are unused for me.

Thanks to everyone, I really hope to get some feedback. ❤

iDESK (as iMac20,1): Asus ROG Strix H470-I Gaming ; Intel Core i5-10400 @ 2.90Ghz (Comet Lake-S) ; 16Gb RAM @ 2666MHz ; Sabrent NVMe 256GB ; Samsung SSD 870 QVO 1TB ; Intel UHD Graphics 630 ; Nvidia GeForce GTX 1650 ; Intel Wi-Fi 6 AX201 160Mhz ; Intel Wireless Bluetooth ; Intel Ethernet Connection (11) I219-V ; Realtek RTL8168/8111 PCI-E Gigabit Ethernet ; Realtek ALC S1220A Audio.

submitted by /u/Iperzampem0
[link] [comments]