MacPeet Posted August 19, 2020 Share Posted August 19, 2020 @0xd1ab10 every desktop computer has an internal mini speaker for setup bios messages. These are hardly useful for good audio Your Codec_Dump shows internal speakers on nodes 20-12-2 and HP on nodes 33-13-3, just like with my codecs ID15 and ID16 in SwitchMode. These are for Lenovo laptops. The nodes and also EAPD of ID15 / 16 have no difference to your dump. If the external connection is plugged in, the internal connection does not work (SwitchMode). Have you checked this yet? In any case, your nodes are the same as with my ID's and other ID's. Link to comment Share on other sites More sharing options...
atomizasser Posted August 19, 2020 Share Posted August 19, 2020 Dear @vandroiy2012 I've tested last AppleALC 1.5.1 and partially works in Asrock Z490m-ITX/ac. I've tested the different layouts and partially work. With nothing connected only DisplayPort, i only get sound trough rear output (no DP, in fact is not recognized and no front output). Check screenshot If I unplug and connect in front output, no sound. If i boot with headphones connected in front output, (MIDI app recognize as headphones) and get sound, but if unplug and connect in rear output, no sound. VoodooHDA works correctly in analog output. I can plug in rear output and then in front input and continue working. DisplayPort output is not working. If extracted codec_dump from linux, but my knowledge to construct new layout is very very limited. Is there any guide? code_dump.txt code_dump2.txt Link to comment Share on other sites More sharing options...
0xd1ab10 Posted August 20, 2020 Share Posted August 20, 2020 LOL..silly me, that's the debug speaker? I thought debug speakers are always cylinder shape like this thank you @MacPeet ! Link to comment Share on other sites More sharing options...
theroadw Posted August 23, 2020 Share Posted August 23, 2020 (edited) @MacPeet I managed to get all inputs working correctly on my Zbook G5 (CX8400 codec) and they automatically switch on plug detect (using codec commander for the external headset mic noise) Headphone out works perfectly! The speaker out... that's the problem I have 2 test partitions, with different versions of Mojave, in one version, the speaker out "works" but is really loud, and I have to keep the volume really low on my system settings, and it sounds like gain is moving around randomly. I suspect dsp loudness is being used by the system and can't find a way to bypass it on my custom layouts. On the other Mojave test install, speaker gain is correct but the output works for 10 seconds then silence. If I switch back to headphone out and then back to speaker it works again for 10 sec... then again silence. All system settings: Mute, volume, mic noise reduction and plug detect all work. In my test layout I've kept inputs on a switched plug configuration and they work perfectly. For the outputs, I tried to use a switched output layout but can't get sound out of the speaker, the headphone out works perfectly, but if I unplug the headphone, the system switches to speaker, but silence. no errors though, the system believes everything is working, but there is no sound. I read your guide for creating custom ALC and you mention that for switched layout you need a 3rd node for selector switch, but I can't for the life of me find out witch node to use, and I've tried so many options on my tests, I can't find what to use, and the result is always silence or no output device found. I'm sure it must be a simple thing, but I've spend days trying different layouts, configurations, pins, etc... and I need help. I believe that once the switched plug output works for both speaker and headphone, the speaker problems may still exist, and I believe the culprit could be dsp being used, and the next thing is to find out how to disable/bypass these "enhancements". Thanks!! Edit--- Found out the battery patch SSDT is the one causing my audio problems. If I create a new fake EC and keep the laptop's EC0 as such, applealc works as expected. But battery information does not. If I rename EC0->EC and apply the patch to get battery info working, speaker out behaves erratically, sometimes silence after a few seconds, sometimes no audio after sleep, sometimes all good, etc... Edited September 1, 2020 by hugodlc Found culprit Link to comment Share on other sites More sharing options...
huytbt Posted August 24, 2020 Share Posted August 24, 2020 Dear @MacPeet and guys, I have dump codec my desktop. It's Realtek ALC262 with this info - Codec: Realtek ALC262 - Address: 0 - Vendor Id: 0x10ec0262 - Subsystem Id: 0x103c130a - Revision Id: 0x100202 - My PC is HP Workstation Z600 (Xeon X5675) I see this codec is support from AppleALC (https://github.com/acidanthera/applealc/wiki/supported-codecs) I using layout 28, the HDA driver loaded, I can see device in Ouput and Input (System Preference > Audio). But I can hear anything. I have checked HDAF at IORegistry. I saw revision-id is wrong (0x0000) and alc-pinconfig-status=false. Similar I use Hackintool and saw revision id = 0x0000 (my Revision Id is 0x100202). Could you please support me explain this issue. Thanks, Huy card0codec0.txt Link to comment Share on other sites More sharing options...
MacPeet Posted August 24, 2020 Share Posted August 24, 2020 @huytbt Z600 / Z800 with AppleALC ID28 also always needed the CodecCommander.kext. try this! 1 Link to comment Share on other sites More sharing options...
huytbt Posted August 24, 2020 Share Posted August 24, 2020 1 hour ago, MacPeet said: @huytbt Z600 / Z800 with AppleALC ID28 also always needed the CodecCommander.kext. try this! Oh, It's ok for now. Thank @MacPeet very much. Link to comment Share on other sites More sharing options...
KoVol_ Posted August 26, 2020 Share Posted August 26, 2020 (edited) Hi, ThinkPad X1 Yoga 2nd Laptop. MacOS Catalina Audio Codec: CONEXANT CX 11771-11Z the sound card does not work. I checked: - VoodooHDA.kext - AppleALC.kext Any chance to run audio on this codec? If so, can you help? Edited August 26, 2020 by KoVol_ Link to comment Share on other sites More sharing options...
xuegy Posted August 27, 2020 Share Posted August 27, 2020 (edited) Hello, I got a Lenovo ThinkCentre m90n recently. I tested both Catalina and Big Sur. The audio codec is very weird: In Windows and Linux the name is ALC233. However in Mac its ALC235 due to its real device ID: 10EC:0235. Maybe Lenovo did some dirty hack in the firmware. I have tested all layout ids for ALC 235. Layout 11 is kinda working. The problem is the headphone and the speaker can not exist at the same time. If I boot without 3.5mm plugged in, the system can only see the speaker, and the headphone can not be recognized. If I boot with 3.5mm plugged in, the system can only see the headphone, even if I unplug the headphone. I've also tried to compile AppleALC myself with the exact pinconfig but still no luck. Also, audio via DP is not available although I followed the tutorial (HDEF, onboard-1) This is way beyond my knowledge, and no more resources available online. EDIT: I checked in linux and the audio device is switching. If I plug in the headphone, the speaker disappears, vice versa. Thanks. Edited August 28, 2020 by xuegy Link to comment Share on other sites More sharing options...
Paolo7297 Posted September 5, 2020 Share Posted September 5, 2020 Hi! my laptop has a Alc256, but i tried all of the layout id, tried to add another one, but everytime i have no sound output (but the devices are present) I tried CodecCommander, but it doesn't helped me. Can you help me? Link to comment Share on other sites More sharing options...
DJ IMC Posted September 7, 2020 Share Posted September 7, 2020 (edited) Completely wrong post. Please ignore. Edited September 7, 2020 by DJ IMC Wrong info posted. Link to comment Share on other sites More sharing options...
alfredomeraz Posted September 16, 2020 Share Posted September 16, 2020 I use this method on my Acer S3-391-6046 and it works nicely in Catalina. However, I think that I have a resource conflict that I don't know how to solve, and I hope you can help me. Ever since I installed these kexts, the wifi card started misbehaving randomly. I noticed the problem from the very moment I installed these kexts, because the wifi connection went off. What I did was, I finished configuring the audio, and then reinstalled the wifi card's kexts. It is an Atheros 9462, which contrary to what is read in several places, it works like a charm applying these kexts: ATH9KInjector and IO80211Family_ATH. Most of the times both work pretty well on boot. However, when the wifi card stops working, there's no way of bringing it back on, other than rebooting and reinstalling its kexts, at which point it works again as expected. I suspect a resource conflict. An IRQ conflict probably. Would you please guide me in diagnosing the problem so I can fix it? Regards Link to comment Share on other sites More sharing options...
thefiredragon Posted September 17, 2020 Share Posted September 17, 2020 (edited) Dear all, I have a support request for my lenovo yoga slim 7, It is using an intel i7 1065g and running big sur beta 7. The last release of AppleALC added the codec 287 which is not working. I had try to fix them without result. Perhaps someone could help to fix them? Attached my codecdump from linux and my currently ioreg file, How described on last release I tried layout 11 under device properties in oc. best Regards, Dan alc.txtl enovoslim7.zip Spoiler Edited September 17, 2020 by thefiredragon Link to comment Share on other sites More sharing options...
Jestera1 Posted September 18, 2020 Share Posted September 18, 2020 Hi I am trying to create a layout for a dell 7390 2 in 1. In linux it is showing as an ALC289, which has 2 layouts 11 and 23 already. Layout 11 looks like it is working so the volume goes up and down but there is no sound and the microphone shows levels so that looks like that is working. I have created a codec dump and a graphic diagram. I am a bit stuck looking at the diagram to figure out the flow as the only constant blue line through is the internal mic. Would someone be able to give me some pointers on how to figure out which path I should be using and how to create the xml path info file? Files are attached. Thanks ALC289_codec_dump_txt_converts.zip Link to comment Share on other sites More sharing options...
thefiredragon Posted September 19, 2020 Share Posted September 19, 2020 Or another question, how I could bring up a own resources folder, pin config I could generate with the pin configurator, is there an other documentation instead of the GitHub page? My codec is already listet but not working, my default layout id is 7 instead of 3 perhaps this is the reason and I had read I would need to bring up an own codec. nice to know would be which files I need to edit or create before I take a own build so we have on resources folder the info.plist platforms.plist and layout.plist also I now that values there are in base64 and need to be readable Converted to hex or decimal values . I only do not now how to compare the right informations from my dump , codec is listed under 287 are correct pin list are wrong but it’s not loading correctly. under hackintook I can also the that min and max kernel values are not set when apple alc is loading with layout is 11 thanks perhaps someone could help here to make this more clear to understand for me best regards Dan Link to comment Share on other sites More sharing options...
vuongdingo Posted September 20, 2020 Share Posted September 20, 2020 doesn't working on mgp z490 gaming plus realtek ALC1200 Link to comment Share on other sites More sharing options...
zachs78 Posted September 21, 2020 Share Posted September 21, 2020 (edited) On 9/18/2020 at 7:56 PM, Jestera1 said: Hi I am trying to create a layout for a dell 7390 2 in 1. In linux it is showing as an ALC289, which has 2 layouts 11 and 23 already. Layout 11 looks like it is working so the volume goes up and down but there is no sound and the microphone shows levels so that looks like that is working. I have created a codec dump and a graphic diagram. I am a bit stuck looking at the diagram to figure out the flow as the only constant blue line through is the internal mic. Would someone be able to give me some pointers on how to figure out which path I should be using and how to create the xml path info file? Files are attached. Thanks ALC289_codec_dump_txt_converts.zip The XPS 15 9500 has almost the same ALC289 as yours (diff your codec dump with mine) but a little different to the Alienware m17 r2. The Alienware has an extra external interface (HDMI 2.0 port) which is missing on ours. I have a different problem with layout 11 - both mic and builtin speakers work, but there's a high CPU load on one of the cores. I suspect it's because it has an extra output that we don't support, which may also contribute to the problem you're facing. I'm stuck at the part where we're supposed to correct the verb data. I can't work out which octet I'm supposed to zero out its lower nibble. EDIT: The major differences are: Node 0x12 Pin Default 0xb7a60130: [Fixed] Mic at Oth Mobile-In Node 0x1d Pin Default 0x03211020: [Jack] HP Out at Ext Left codec_dump0.txt EDIT2: Tried headkaze/PinConfigurator. Attached verbs.txt. Need some help figuring out what I need to do next with the xml zlib compressed files. verbs.txt Edited September 21, 2020 by zachs78 Link to comment Share on other sites More sharing options...
najeeb_anwer Posted September 26, 2020 Share Posted September 26, 2020 I have installed macOS Catalina (10.15.7) on a Dell XPS 13 9300 and I'm trying to get the audio working. Hardware & Software configuration: CPU: Intel Core i7-1065G7 (Ice Lake) GPU: Intel Iris Plus Graphics RAM: 32GB Disk: Samsung 970 EVO Plus 2TB NVMe SSD Bootloader: OpenCore 0.6.1 SystemProductName: MacBookAir9,1 The OS loads properly but the audio output from the internal speakers does not work. I am using AppleALC. The codec is Realtek ALC289. There are two available layout ids in AppleALC and I have tried them both. I have better luck with layout id 11 (0B) as it appears to load and shows both the internal speakers and internal microphone. The microphone registers sounds in Sound Preferences, but there is no output from the speakers at all. As a result, video does not play either. If I connect to an Airplay Display, then both audio and video work. I have tried adding SSDT-HPET just in case there are any IRQ conflicts with the audio device, but it made no difference. I have attached the codec info from Ubuntu so that maybe some kind soul can add this as a new layout id for ALC289 for Dell XPS 13 9300. Dell XPS 13 9300 - codec0.txt Thanks in advance for any help you can provide. Link to comment Share on other sites More sharing options...
mdiamond Posted September 27, 2020 Share Posted September 27, 2020 (edited) Prior to updating to 10.15.7, I was able to get clean audio out of all of my soundcard outputs. Now I get a cyclic type buzz which appears to follow onscreen activity (moving sliders, windows and mouse presses for example).The issue lies somewhere from the macos software output to applications input as the signal shown on macos sound preferences is clean. Also, listening to software audio sources via the same outputs does not produce the same issue and sound is output correctly. I should point out that sound sources from the physical inputs can be heard as well as the buzz at the outputs.Any ideas on how I could correct this issue? Is this likely to be a kext update issue?I have tried adding HDAS to HDEF and injecting various Audio IDs for my motherboard to no avail. Any assistance would be greatly appreciated. Edited September 27, 2020 by mdiamond Link to comment Share on other sites More sharing options...
HMNT96 Posted September 28, 2020 Share Posted September 28, 2020 HP Pavilion 15-AC190nia OpenCore Catalina 15.6 ALC282 (10ec:0282) 0x100003, layout 3, 4, 13, 22, 27, 28, 29, 41, 43, 51, 76, 86, 127 (tried them all, none work, attachments are with 3) Did exactly as Dortania.github.io said but I can't find proper layout id to set in config.plist . I tried setting alcid in bootargs to all of above but none work. opencore boot log, efi folder, info.plist, debug log as instructed in GitHub alc page also attached. EFI.zip Info.plist Log as in github.txt opencore-2020-09-28-175000.txt Link to comment Share on other sites More sharing options...
Jestera1 Posted October 2, 2020 Share Posted October 2, 2020 Hardware Configuartion Dell 7390 CPU: Intel Core I7-i7-1065G7 Opencore 0.6.1 OS: Catalina 10.15.7 Existing layout 11 seems to have audio working but no sound. I have created the codec graph and worked through the AppleALC tutorial for creating a custom layout, in my case Layout 99. I have adjusted the verbs using guidance from the tutorial and created a layout with a mixer for input and no mixer for output. Putting the verbs into PinConfig.kext and adding entries for the layouts I can only get as far as getting a hiss coming through on headphones. It registers the headphone port switch when plugged in and creates a hiss but still no actual audio out from internal speakers or the headphones. I'm a bit stuck as to whether the issue is with my manually adjusted PinConfig.Kext or the platform.xml values for MuteInputAmp, PublishMute, PublishVolume and VolumeInputAmp. Node 0x1b is an an input and output amp so I'm not sure if that should be used for both or output only. I have attached my working files in the hope someone can point me in the right direction. I would like to understand where I'm going wrong (or maybe right). Thanks ACL289-dell-7390-i7-1065G7.zip Link to comment Share on other sites More sharing options...
themarti Posted October 3, 2020 Share Posted October 3, 2020 Hi, Lenovo V530 Desktop PC CPU:i5 9400 Opencore 0.6.1 OS: Catalina 10.15.7 Audio Chipset:Realtek ALC623 (new) Linux patch https://lore.kernel.org/patchwork/patch/1148374/ is there any patch like this? or fake pci id etc.. thanks Link to comment Share on other sites More sharing options...
devillived666 Posted October 5, 2020 Share Posted October 5, 2020 Hey folks, I have codec cx 8150. It has been great, even though big sur . Upon updating to big sur beta 9, my mic no longer works. Could you help me? Send me Denniss-MacBook-Pro.zip Link to comment Share on other sites More sharing options...
devillived666 Posted October 6, 2020 Share Posted October 6, 2020 Update, mic only works after sleep. Can anybody help me? Link to comment Share on other sites More sharing options...
ammoune78 Posted October 7, 2020 Share Posted October 7, 2020 Guys, I'm compiling AppleALC from latest commit with Xcode 11.3, but never get release folder, I only get Debug, I'm doing something wrong or I forget something? Also, in the debug folder there's resourceconverter file, what is the use of it? Link to comment Share on other sites More sharing options...
Recommended Posts