Jump to content

[Closed] AppleHDA patching requests


plsh2me

Recommended Posts

for getting Input/output you just need for 4 nodes 14 = dec 20 , 18 = 24 , 19 = 25 , 21 = 33 , use it verbs and pathmaps , you dont need to care about rest 

 

but in somecase or somehow nodes are not in use mess with other nodes so its better to disable them like this guide says 

personally i never disable them everythings works fine 

Well, can you correct my calculation (verb and pathmap) results ? I can't upload on this forum, so i drive it.

 

Here : https://drive.google.com/open?id=0B7D94Yr6g-W-V2ttTnNlSkJkRHc

 

that is ALC 3236

Link to comment
Share on other sites

  • Replies 390
  • Created
  • Last Reply

Top Posters In This Topic

  • Moderators

Okay I just realized that aDummyHDA.kext is not loading for me. I tried CkO, LE and SLE, and with the last two I have repaired cache and permissions. My config.plist is patched as well, and my layout-id is injected as 3 as evident in IOReg.

 

So what is the reason for my kext to not load. Is there a way to debug?

If you're on 10.11.4 and newer, make sure the info file has the dependency added (highlighted)

 

com.apple.iokit.IOACPIFamily

1.2.0a1

com.apple.iokit.IOAudioFamily

1.8.6fc11

com.apple.iokit.IOGraphicsFamily

2.0

com.apple.iokit.IOHDAFamily

1.0.0d1

com.apple.iokit.IONDRVSupport

2.0

com.apple.iokit.IOPCIFamily

1.1

Link to comment
Share on other sites

  • Administrators

Imo, patching AppleHDA would be the best way to proceed with IDT 92HD71b7. Patch for Sierra/High Sierra should take the regular form, i.e. :

Find: 8419D411
Replace: 00000000

Find: 8A19D411
Replace: 00000000

Find: 8B19D411
Replace: B2761D11

2 x instances each time in case of manual binary mod. As usual, patched AppleHDA will require the relevant IDT 92HD71b7 dummy kext + DSDT layout-id injection to work. These are normally derived from codec dump. See p1 of the thread...

Link to comment
Share on other sites

Well, can you correct my calculation (verb and pathmap) results ? I can't upload on this forum, so i drive it.

 

Here : https://drive.google.com/open?id=0B7D94Yr6g-W-V2ttTnNlSkJkRHc

 

that is ALC 3236

post full codec dump 

 

you can try this too 

https://github.com/insanelydeepak/cloverHDA-for-Mac-OS-Sierra-10.12/blob/master/Laptop/ALC233.zip

Link to comment
Share on other sites

@JakeLo - I'm assuming you are talking about info.plist of my generated aDummyHDA kext. The node you listed is not even present in it. Shall I add it at the root and try?

 

@Herve - I have the following in config.plist already which I will remove

 

Find: 8419D411
Replace: B2761D11

 

Then add the 3 you said. However I just saw none of the 3 keys seem to exist in vanilla AppleHDA info.plist

Link to comment
Share on other sites

  • Administrators

@JakeLo - I'm assuming you are talking about info.plist of my generated aDummyHDA kext. The node you listed is not even present in it. Shall I add it at the root and try?

 

@Herve - I have the following in config.plist already which I will remove

 

Find: 8419D411

Replace: B2761D11

 

Then add the 3 you said. However I just saw none of the 3 keys seem to exist in vanilla AppleHDA info.plist

It seems you need to do some important reading & learning about AppleHDA patching and patching in general because you've walked past some essential stuff. AppleHDA patching consists of binary patching the kext's binary file (i.e. its code). Dummy kexts are for XML files injection (for Platforms and Layouts info). I suggest you start at p1 of this thread (introduction, then chapter 3) where Dinesh explained everything in great details.

 

And, since you may have missed that too, that's what Clover's on-the-fly patches do through the kext cache by far and large: binary mods. Info.plist files are plain text and generally (but not always) define ids of applicable hardware or driver's operational parameters, so to speak.

 

I'm getting off-topic but I really recommend your read stuff like these:

https://developer.apple.com/library/content/documentation/Darwin/Conceptual/KEXTConcept/KEXTConceptAnatomy/kext_anatomy.html

https://developer.apple.com/library/content/documentation/Darwin/Conceptual/KernelProgramming/Extend/Extend.html

  • Like 1
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

×
×
  • Create New...