Consistency Posted February 12, 2022 Share Posted February 12, 2022 (edited) I'm honestly not familiar with AppleALC. I am willing to do the testing necessary. I could use some direction in what I need to learn. I took a look at the layout24.xml and Platforms24.xml files for ALC256 in the Source code folder (AppleALC 1.6.9\Resources\ALC256) and I'm wondering if there is a way to edit these files and compile AppleALC to make the mic work on the JBL TUNE 205 headphones? Audio out does work on the headphones. I'm assuming that maybe something is misconfigured. The jack on the Intel NUC10 is a combojack and it does work in linux with both mic and audio of the headphones. The NUC10 also has a microphone on the front of the unit and it does work however the NUC is mounted on the back of the monitor and the mic on the nuc is useless. I've attached the XML files. layout24.xml Platforms24.xml Edited February 13, 2022 by Consistency Quote Link to comment https://www.insanelymac.com/forum/topic/350781-mic-on-headphones-not-working-with-intel-nuc10-applealc-fix/ Share on other sites More sharing options...
Guest Posted February 13, 2022 Share Posted February 13, 2022 Can you post your codec dump? https://github.com/F0x1c/AppleALC_Instructions Quote Link to comment https://www.insanelymac.com/forum/topic/350781-mic-on-headphones-not-working-with-intel-nuc10-applealc-fix/#findComment-2776760 Share on other sites More sharing options...
Consistency Posted February 14, 2022 Author Share Posted February 14, 2022 Here. codec_dump_#0_ALC256.txt codec_dump_#2_HDMI.txt Quote Link to comment https://www.insanelymac.com/forum/topic/350781-mic-on-headphones-not-working-with-intel-nuc10-applealc-fix/#findComment-2776801 Share on other sites More sharing options...
Consistency Posted February 25, 2022 Author Share Posted February 25, 2022 On 2/12/2022 at 11:22 PM, vivzer0 said: Can you post your codec dump? https://github.com/F0x1c/AppleALC_Instructions Do you know where I can enter the codec verbs? <01271c20 01271d01 01271ea6 01271f90 01371c30 01371d01 01371ea6 01371f90 01971cf0 01971d11 01971e81 01971f41 02171c10 02171d10 02171e21 02171f01 02170c02> I would like to update the codec verbs for alcid 24 and test. Quote Link to comment https://www.insanelymac.com/forum/topic/350781-mic-on-headphones-not-working-with-intel-nuc10-applealc-fix/#findComment-2777365 Share on other sites More sharing options...
Guest Posted February 26, 2022 Share Posted February 26, 2022 It exists in PinConfigs.kext/Contents/Info.plist, as base64 format. Your ConfigData is: ASccIAEnHQEBJx6mAScfkAE3HDABNx0BATcepgE3H5ABlxzwAZcdEQGXHoEBlx9BAhccEAIXHRACFx4hAhcfAQIXDAI Quote Link to comment https://www.insanelymac.com/forum/topic/350781-mic-on-headphones-not-working-with-intel-nuc10-applealc-fix/#findComment-2777381 Share on other sites More sharing options...
Consistency Posted February 26, 2022 Author Share Posted February 26, 2022 (edited) Where is the PinConfigs.kext located? There's nothing in the EFI/OC/Kexts folder. How do I convert the codec verbs into ConfigData myself? (If I understood correctly). Edited February 26, 2022 by Consistency Quote Link to comment https://www.insanelymac.com/forum/topic/350781-mic-on-headphones-not-working-with-intel-nuc10-applealc-fix/#findComment-2777387 Share on other sites More sharing options...
Guest Posted February 26, 2022 Share Posted February 26, 2022 3 hours ago, Consistency said: Where is the PinConfigs.kext located? It is located in Resources folder (in AppleALC repository.) 3 hours ago, Consistency said: How do I convert the codec verbs into ConfigData myself? 01271c20 ... is hex code, but AppleALC requires Base64. For encoding Hex to Base64, I used this site: https://base64.guru/converter/encode/hex You can use this scripts below to build AppleALC kext. (Xcode should be needed) Quote Link to comment https://www.insanelymac.com/forum/topic/350781-mic-on-headphones-not-working-with-intel-nuc10-applealc-fix/#findComment-2777393 Share on other sites More sharing options...
Consistency Posted February 26, 2022 Author Share Posted February 26, 2022 If I am understanding correctly. I need to compile AppleALC every time I need to change the codec verbs? Quote Link to comment https://www.insanelymac.com/forum/topic/350781-mic-on-headphones-not-working-with-intel-nuc10-applealc-fix/#findComment-2777399 Share on other sites More sharing options...
Guest Posted February 27, 2022 Share Posted February 27, 2022 6 hours ago, Consistency said: I need to compile AppleALC every time I need to change the codec verbs? Yes Quote Link to comment https://www.insanelymac.com/forum/topic/350781-mic-on-headphones-not-working-with-intel-nuc10-applealc-fix/#findComment-2777410 Share on other sites More sharing options...
Consistency Posted February 28, 2022 Author Share Posted February 28, 2022 (edited) Where does the Base64 code go? And what else do I need to know to change before compiling? What I can see is that verb hex code can be entered into the Info.plist file found in AppleALC-1.6.9/Resources/PinConfig.kext/Contents/Info.plist and then IOKitPersonalities/as.vit9696.AppleALC/HDAConfigDefault/117/ConfigData I also found this little program called PinConfigurator that does all the verb calculations after opening a linux codec dump file. GitHub - headkaze/PinConfigurator: HDA Audio Codec verb configuration application 1) File -> Open -> linux codec dump file 2) Patch -> Verb Sanitize 3) Click "Get ConfigData" at bottom right corner to get the sanitized codec verb hex data My self calculated verb data was missing Node 0x1d Line In and so is the verb data for NUC10 inside the PinConfig.kext - I believe this is the reason why the Headphone Mic doesn't work but won't know for sure till I compile and test. 01471C00 01471D00 01471E10 01471F40 01470C02 01D71C05 01D71D19 01D71E84 01D71F40 02171C10 02171D10 02171E21 02171F01 02170C02 01271C20 01271D01 01271EA0 01271F90 01371C30 01371D01 01371E80 01371F90 Base64: AUccAAFHHQABRx4QAUcfQAFHDAIB1xwFAdcdGQHXHoQB1x9AAhccEAIXHRACFx4hAhcfAQIXDAIBJxwgAScdAQEnHqABJx+QATccMAE3HQEBNx6AATcfkA== I also found this guide to be more informative. Complete AppleHDA Patching Guide - AppleHDA - osxlatitude.com Edited February 28, 2022 by Consistency Quote Link to comment https://www.insanelymac.com/forum/topic/350781-mic-on-headphones-not-working-with-intel-nuc10-applealc-fix/#findComment-2777482 Share on other sites More sharing options...
Guest Posted March 8, 2022 Share Posted March 8, 2022 (edited) On 3/1/2022 at 5:11 AM, Consistency said: Where does the Base64 code go? On 3/1/2022 at 5:11 AM, Consistency said: What I can see is that verb hex code can be entered into the Info.plist file found in AppleALC-1.6.9/Resources/PinConfig.kext/Contents/Info.plist and then IOKitPersonalities/as.vit9696.AppleALC/HDAConfigDefault/117/ConfigData Oh... I didn't know that ProperTree shows PinConfig as Hex. (Sorry for inconvenience) If using ProperTree, conversion is not needed. You can edit it by hex. On 3/1/2022 at 5:11 AM, Consistency said: what else do I need to know to change before compiling? That's all. PinConfigs.kext, platforms.xml and layout.xml. On 3/1/2022 at 5:11 AM, Consistency said: Complete AppleHDA Patching Guide - AppleHDA - osxlatitude.com This guide lacks some useful info, MuteGPIO and Amplifier, that related to microphone working properly. Use this: AppleALC Instructions.rtfd.zip Edited March 8, 2022 by vivzer0 Quote Link to comment https://www.insanelymac.com/forum/topic/350781-mic-on-headphones-not-working-with-intel-nuc10-applealc-fix/#findComment-2777828 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.