arsradu Posted March 26, 2019 Share Posted March 26, 2019 (edited) Yeah, so, I've got AppleALC 1.3.4 with Lilu 1.3.4 on my sig build, aaand...I had occasions where it will simply lose audio. The devices are still detected, the kexts are obviously loaded, but no actual sound. And I've got AppleALC 1.3.5 (and 1.3.6) with Lilu 1.3.3 on a Skylake build, with no issues. Also, I've tried Lilu 1.3.5 & AppleALC 1.3.6 (official builds) and i've got the same weird issue with no sound sometimes, on the Skylake build. Weird thing is that I've got the same versions on my Haswell build...and so far so good... So something has to be different here... So far, I'd say this is probably a bug with Lilu...? Cause it doesn't seem to occur with combinations of old-Lilu + newer AppleALC. So: Lilu 1.3.3 + AppleALC 1.3.4 -> OK Lilu 1.3.4 + AppleALC 1.3.4 -> no sound sometimes...but devices are still detected in System Preferences, just..no actual sound Lilu 1.3.5 + AppleALC 1.3.6 -> OK...for now, but only on one build. On the Skylake, I still get no sound sometimes (and the devices are not detected either). Only BT devices (probably USB devices, too) seem to work in this case. Later update: Lilu 1.3.5 + 1.3.6 = same issue on both builds I'll keep investigating this, but so far, the most stable versions seem to be Lilu 1.3.3 + AppleALC 1.3.4. AppleALC doesn't seem to have any effect here. So, it works just as well with Lilu 1.3.3 and AppleALC 1.3.6, for example. But Lilu didn't work the same way regardless of version. And it looks like, starting with Lilu 1.3.4, there's a problem somewhere. Edited March 31, 2019 by arsradu Link to comment Share on other sites More sharing options...
spiritstealer Posted March 27, 2019 Share Posted March 27, 2019 hello, well I'm having an issue where No audio at all, neither through headphones nor through speakers, no devices show on the Audio control panel, neither in nor out I Tried : 1- installing AppleALC.Kext to /L/E2- config.plist : A : DSDT patch: HDAS to HDEFB: Devices: Inject “1” , ResetHDA : YESvanilla AppleHDA is still loaded in the system Config Plist used: Rehabman’s Config for UHD630MACOS : 10.14.3Motherboard: HP Pavilion Gaming 15-CX0056wm BIOS: Clover UEFI Processor intel core i5-8300H & 300 Series ChipsetGraphics: intel UHD 630 (working) / nVidia 1050Ti (not working but didn’t disable it yet)Audio : Vendor ID : 10EC (Realtek) Device ID : 0295 (after searching the internet I think the codec my device use is ALC295 correct me if I’m wrong)Guide used to install macOS :Why InsanelyMac does not support tonymacx86Guide to get Audio Working:Why InsanelyMac does not support tonymacx86I tested all the layout IDs (1,3,13,14,15,28) but nothing workedThanks for your support AudioIssueFIles.zip Link to comment Share on other sites More sharing options...
brousseau6933 Posted March 27, 2019 Share Posted March 27, 2019 On 3/26/2019 at 3:08 PM, arsradu said: Yeah, so, I've got AppleALC 1.3.4 with Lilu 1.3.4 on my sig build, aaand...I had occasions where it will simply lose audio. The devices are still detected, the kexts are obviously loaded, but no actual sound. And I've got AppleALC 1.3.5 (and 1.3.6) with Lilu 1.3.3 on a Skylake build, with no issues. Also, I've tried Lilu 1.3.5 & AppleALC 1.3.6 (official builds) and i've got the same weird issue with no sound sometimes, on the Skylake build. Weird thing is that I've got the same versions on my Haswell build...and so far so good... So something has to be different here... So far, I'd say this is probably a bug with Lilu...? Cause it doesn't seem to occur with combinations of old-Lilu + newer AppleALC. So: Lilu 1.3.3 + AppleALC 1.3.4 -> OK Lilu 1.3.4 + AppleALC 1.3.4 -> no sound sometimes...but devices are still detected in System Preferences, just..no actual sound Lilu 1.3.5 + AppleALC 1.3.6 -> OK...for now, but only on one build. On the Skylake, I still get no sound sometimes (and the devices are not detected either). Only BT devices (probably USB devices, too) seem to work in this case. I'll keep investigating this, but so far, the most stable versions seem to be Lilu 1.3.3 + AppleALC 1.3.4. AppleALC doesn't seem to have any effect here. So, it works just as well with Lilu 1.3.3 and AppleALC 1.3.6, for example. But Lilu didn't work the same way regardless of version. And it looks like, starting with Lilu 1.3.4, there's a problem somewhere. Ok, will keep Lilu 1.3.3 and AppleALC then. It seems ok anyway with the latest 10.14.4. Thanks. Link to comment Share on other sites More sharing options...
MacPeet Posted March 30, 2019 Share Posted March 30, 2019 hello @vandroiy2012 I have a new codec. ALC235 - LayoutID 16 (10) for ASUS GL553VD new_Resources_alc235.zip can you please added the new codec? many thanks 2 Link to comment Share on other sites More sharing options...
naquaada Posted March 30, 2019 Share Posted March 30, 2019 (edited) Hello, I have a Dell 17R 7720 Special Edition Laptop (Core i7, HD 4000, nVidia GT 650M) and actually I'm checking the audio problem. VoodooHDA works, but main volume control is not possible. It's a bit annyoing to use the volume control of each program. I modified some of the kext because Apple libraries higher than 8.0.0 were necessary, so all kexts are working. AppleALC.kext is loaded, I also added the IDT 92HD91BXX (Codec ID: 0x111D76E0 / 287143648), but during booting it's displayed that the pinout is wrong. How can I create a new one? Greets, naquaada. Edited April 1, 2019 by naquaada Link to comment Share on other sites More sharing options...
naquaada Posted March 31, 2019 Share Posted March 31, 2019 In the System Profiler all audio connectors are shown, but it's still not activated. It shows Audio ID 7. Link to comment Share on other sites More sharing options...
tom666 Posted April 1, 2019 Share Posted April 1, 2019 (edited) @vandroiy2012 Applealc have some thing wrong on my laptop I5 4250u alc269vc all of the layout id colud not work. i have also use linux to find the codec i uploaded the clover , dsdt,codec. what should I do? This problem has been bothering me for two days. thanks 2019-03-31 20:18:23.389590+0800 localhost kernel[0]: (kernel) AppleALC: alc @ failed to find IOHDACodecVendorID, retrying 0 2019-03-31 20:18:17.997435+0800 localhost kernel[0]: calling mpo_policy_init for Lilu 2019-03-31 20:18:18.003796+0800 localhost kernel[0]: Security policy loaded: Lilu Kernel Extension 1.3.5 (Lilu) 2019-03-31 20:18:23.389590+0800 localhost kernel[0]: (kernel) AppleALC: alc @ failed to find IOHDACodecVendorID, retrying 0 2019-03-31 20:18:23.398483+0800 localhost kernel[0]: (kernel) Lilu: patcher @ lookup patching applied only 0 patches out of 1 all.zip Edited April 1, 2019 by tom666 Link to comment Share on other sites More sharing options...
WHLBR Posted April 1, 2019 Share Posted April 1, 2019 (edited) On 3/11/2019 at 1:16 AM, MortyMars said: Hi, I've solved my pb by installing CodecCommander.kext of Rehabman (thanks), in L/E like recommended, and after editing the info.plist file... Thanks ;-) Hi, i have the same pb like you. Could you share your CodecCommander file ? I have a XPS 13 9370 too with an ALC299. Device showed up but no audio. You placed it in the L/E not S/L/E ? Best regards all.zip Edited April 1, 2019 by WHLBR Link to comment Share on other sites More sharing options...
nerlins Posted April 3, 2019 Share Posted April 3, 2019 (edited) I used to do the hackintosh about 8 years ago. I stopped but recently fell into a couple of used macs that needed hardware repair to get going. Would AppleALC work on a real Mac? I have an old iMac 8,1 that I have patched to 10.14.4 with dosdude1's tool. I get bad audio clipping with his Legacy Audio Patcher. I have a vanilla AppleHDA.kext that I can pull from a supported Mac with 10.14.4 already on it. I have installed Lilu and AppleALC into /L/E/ but I think I am still missing a boot argument that I cannot figure out. DCPI Manager says my iMac's audio is Realtek ALC889A. I am supposed to avoid using Clover on a real Mac, so all I can think of is not having the right boot argument in place for AppleALC to work. Thanks in advance. Edited April 3, 2019 by nerlins Link to comment Share on other sites More sharing options...
Rodion2010 Posted April 3, 2019 Share Posted April 3, 2019 3 minutes ago, nerlins said: Would AppleALC work on a real Mac? You ll need some kind of custom build, because Mac's codec resource differ from PC's one iMac uses 0x10ec0885 it is 0885 not 889 layout 62 layout62.xml.zip Platforms17.xml.zip edit that data if you need and build a custom AppleALC Link to comment Share on other sites More sharing options...
Rodion2010 Posted April 3, 2019 Share Posted April 3, 2019 (edited) @Rodion2010 Edited April 3, 2019 by Rodion2010 just a test 1 Link to comment Share on other sites More sharing options...
tyufhl Posted April 3, 2019 Share Posted April 3, 2019 @Rodion2010 thank. Link to comment Share on other sites More sharing options...
naquaada Posted April 3, 2019 Share Posted April 3, 2019 I got audio to work on my Dell Inspiron 7720 to work with a modified version of VoodooHDA.kext. Volume control works, too. Link to comment Share on other sites More sharing options...
spiritstealer Posted April 4, 2019 Share Posted April 4, 2019 (edited) On 3/27/2019 at 2:47 PM, spiritstealer said: hello, well I'm having an issue where No audio at all, neither through headphones nor through speakers, no devices show on the Audio control panel, neither in nor out I Tried : 1- installing AppleALC.Kext to /L/E2- config.plist : A : DSDT patch: HDAS to HDEFB: Devices: Inject “1” , ResetHDA : YESvanilla AppleHDA is still loaded in the system Config Plist used: Rehabman’s Config for UHD630MACOS : 10.14.3Motherboard: HP Pavilion Gaming 15-CX0056wm BIOS: Clover UEFI Processor intel core i5-8300H & 300 Series ChipsetGraphics: intel UHD 630 (working) / nVidia 1050Ti (not working but didn’t disable it yet)Audio : Vendor ID : 10EC (Realtek) Device ID : 0295 (after searching the internet I think the codec my device use is ALC295 correct me if I’m wrong)Guide used to install macOS :Why InsanelyMac does not support tonymacx86Guide to get Audio Working:Why InsanelyMac does not support tonymacx86I tested all the layout IDs (1,3,13,14,15,28) but nothing workedThanks for your support AudioIssueFIles.zip @vit9696 hello man, sorry but I've been waiting for about a week now, can you please help me out ? I've provided all the info i could get my hands on, the Info.plist tool you've linked gives me 404 error code (no file found) Thanks for your time & Support man. Edited April 4, 2019 by spiritstealer Link to comment Share on other sites More sharing options...
Ali Jamali Posted April 5, 2019 Share Posted April 5, 2019 (edited) Hi Can someone help me with this? I have Dell Optiplex 3060 that came with combo jack (front), speaker port (back) and internal speaker the codec is ALC255 Layout 18 - I try all layout IDs. please see the result in the attachment (screenshot) I attached some files that could be helpful to fi my issues - the second screenshot shows the ports in my PC - the codec dump from Ubuntu (sound drivers installed) is in the attachment - the Dmsg from Ubuntu is in the attachment - Screenshot from Dmsg is in the attachment (shows something related to the sound card) Note1: currently I am running version 1.3.6 of AppleALC Note2: all the test has been done with AppleALC 1.3.5 Note3: using layout27 in AppleALC 1.3.6 if I connect my headphone to the back jack. the mic is working with noise !!! (in Ubuntu and windows the mic never work from the back jack. the back jack used only for speaker). I try a mic only without headphone and it's not working. only headphone mic working with noise One more question. Is there any tutorial to modify the AppleALC? thanks dmsg.log CodecDump.zip Edited April 5, 2019 by Ali Jamali Link to comment Share on other sites More sharing options...
Andres ZeroCross Posted April 8, 2019 Share Posted April 8, 2019 @vandroiy2012 i want to ask,, what's "Anti Click Patch" in newest commit? Can you give explanation? Link to comment Share on other sites More sharing options...
Andrw0380 Posted April 9, 2019 Share Posted April 9, 2019 (edited) 6 hours ago, Andres ZeroCross said: @vandroiy2012 i want to ask,, what's "Anti Click Patch" in newest commit? Can you give explanation? Hey @Andres ZeroCross thanks so much for your work! I wanted to know the answer too because I thought the Anti-click meant the click you get when the audio codec goes to sleep, but I still get that click or pop as some people call it unless there are two different things? Is there a proper way to get AppleALC to use AntiPop instead of using another product or script? Please let me know as this issue and the COEF issue with my Realtek ALC256 for headsets are the main things I've noticed with Hackintosh. Edited April 9, 2019 by Andrw0380 Link to comment Share on other sites More sharing options...
Andres ZeroCross Posted April 11, 2019 Share Posted April 11, 2019 On 4/9/2019 at 7:10 AM, Andrw0380 said: Hey @Andres ZeroCross thanks so much for your work! I wanted to know the answer too because I thought the Anti-click meant the click you get when the audio codec goes to sleep, but I still get that click or pop as some people call it unless there are two different things? Is there a proper way to get AppleALC to use AntiPop instead of using another product or script? Please let me know as this issue and the COEF issue with my Realtek ALC256 for headsets are the main things I've noticed with Hackintosh. Open macIASL and create new file then paste this, then save as SSDT-1.aml and put to EFI/CLOVER/ACPI/Patched. Make sure there is no RMCF method in HDEF at your DSDT.aml. DefinitionBlock ("", "SSDT", 1, "hack", "ALC256", 0x00003000) { External(_SB.PCI0.HDEF, DeviceObj) Name(_SB.PCI0.HDEF.RMCF, Package() { "CodecCommander", Package() { "Custom Commands", Package() { Package(){}, // signifies Array instead of Dictionary Package() { // 0x19 SET_PIN_WIDGET_CONTROL 0x25 "Command", Buffer() { 0x01, 0x97, 0x07, 0x25 }, "On Init", ">y", "On Sleep", ">n", "On Wake", ">y", }, Package() { // 0x21 SET_UNSOLICITED_ENABLE 0x83 "Command", Buffer() { 0x02, 0x17, 0x08, 0x83 }, "On Init", ">y", "On Sleep", ">n", "On Wake", ">y", }, Package() { // 0x20 SET_COEF_INDEX 0x36 "Command", Buffer() { 0x02, 0x05, 0x00, 0x36 }, "On Init", ">y", "On Sleep", ">n", "On Wake", ">y", }, Package() { // 0x20 SET_PROC_COEF 0x1737 "Command", Buffer() { 0x02, 0x04, 0x17, 0x37 }, "On Init", ">y", "On Sleep", ">n", "On Wake", ">y", }, }, "Perform Reset", ">n", //"Perform Reset on External Wake", ">n", // enable if using AppleALC "Send Delay", 10, "Sleep Nodes", ">n", }, }) } //EOF Credit to vbourachot. BUT DON'T FORGET to put CodecCommander.kext to Library/Extensions and rebuild kext cache. Link to comment Share on other sites More sharing options...
Andrw0380 Posted April 13, 2019 Share Posted April 13, 2019 (edited) On 4/11/2019 at 3:02 AM, Andres ZeroCross said: Open macIASL and create new file then paste this, then save as SSDT-1.aml and put to EFI/CLOVER/ACPI/Patched. Make sure there is no RMCF method in HDEF at your DSDT.aml. DefinitionBlock ("", "SSDT", 1, "hack", "ALC256", 0x00003000) { External(_SB.PCI0.HDEF, DeviceObj) Name(_SB.PCI0.HDEF.RMCF, Package() { "CodecCommander", Package() { "Custom Commands", Package() { Package(){}, // signifies Array instead of Dictionary Package() { // 0x19 SET_PIN_WIDGET_CONTROL 0x25 "Command", Buffer() { 0x01, 0x97, 0x07, 0x25 }, "On Init", ">y", "On Sleep", ">n", "On Wake", ">y", }, Package() { // 0x21 SET_UNSOLICITED_ENABLE 0x83 "Command", Buffer() { 0x02, 0x17, 0x08, 0x83 }, "On Init", ">y", "On Sleep", ">n", "On Wake", ">y", }, Package() { // 0x20 SET_COEF_INDEX 0x36 "Command", Buffer() { 0x02, 0x05, 0x00, 0x36 }, "On Init", ">y", "On Sleep", ">n", "On Wake", ">y", }, Package() { // 0x20 SET_PROC_COEF 0x1737 "Command", Buffer() { 0x02, 0x04, 0x17, 0x37 }, "On Init", ">y", "On Sleep", ">n", "On Wake", ">y", }, }, "Perform Reset", ">n", //"Perform Reset on External Wake", ">n", // enable if using AppleALC "Send Delay", 10, "Sleep Nodes", ">n", }, }) } //EOF Credit to vbourachot. BUT DON'T FORGET to put CodecCommander.kext to Library/Extensions and rebuild kext cache. Thanks, but I am already using a SSDT for CodecCommander. My 0x21 is using 021707c0 and my 0x19 is 01970724 as according to my linux dump, shows that is correct. What is the propose of Node 20 and what does the COEF commands in this case do? This is my SSDT.aml file. /* * Intel ACPI Component Architecture * AML/ASL+ Disassembler version 20161210-64(RM) * Copyright (c) 2000 - 2016 Intel Corporation * * Disassembling to non-symbolic legacy ASL operators * * Disassembly of iASLO3abAT.aml, Fri Apr 12 20:13:29 2019 * * Original Table Header: * Signature "SSDT" * Length 0x0000014A (330) * Revision 0x01 * Checksum 0x4D * OEM ID "Deepak" * OEM Table ID "ALC256" * OEM Revision 0x00000000 (0) * Compiler ID "INTL" * Compiler Version 0x20161210 (538317328) */ DefinitionBlock ("", "SSDT", 1, "Deepak", "ALC256", 0x00000000) { External (_SB_.PCI0.HDEF, DeviceObj) // (from opcode) Name (_SB.PCI0.HDEF.RMCF, Package (0x02) { "CodecCommander", Package (0x0A) { "Custom Commands", Package (0x03) { Package (0x00) {}, Package (0x08) { "Command", Buffer (0x04) { 0x02, 0x17, 0x07, 0xC0 }, "On Init", ">y", "On Sleep", ">n", "On Wake", ">y" }, Package (0x08) { "Command", Buffer (0x04) { 0x01, 0x97, 0x07, 0x24 }, "On Init", ">y", "On Sleep", ">n", "On Wake", ">y" } }, "Perform Reset", ">n", "Perform Reset on External Wake", ">n", "Send Delay", 0x0A, "Sleep Nodes", ">n" } }) } I will attach my codec_dump file in case there is something else that I am missing with AppleALC. I appreciate your assistance. codec_dump.txt Edited April 13, 2019 by Andrw0380 Link to comment Share on other sites More sharing options...
YooPlayer Posted April 14, 2019 Share Posted April 14, 2019 Hi everyone My English is not good. May I need everyone's abilities? My laptop is HanSung A37X, and I5 7200U , RAM 8G, sound is ACL282. I did RunMe , and I will attach it. I use lilu and applealc, so I insert layout 3 At that time, speaker is not work, but when enter the earpods sound is work and mic also good. thx everyone I need your abilities Send me customui-MacBookPro.zip Link to comment Share on other sites More sharing options...
Deki Posted April 16, 2019 Share Posted April 16, 2019 Hello everyone, I want to ask help from you guys to make my audio fully works, Have ALC256 codec tried using id 11,13,21,28,56,57 mic not working, using id 5 mic is working but headphone jack sound is really distorted, I'll attach my codec dump below, Thank in Advance, appreciate it if someone will gladly help me codec_dump.txt Link to comment Share on other sites More sharing options...
DJ_2FAR Posted April 17, 2019 Share Posted April 17, 2019 Hey everyone first of all I love your work. You're superstars. Now I haven't been able to get audio working and it seems that this is the new go-to option. My audio codecs are not supported and I'm wondering if installing Realtek would enable me to use this method? Would upgrading to Win10 help? I also have to use this: https://www.umart.com.au/Creative-Sound-Blaster-Play-3-USB-DAC-Amp-and-Sound-Card_40207G.html?gclid=EAIaIQobChMIhPPYmIfX4QIVAw4rCh3FKgdtEAQYASABEgK6bfD_BwE Would that have an impact? If needed I can buy a new pc case and not have to use it. Running macOS Mojave 10.14 fresh install with VirtualBox 6 on this host: Codecs according to WindowsMediaPlayer: Please help! Thanks for your time. Link to comment Share on other sites More sharing options...
CleverCoder Posted April 22, 2019 Share Posted April 22, 2019 Hi folks! I'm reluctant to add another post to this long topic, but it's somewhat pertinent and could help others with similar hardware if they perform a search. I successfully created a new layout for a ALC1220 chip in my MSI P65 Creator laptop. It's very similar to the GS65 Stealth, so this layout might work for that machine as well. The pull request is here: https://github.com/acidanthera/AppleALC/pull/401 The layout is numbered 34. I spent more than a couple weeks chipping away at this very complex process of extracting codec info, playing trial and error, and figuring out what works and what doesn't work. None of the other layouts would work. The closest I came was with #13, but it would act erratically and only work once every so often. After understanding more about the verbs and node ID's I understand now that the hardware was just too different. Feedback is welcome. I didn't want to just keep this fix to myself since it could help others with similar hardware. Cheers! - Sean Link to comment Share on other sites More sharing options...
MacPeet Posted April 23, 2019 Share Posted April 23, 2019 hello @vandroiy2012 I have a new codec. (At the request of the user in two variants.) ALC892 - LayoutID 17 (11) for MSI B150M MORTAR (Outputs SwitchMode) ALC892 - LayoutID 18 (12) for MSI B150M MORTAR (Outputs ManualMode) new_Resources.zip can you please added the new codec? many thanks 1 Link to comment Share on other sites More sharing options...
brousseau6933 Posted April 23, 2019 Share Posted April 23, 2019 On 3/26/2019 at 3:08 PM, arsradu said: Yeah, so, I've got AppleALC 1.3.4 with Lilu 1.3.4 on my sig build, aaand...I had occasions where it will simply lose audio. The devices are still detected, the kexts are obviously loaded, but no actual sound. Also, I've tried Lilu 1.3.5 & AppleALC 1.3.6 (official builds) and i've got the same weird issue with no sound sometimes, on the Skylake build. Later update: Lilu 1.3.5 + 1.3.6 = same issue on both builds I'll keep investigating this, but so far, the most stable versions seem to be Lilu 1.3.3 + AppleALC 1.3.4. AppleALC doesn't seem to have any effect here. So, it works just as well with Lilu 1.3.3 and AppleALC 1.3.6, for example. But Lilu didn't work the same way regardless of version. And it looks like, starting with Lilu 1.3.4, there's a problem somewhere. Sorry arsradu, too lazy myself to try latest Lilu and AppleALC: is this bug solved with latest releases in case you tried them? Thanks, Patrice Link to comment Share on other sites More sharing options...
Recommended Posts