Jump to content
11 posts in this topic

Recommended Posts

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.

Screen Shot 2022-02-12 at 1.08.05 AM.png

Screen Shot 2022-02-12 at 1.07.27 AM.png

layout24.xml Platforms24.xml

Edited by Consistency
  • 2 weeks later...
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.

Screen Shot 2022-02-25 at 1.09.09 PM.png

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 by Consistency
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)

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 by Consistency
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 by vivzer0

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...