Kyvaith Posted October 5, 2018 Share Posted October 5, 2018 Hi, I have problem with AppleALC. Installed through Clover Configurator with Whatevergreen and AppleALC. I've tried also downloading Lilu and AppleALC from github releases, and building them from source, master branch. I have a Lilu 1.2.7 and AppleALC 1.3.2. All kexts are on ESD partition: /Volumes/EFI/EFI/CLOVER/kexts/Other/. Please help: 2018-09-14 12:26:07.058039+0200 localhost kernel[0]: Kext as.vit9696.Lilu start failed (result 0x5). 2018-09-14 12:26:07.058044+0200 localhost kernel[0]: Kext as.vit9696.Lilu failed to load (0xdc008017). 2018-09-14 12:26:07.058049+0200 localhost kernel[0]: Failed to load kext as.vit9696.Lilu (error 0xdc008017). 2018-09-14 12:26:07.155891+0200 localhost kernel[0]: Kext as.vit9696.AppleALC - library kext as.vit9696.Lilu not found. 2018-09-14 12:26:07.155901+0200 localhost kernel[0]: Can't load kext as.vit9696.AppleALC - failed to resolve library dependencies. 2018-09-14 12:26:07.155907+0200 localhost kernel[0]: Kext as.vit9696.AppleALC failed to load (0xdc00800e). 2018-09-14 12:26:07.155912+0200 localhost kernel[0]: Failed to load kext as.vit9696.AppleALC (error 0xdc00800e). 2018-09-14 12:26:07.178475+0200 localhost kernel[0]: Couldn't alloc class "Lilu" 2018-09-14 12:26:07.178513+0200 localhost kernel[0]: Couldn't alloc class "AppleALC" Tom. Link to comment Share on other sites More sharing options...
insanelyDeepak Posted October 5, 2018 Share Posted October 5, 2018 @vit9696 after few weeks of test i found AppleALC for ALC887 causing crackling sound , i start facing issue after remapping work , what was happening after playing long hour music or video mostly in evening it start crackling sound , so i switched back to cloverHDA after using it for 5-6 days , move to patchedAppleHDA both are working fine and no issue at all except AppleALC 1 Link to comment Share on other sites More sharing options...
insanelyDeepak Posted October 5, 2018 Share Posted October 5, 2018 On 10/3/2018 at 3:07 AM, vit9696 said: Hrm, "forceHDMI"? How so? I do not think AppleALC has any HDMI patches as of now. The only thing that applies HDMI patches is WhateverGreen, and you can turn it off by -igfxnohdmi. With your configuration it is quite unlikely that it is going to trigger. no luck i don't have whatever green kexts see screenshots , these logs weren't with patchAppleHDA and cloverHDA , only with AppleALC boottime is still high Link to comment Share on other sites More sharing options...
vit9696 Posted October 6, 2018 Author Share Posted October 6, 2018 Any debug prints at that point? I think it is something unrelated (e.g. https://github.com/intel/haxm/issues/92), but it can also be a hang on layout determination due to some bug in ACPI. Link to comment Share on other sites More sharing options...
insanelyDeepak Posted October 6, 2018 Share Posted October 6, 2018 (edited) 7 hours ago, vit9696 said: Any debug prints at that point? I think it is something unrelated (e.g. https://github.com/intel/haxm/issues/92), but it can also be a hang on layout determination due to some bug in ACPI. haxm is not a issue for me , i did test from more than a month and i thought to post here Quote Any debug prints at that point? -alcdbg all screenshot here can't upload more than 10mb so all are at gdrivehttps://drive.google.com/file/d/19vP2cb3RWWxN9hoc9ufNr3D24Z7EZ4XR/view?usp=sharing Edited October 6, 2018 by insanelyDeepak add screenshots Link to comment Share on other sites More sharing options...
bbddpp Posted October 7, 2018 Share Posted October 7, 2018 (edited) DISREGARD - Didn't have latest Lilu. All good after bumping both Lilu and AppleALC! Edited October 7, 2018 by bbddpp Link to comment Share on other sites More sharing options...
phucnguyen.2411 Posted October 7, 2018 Share Posted October 7, 2018 Hello everyone! I need help from all of u to correct my sound! The report is meant to contain: 1. Laptop model/Motherboard model: M92P SFF 2. Codec name: ACL662 ( already in AppleALC but jack and speaker is not correctly) 3. Layout used with the info what works for you (ideally if you try them all)-> front: 1 mic/1 headphone. Back: 1 mic/1 headphone/ 1 Lineout. Speaker: 1 speaker on the front of the case. 4. OS X versions you tried -> 10.14 appleALC already working with the lasted version of macOS. 5. Autogenerated Info.plist made with the help of unity. I attach my codec and Info.plist made by unity! codec_dump.txt Info.plist Link to comment Share on other sites More sharing options...
appy79 Posted October 7, 2018 Share Posted October 7, 2018 (edited) What kind of sound will I get if I delete AppleGFXHDA.kext while using AppleALC? Please someone tell me what audio I am getting because I don't know what audio I have. The only thing is that it works fine. debug_30148.zip Edited October 7, 2018 by appy79 Link to comment Share on other sites More sharing options...
Justin Spier Posted October 7, 2018 Share Posted October 7, 2018 On 9/26/2018 at 1:47 AM, Justin Spier said: Hi all. At first I want to tell thank you for your great job. I'm trying to add my laptop codec and I didn't succeed till now Actually I don't where's the problem, Below I'm describing what I did: Dumped codec from latest Ubuntu (18.04). Extracted pin configs and Calculated codec verbs. Created CX8150 Directory under Resources, including: Info.plist, layout3.xml, PlatformsM.xml Edited PinConfigs.kext/Contents/Info.plist and Added pin configs (Item 244). Added Lilu.kext 1.2.5 in project directory. (I also use version 1.2.5 in my CLOVER/kexts/Other) Built using Xcode 9.4.1. Added the generated kext in clover kexts directory. Added Devices/Audio/Inject=3 in clover config.plist. Reboot. And finally got no sound. no devices. So I don't know where I did wrong, I also tested with 7 and 11 layout-ids with no succeed. My laptop is ASUS VivoBook Pro N580VD-B. I attached AppleALC/Resources/CX8150, log.txt, ioreg. troubleshooting.zip Any help? Any idea? Thanks again. Any help or advice? any idea? after weeks NEED HELP. I tested a lot on both 10.13.6 and 10.14. Link to comment Share on other sites More sharing options...
insanelyDeepak Posted October 8, 2018 Share Posted October 8, 2018 20 hours ago, Justin Spier said: Any help or advice? any idea? after weeks NEED HELP. I tested a lot on both 10.13.6 and 10.14. could you type below keywords in terminal and share output kextstat | grep -y hda kextstat | grep -y ALC 22 hours ago, appy79 said: What kind of sound will I get if I delete AppleGFXHDA.kext while using AppleALC? Please someone tell me what audio I am getting because I don't know what audio I have. The only thing is that it works fine. debug_30148.zip it's for HDMI Audio only , i think all should be fine with AppleALC except HDMI Link to comment Share on other sites More sharing options...
MacPeet Posted October 10, 2018 Share Posted October 10, 2018 hello @vandroiy2012 I have a new codec, everything works. ALC885 - LayoutID 15 (0F) for GA-G33M-DS2R can you please added the new codec? newResources885.zip many thanks Did you forget this new codec? https://www.insanelymac.com/forum/topic/311293-applealc-—-dynamic-applehda-patching/?do=findComment&comment=2635367 many thanks 1 Link to comment Share on other sites More sharing options...
phucnguyen.2411 Posted October 10, 2018 Share Posted October 10, 2018 1 hour ago, MacPeet said: hello @vandroiy2012 I have a new codec, everything works. ALC885 - LayoutID 15 (0F) for GA-G33M-DS2R can you please added the new codec? newResources885.zip many thanks Did you forget this new codec? https://www.insanelymac.com/forum/topic/311293-applealc-—-dynamic-applehda-patching/?do=findComment&comment=2635367 many thanks Hi, i'm using the same ALC 662, Should u help me. :(. Because i need to using my microphone with deincrease noise Link to comment Share on other sites More sharing options...
s4shubham4u Posted October 11, 2018 Share Posted October 11, 2018 (edited) On 3/8/2016 at 4:16 AM, vit9696 said: Hello, This is going to be a support/discussion topic of AppleALC on InsanelyMac. AppleALC is a kernel extension allowing you to enable native apple HD audio without any filesystem modifications. It dynamically injects the necessary modifications to AppleHDA (and other kexts) including the layouts, and makes your audio work starting from the OS installation. It should be noted that AppleALC starting with version 1.1.0 requires Lilu.kext to be put in the same folder as AppleALC.kext. See this topic for more details. For quite some time we are trying to obtain the necessary information about AppleALC codec compatibility. If you use something, please, consider checking the compatibility table (do not worry, it is in English), and report (here) on your codec. We are also looking for all the possible revisions of the codec, if we do not have the revisions listed for your codec please report as well. Thanks for understanding. The report is meant to contain: 1. Laptop model/Motherboard model 2. Codec name 3. Layout used with the info what works for you (ideally if you try them all) 4. OS X versions you tried 5. Autogenerated Info.plist made with the help of this utility. All the details including the source code are available on github:https://github.com/vit9696/AppleALC Some short wiki articles explaining the usage are included. As for now the project is relatively immature without practically any codec support. But it should be pretty easy to add more of them, I am hoping for the support of the "community" If you have any issues, better report them on github for structural reasons. 6 Hello There, I am having audio issues with apple ALC Wih My Laptop 1. Dell Inspirion 15 5567 i5 7200u HD 620 2. ALC 256 3. 56 - Working internal Audio and Internal Mic - Headphones/ Headsets Not Working - headsets also recognized as headphones - Few Crackling Sound on Extreme Volume and Crackling audio output when headsets button are pressed 28 - Working internal Audio and Internal Mic - Headphones/ Headsets Working if partially plugged. When Plugged Fully it works Just as same as 56 - Seems like desktop layout id though 11 - Not Working 13 - Working same as 56 4. Tested on High Serria 10.13.4 to 10.13.6 and Mac OS Mojave 10.14 Beta 11 - 10.14 ( Using Currently) Info.plist Edited October 11, 2018 by s4shubham4u Link to comment Share on other sites More sharing options...
s4shubham4u Posted October 11, 2018 Share Posted October 11, 2018 Sorry for this another reply but here the problem reporting files debug_20834 2.zip Link to comment Share on other sites More sharing options...
vit9696 Posted October 12, 2018 Author Share Posted October 12, 2018 On 10/6/2018 at 8:22 AM, insanelyDeepak said: haxm is not a issue for me , i did test from more than a month and i thought to post here -alcdbg all screenshot here can't upload more than 10mb so all are at gdrivehttps://drive.google.com/file/d/19vP2cb3RWWxN9hoc9ufNr3D24Z7EZ4XR/view?usp=sharing Hrm, it is literally weird, but indeed the initialisation lags, but it is none of AppleALC code. What I could suggest is trying to disable HDAU (by e.g. injecting all zero class-code) and seeing if it helps. Link to comment Share on other sites More sharing options...
MacPeet Posted October 12, 2018 Share Posted October 12, 2018 At this point a big compliment to @vit9696 and @vandroiy2012. Since Mojave we often read about problems with the Inject of the LayoutID. Some ALCs are working well, some are having trouble loading deleted IDs and patching and loading ID 7. From personal experience, it is not always easy to meet every demand. It's just a hobby for all of us, but AppleALC is a good project and I hope you continue for a long time. Therefore in between times something positive here. Great work from you !!! Thanks also for incorporating the last two codecs, @vandroiy2012. 4 Link to comment Share on other sites More sharing options...
phucnguyen.2411 Posted October 13, 2018 Share Posted October 13, 2018 (edited) Hi @vit9696, After one day working on AppleALC, I made my codec working properly. But I don't know how to contribute to appleALC, then I need help from you. Below is a detail of ALC662v3 for Lenovo ThinkCentre M92P SFF. M92P SFF have 2 port on front( headphone and mircophone) and back side have 3 port( LineIn, Headphone and LineOut) and 1 internal Speaker. I made this working all. ConfigData: <01b71c00 01b71d40 01b71e21 01b71f02 01971c10 01971d91 01971ea0 01971f91 01471c20 01471d40 01471e21 01471f01 01571c30 01571d01 01571e17 01571f29 01871c40 01871d90 01871e81 01871f01 01e71c60 01e71d60 01e71e4b 01e71f01> Layout and Platform .xml: I modify it from layout 15. Should u help add one more layout?. layout15.xmlPlatforms15.xml Thanks so much! and I think it is useful for some people. Edited October 13, 2018 by phucnguyen.2411 Link to comment Share on other sites More sharing options...
vandroiy2012 Posted October 13, 2018 Share Posted October 13, 2018 33 minutes ago, phucnguyen.2411 said: Hi @vit9696, After one day working on AppleALC, I made my codec working properly. But I don't know how to contribute to appleALC, then I need help from you. Below is a detail of ALC662v3 for Lenovo ThinkCentre M92P SFF. M92P SFF have 2 port on front( headphone and mircophone) and back side have 3 port( LineIn, Headphone and LineOut) and 1 internal Speaker. I made this working all. ConfigData: <01b71c00 01b71d40 01b71e21 01b71f02 01971c10 01971d91 01971ea0 01971f91 01471c20 01471d40 01471e21 01471f01 01571c30 01571d01 01571e17 01571f29 01871c40 01871d90 01871e81 01871f01 01e71c60 01e71d60 01e71e4b 01e71f01> Layout and Platform .xml: I modify it from layout 15. Should u help add one more layout?. layout15.xmlPlatforms15.xml Thanks so much! and I think it is useful for some people. Hi. Added. Layout 16. https://github.com/acidanthera/AppleALC/commit/ca3139717ef4152204550453bcee2ed25ea398ed Build it and test... Link to comment Share on other sites More sharing options...
insanelyDeepak Posted October 13, 2018 Share Posted October 13, 2018 On 10/12/2018 at 10:10 AM, vit9696 said: Hrm, it is literally weird, but indeed the initialisation lags, but it is none of AppleALC code. What I could suggest is trying to disable HDAU (by e.g. injecting all zero class-code) and seeing if it helps. can you tell me how to disable HDAU ? my dsdt don't have HDAU device Link to comment Share on other sites More sharing options...
phucnguyen.2411 Posted October 13, 2018 Share Posted October 13, 2018 (edited) 1 hour ago, vandroiy2012 said: Hi. Added. Layout 16. https://github.com/acidanthera/AppleALC/commit/ca3139717ef4152204550453bcee2ed25ea398ed Build it and test... Hi, Thanks again, I had to do some change for auto switching when plugging the headphone. and I checked your commit, but I think layoutid not change to 16 also, it still 15. Update for info.plist. And final for this codec. ConfigData: <01971c10 01971d91 01971ea0 01971f91 01471c20 01471d40 01471e21 01471f01 01571c30 01571d41 01571e11 01571f01 01871c40 01871d90 01871e81 01871f01 01b71c50 01b71d40 01b71e21 01b71f02 01e71c60 01e71d60 01e71e4b 01e71f01> Platforms16.xmllayout16.xml Edited October 13, 2018 by phucnguyen.2411 Link to comment Share on other sites More sharing options...
vandroiy2012 Posted October 13, 2018 Share Posted October 13, 2018 6 minutes ago, phucnguyen.2411 said: Hi, Thanks again, I had to do some change for auto switching when plugging the headphone. and I checked your commit, but I think layoutid not change to 16 also, it still 15. Update for info.plist. And final for this codec. ConfigData: <01971c10 01971d91 01971ea0 01971f91 01471c20 01471d40 01471e21 01471f01 01571c30 01571d41 01571e11 01571f01 01871c40 01871d90 01871e81 01871f01 01b71c50 01b71d40 01b71e21 01b71f02 01e71c60 01e71d60 01e71e4b 01e71f01> Platforms16.xmllayout16.xml Fixed Link to comment Share on other sites More sharing options...
phucnguyen.2411 Posted October 13, 2018 Share Posted October 13, 2018 1 minute ago, vandroiy2012 said: Fixed Should you update the layout.xml, platform.xml and PinConfig also. Had some changed. Thanks Link to comment Share on other sites More sharing options...
vandroiy2012 Posted October 13, 2018 Share Posted October 13, 2018 5 minutes ago, phucnguyen.2411 said: Should you update the layout.xml, platform.xml and PinConfig also. Had some changed. Thanks Done. You should learn how to make pull requests on github. I'm not a deploy bot Link to comment Share on other sites More sharing options...
phucnguyen.2411 Posted October 13, 2018 Share Posted October 13, 2018 Just now, vandroiy2012 said: Done. You should learn how to make pull requests on github. I'm not a deploy bot I know, but I don't have permission to access the source code. How I can do it, I think by today, I learned a lot and in the future, I can contribute more. Link to comment Share on other sites More sharing options...
vandroiy2012 Posted October 13, 2018 Share Posted October 13, 2018 (edited) 8 minutes ago, phucnguyen.2411 said: I know, but I don't have permission to access the source code. How I can do it, I think by today, I learned a lot and in the future, I can contribute more. Just make fork of original AppleALC source code to your account on github, add your codec (make changes to existing codec) and follow GitHub help to push pull request. https://help.github.com/articles/creating-a-pull-request/ Edited October 13, 2018 by vandroiy2012 Link to comment Share on other sites More sharing options...
Recommended Posts