Jump to content

AppleALC — dynamic AppleHDA patching


vit9696
5,390 posts in this topic

Recommended Posts

Regarding to the CA0132 codec...

If you have any problem with credits, you must report it to the Administrators or moderators of the forum and let them take care of it or you can send a PM to the person and resolve this issue.

Edited by Allan
  • Like 1
Link to comment
Share on other sites

Regarding to the CA0132 codec...

Look at our rules.

 

No Flaming. This includes personal attacks, or hateful content. Retaliation will not be tolerated either; if a member has broken a rule, please use the report feature on the forum and the staff will deal with the situation appropriately.

 

Please, I would like to know which team member has removed the posts.

Hello.

 

It's me Mirone.

Link to comment
Share on other sites

AppleALC is working perfectly for me, but I would like to rename the ports to something more descriptive.  For example "Internal Speakers" should be "Line Out".  I know this has been asked before, but I can't find the thread.

This is easy, just change the ConfigData for your internal speaker,
for example:
 
Find.............: 01471c10 01471d40 01471e11 01471f01 --> internal speaker

 

Change to...: 01471c10 01471d40 01471e01 01471f01 --> Line Out
 
Link to comment
Share on other sites

Thank you, but I'm not sure where to make that change.  I look in AppleHDA.kext/Contents/Plugins/AppleHDAHardwareConfigDriver.kext/Contents/Info.plist > IOKitPersonalities > HDA Hardware Config Resource > HDAConfigDefault.  There are 24 items inside, but none of them have LayoutID 1, and none contain the string that you mentioned.

Link to comment
Share on other sites

Happy New Year,

 

I have some confusing error. I am using H97M-PRO4 motherboard with OZ. I have recently injected AppleALC kext into ROM. the issue is when I use discreet Graphics card then I have my audio working and no issues. but if I remove graphics card and use HD4600 CPU graphics then have no AUdio and shows no audio device found...does anybody know what may be the reason??

 

Thank you,

Link to comment
Share on other sites

@vit9696: noticed that the source doesn't have a makefile, so I decided to create one. It's very useful when building the source from the command line. Currently the makefile supports the following:

 

make - builds the kext for x86_64 for both configurations (Debug and Release).

make clean - deletes the built products

make distribute - creates a subfolder, called Distribute, and creates two zips in it, named with the current kext version and the zip creation date (two for both configurations). Taken and adapted from RehabMan's makefiles.

makefile_applealc.zip

  • Like 1
Link to comment
Share on other sites

@vit9696: noticed that the source doesn't have a makefile, so I decided to create one. It's very useful when building the source from the command line. Currently the makefile supports the following:

 

make - builds the kext for x86_64 for both configurations (Debug and Release).

make clean - deletes the built products

make distribute - creates a subfolder, called Distribute, and creates two zips in it, named with the current kext version and the zip creation date (two for both configurations). Taken and adapted from RehabMan's makefiles.

Hello,

Thank you for that. I suspect some people will actually find it pretty useful. However, including it with the main repo might not be a good idea.

For packaging release builds a different naming style is used, and the command needed to create the zips is rather simple anyway. I could imagine adding it to Xcode project itself, but Makefiles, I feel that this is an overkill.

  • Like 1
Link to comment
Share on other sites

Thank you, I am not a coder but able to compile it myself to modify to work with OZ. The thing is that while working on Xcode how should I disable that options?? sorry to ask is there anyway you can show me which options I need to disable?? my problem is when I use AppleALC with OZ and it will only enable with a dedicated graphics card.

not with HD4600. when I went in detail on AppleALC code I found out that it patches AppleIntelFrameBuffer/Intel HDMI related kexts(I am not..sure but it seems it is). so I think that may be the reason why it isn't enabling Audio without discreet graphics card. You are the expert coder(@vit9696) behind this kext so you may aware...

Link to comment
Share on other sites

Thank you, I am not a coder but able to compile it myself to modify to work with OZ. The thing is that while working on Xcode how should I disable that options?? sorry to ask is there anyway you can show me which options I need to disable?? my problem is when I use AppleALC with OZ and it will only enable with a dedicated graphics card.

not with HD4600. when I went in detail on AppleALC code I found out that it patches AppleIntelFrameBuffer/Intel HDMI related kexts(I am not..sure but it seems it is). so I think that may be the reason why it isn't enabling Audio without discreet graphics card. You are the expert coder(@vit9696) behind this kext so you may aware...

It is as simple as deleting the unnecessary patches in the plists and running build :) So no coding skills are needed.

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...