Jump to content

AppleHDA Binary Patching


EMlyDinEsH

Recommended Posts

I've been following your threads for a long time now. Good job on those, man. 
 

I haven't done anything with my OS for a while tho and when the next update came out (10.8.3) I've decided to give it a try. Unfortunately you were gone from tonycrap's forums and some of my fav threads along with you. So good thing I found you here, EMlyDinEsH.

Anyway, I have almost identical setup as your ALC269 (with small changes in platforms) so I always used your applehda file and ioaudiofamily for wakeups. Any chance you'll post your updated drivers?

Link to comment
Share on other sites

I've been following your threads for a long time now. Good job on those, man. 

 

I haven't done anything with my OS for a while tho and when the next update came out (10.8.3) I've decided to give it a try. Unfortunately you were gone from tonycrap's forums and some of my fav threads along with you. So good thing I found you here, EMlyDinEsH.

 

Anyway, I have almost identical setup as your ALC269 (with small changes in platforms) so I always used your applehda file and ioaudiofamily for wakeups. Any chance you'll post your updated drivers?

 

 

I'll update my drivers and post within a week. My internet is down so that's why the delay so just wait for a week then you could my updated driver and guide.

Link to comment
Share on other sites

 

hi @EMlyDinEsH:

i've been post need help in this thread: https://osxlatitude.com/index.php?/topic/1946-complete-applehda-patching-guide/page-3

but no everybody help me! You can help me patch AppleHDA with Realtek ALC272 (Mountain Lion)?

Here my kext and codec dump. 

Sorry my English too bad.

Thanks! 

 

 

I'll take a look and let you know soon.

 

EDIT: Here is the patched AppleHDA by myself.

 

You've to use my standard layout and Platform files to start instead of going with Singalprocessing elements in it which is the main issue. Also I did see two output nodes for Speaker and i patched for only one so try other one if this didn't work. I've disabled the nodes which aren't needed as well in the codec verbs so they won't get conflict.

 

Here are your codec verbs and path maps:

 

SPK: 14 -> 0x0d -> 03 (or) 0e->04

10 01 13 99 -> 10 01 13 90

20 -> 13 -> 3 or 14->04

 

 

HP: 0x21 -> 0x0c -> 02

40 10 21 03

33 -> 12 -> 2

 

MIC: 0x19 -> 0x23 -> 0x08

30 09 a3 99 -> 30 01 a0 90

25 -> 35 -> 08

 

EMIC: 0x18 -> 0x22 -> 0x09

20 98 a1 03 -> 20 10 81 03

24 -> 34 -> 09

 

 

01271cf0 01271d00 01271e00 01271f40

01371cf0 01371d00 01371e00 01371f40

01471c10 01471d01 01471e13 01471f90

01571cf0 01571d00 01571e00 01571f40

01671cf0 01671d00 01671e00 01671f40

01771cf0 01771d00 01771e00 01771f40

01871c20 01871d10 01871e81 01871f03

01971c30 01971d01 01971ea0 01971f90

01a71cf0 01a71d00 01a71e00 01a71f40

01b71cf0 01b71d00 01b71e00 01b71f40

01d71cf0 01d71d00 01d71e00 01d71f40

01e71cf0 01e71d00 01e71e00 01e71f40

02171c40 02171d10 02171e21 02171f03 01470c02>

 

Hope this helps.

AppleHDA_ALC272.zip

Link to comment
Share on other sites

I'll take a look and let you know soon.

 

EDIT: Here is the patched AppleHDA by myself.

 

You've to use my standard layout and Platform files to start instead of going with Singalprocessing elements in it which is the main issue. Also I did see two output nodes for Speaker and i patched for only one so try other one if this didn't work. I've disabled the nodes which aren't needed as well in the codec verbs so they won't get conflict.

 

Here are your codec verbs and path maps:

 

SPK: 14 -> 0x0d -> 03 (or) 0e->04

10 01 13 99 -> 10 01 13 90

20 -> 13 -> 3 or 14->04

 

 

HP: 0x21 -> 0x0c -> 02

40 10 21 03

33 -> 12 -> 2

 

MIC: 0x19 -> 0x23 -> 0x08

30 09 a3 99 -> 30 01 a0 90

25 -> 35 -> 08

 

EMIC: 0x18 -> 0x22 -> 0x09

20 98 a1 03 -> 20 10 81 03

24 -> 34 -> 09

 

 

<01171cf0 01171d00 01171e00 01171f40

01271cf0 01271d00 01271e00 01271f40

01371cf0 01371d00 01371e00 01371f40

01471c10 01471d01 01471e13 01471f90

01571cf0 01571d00 01571e00 01571f40

01671cf0 01671d00 01671e00 01671f40

01771cf0 01771d00 01771e00 01771f40

01871c20 01871d10 01871e81 01871f03

01971c30 01971d01 01971ea0 01971f90

01a71cf0 01a71d00 01a71e00 01a71f40

01b71cf0 01b71d00 01b71e00 01b71f40

01d71cf0 01d71d00 01d71e00 01d71f40

01e71cf0 01e71d00 01e71e00 01e71f40

02171c40 02171d10 02171e21 02171f03 01470c02>

 

Hope this helps.

Thanks so much. It's worked, but output only internal speaker, input only internal microphone.

HDEF device:

 

 

Method (_DSM, 4, NotSerialized)
                {
                    Store (Package (0x04)
                        {
                            "layout-id", 
                            Buffer (0x04)
                            {
                                0x1C, 0x00, 0x00, 0x00
                            }, 
 
                            "PinConfigurations", 
                            Buffer (Zero) {}
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }

Here my kext, it's correct?

Thanks.

AppleHDA.kext.zip

Link to comment
Share on other sites

Thanks so much. It's worked, but output only internal speaker, input only internal microphone.

HDEF device:

 

Here my kext, it's correct?

Thanks.

We'll see only one input and output every time, but if you connect headphone then it will show Headphone and Line in instead of those.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...