@LisaAlterEgo my first suggestion for you is "learn the art of reading".
Im on vacation and i can't answer until im back, but i had to come and post this from my phone as i saw the unnecessary *wrong* mess that you are talking about.
You didn't even read the first 4-5 rows of the guide because if you did, you would've noticed that you are Off Topic because i already have a macOS Catalina guide from the first day that PB1 came out and it was linked in the beginning of the guide.
Fixing ALC221 audio in Mojave 10.14.6 (18G87), Catalina (19A526h) with Clover r5033.
I wanted to post this in case others are having ALC221 problems like I did. I have three
8300 i5 hackintoshes, 2 with i5-3470 and one with an i5-3570. One of the i5-3470 machines
has MSI Nvidia GeForce 730 2GB Kepler graphics, and the other has MSI RX560 LP 4GB graphics.
In each case, I disable the Integrated Video in the BIOS 3.08 under Advanced : Device Options,
and enable System Audio under Security : Device Security.
I downloaded and compiled AppleALC 1.4.0, Lilu 1.3.8, WhateverGreen 1.3.1, VirtualSMC
SMCProcessor and SMCSuperIO versions 1.07 installed them in Library/Extensions and rebuilt
my caches. I also installed CodecCommander and hda-verbs as instructed by Sniki.
Please note that Catalina requires some extra steps to install Kexts and rebuild
the cache, which Sniki left out here.
The latest AppleALC instructions tell us to set Inject Audio in config.plist to No, and Trs96 advises
us to set it to 0. To advise AppleALC of the ALC221 layout-id of 11, you need to define a device
property dictionary for
PciRoot(0x0)/Pci(0x1b,0x0)
I currently set 3 items in there:
codec-id <2102ec10>
device-id <201e0000>
layout-id <0b000000> (i.e. 11).
I noticed in IOregistry explorer that the codec-id was set on its own in Mojave, but was not being set in Catalina.
Alternatively, or in addition, you can set the Boot section Argument: alc-id=11.
After this, the majority of the audio functions work, but not always reliably for me. It often failed
on the first boot, and I had to boot twice to get HDMI audio. Sometimes it would still fail to recognize
the HDMI audio with the Nvidia graphics, and I would have to reboot. In addition, the microphone
would never work.
For Mojave, I found the solution was to set Inject Audio in config.plist to 11. I haven't removed the
device properties and the alc-id boot setting alc-id=11 is not required. Everything works, including the
microphone.
For Catalina, I found the solution was to set Inject Audio in config.plist to 11. I haven't removed the
device properties. If the alc-id boot setting is not set to alc-id=11, the devices at HDEF do not appear
in sound preferences, but if I also set the alc-id boot setting alc-id=11, everything works, including the
microphone.
If I look at IORegistryExplorer, IOService, HDEF@1B, I can see the symptom of a working or failing
microphone. In the property listings, I see a RMCF.cache there with a CodecCommander dictionary
when the microphone is working.
In addition, I'm not sure if the recommended settings by Trs96 and/or Sniki for audio are correct
in my case. In my setup, it doesn't respond to setting onboard-1 or onboard-2 in properties as I
expect. Also the patch to rename GFX0 to IGPU doesn't apply to me, and WhateverGreen seems
to rename PEGP@ffff in the IOACPIPlane to GFX0@0 in IOService.
First of all Inject=0 is the same as Inject=No
Would be same like boolean values,on some editors you see Inject=true or false, on some others Inject=yes or no.
It has been like that since pretty much the existence of Clover and has absolutely no relation to the issue you are mentioning.
layout-id is the only injection that you need whether it be (number) 11 or (data) 0b000000
I have both Catalina and Mojave 10.14.6 on my 8300 SFF and never faced a single issue.
You either didn't install kext correctly or have another issue with your setup that is affecting your audio.
All inputs and outputs are working perfect for me.
Change GFX0 to IGPU is required and everything i listed is needed if you want to follow my guide.
"I can't help thursty people with their thirst if they refuse to drink water" you get the idea of what im refering to.
Please note that Catalina requires some extra steps to install Kexts and rebuild
the cache, which Sniki left out here.
The latest AppleALC instructions tell us to set Inject Audio in config.plist to No, and Trs96 advises
us to set it to 0. To advise AppleALC of the ALC221 layout-id of 11, you need to define a device
property dictionary for
PciRoot(0x0)/Pci(0x1b,0x0)
I currently set 3 items in there:
codec-id <2102ec10>
device-id <201e0000>
layout-id <0b000000> (i.e. 11).
Nothing special with Catalina.
I like the changes that Apple did with Keeping and Protecting System Integrity.
I keep saying for millions of times that all kexts should be installed to L/E and not S/L/E and still people refuse to listen and just work as they head say.
I did install all my kexts to L/E without the need to mount file system as you say.
However macOS Catalina is still in Beta and things may change on each beta.
When final release comes out i will complete the Catalina guide with all the steps (still won't be an Alphabet book to teach people to read).
If they don't read things won't work which is expected.
I noticed in IOregistry explorer that the codec-id was set on its own in Mojave, but was not being set in Catalina.
Alternatively, or in addition, you can set the Boot section Argument: alc-id=11.
After this, the majority of the audio functions work, but not always reliably for me. It often failed
on the first boot, and I had to boot twice to get HDMI audio. Sometimes it would still fail to recognize
the HDMI audio with the Nvidia graphics, and I would have to reboot. In addition, the microphone
would never work.
Like i said all inputs and outputs and audio in General with Clover Bootloader has been perfect for me in this machine, for you people with dedicated GPUs it may be another story.
Also keep in mind that there is a known problem with AppleALC that i discussed with vit9696 here:
https://github.com/acidanthera/bugtracker/issues/422
It may be affecting you with Dedicated GPU, hasn't been an issue with clover for me.
Yes, as I explained, Inject Audio set to 0 doesn't work, and it also doesn't correspond to the latest AppleALC instructions
which say to set it to "No."
The properties for PCiRoot(0)/PCI(0x1b,0) include setting layout-id to 11, which can also be written as type data with value 0b000000.
I'm using Sniki's SSDT-HP.aml installed in EFI/Clover/ACPI/Patched.
If you look at Sniki's setting for PciRoot(0)/PCI(0x02,0), it is an empty dictionary which sets no properties.
Unfortunately, Sniki doesn't respond to questions that I have posted here.
The rest of repeated words have been answered above.
About PciRoot(0)/PCI(0x02,0) i left this empty because HD2500 users are facing issues with setting a framebuffer and most of them use dedicated GPU.
Keep in mind that it's up to everyones duty to fix their stuff.
I baked the food, braked it into small pieces for easy swallow , i put it on everyones mouth but i can't swallow it for you.
Again, if you have issues with catalina post on catalina guide.
Second: Catalina is still in beta and have issues on Apple Computers, what do you expect on hackintoshes ?
Third: don't expect anyones guide (not just my guides) to include every single thing. There is no such all in one hackintosh guide.
It's up to everyones duty to read all the guides for each specific component to have a basic understanding.
Many people here have spent hundreds and thousands of hours to write things as easy as it gets to understand for each component.
Everyone should read things like:
- Rules
- FAQ
- All Guides at each support forum that are sticky threads like how to fix iMessage, how to fix IGPU, how to create USB installer, how to fix HDMI audio etc,etc,etc...
If you have an issue, report clearly and shortly on what your problem is and as always attach "Problem Reporting" files as it is a requirement in order for me to help without PR files i can't guess what your problem is as im not a clairvoyant therefore don't expect answer.
Im on my summer vacation, i won't be able to troubleshoot any problem until im back (Sunday evening).