jaymonkey Posted November 1, 2013 Share Posted November 1, 2013 @ jaymonkey I am willing to correct your AppleHDA for you so you can test and report the results, so bcc9 can add codec to script patch-hda. That would be awesome ... I'm running Mavericks do you need native AppleHDA ? Jay Link to comment https://www.insanelymac.com/forum/topic/284004-script-to-patch-applehda-binary-for-osx107108109/page/4/#findComment-1962058 Share on other sites More sharing options...
Mirone Posted November 1, 2013 Share Posted November 1, 2013 no, I think your files are sufficient. I have native AppleHDA 10.9. Link to comment https://www.insanelymac.com/forum/topic/284004-script-to-patch-applehda-binary-for-osx107108109/page/4/#findComment-1962069 Share on other sites More sharing options...
jaymonkey Posted November 1, 2013 Share Posted November 1, 2013 no, I think your files are sufficient. I have native AppleHDA 10.9. cool, let me know if there is any other info you need. Cheers buddy Jay Link to comment https://www.insanelymac.com/forum/topic/284004-script-to-patch-applehda-binary-for-osx107108109/page/4/#findComment-1962089 Share on other sites More sharing options...
Mirone Posted November 1, 2013 Share Posted November 1, 2013 @jaymonkey Here are your files, let me know if it worked for you. AppleHDA 10.9.zip Link to comment https://www.insanelymac.com/forum/topic/284004-script-to-patch-applehda-binary-for-osx107108109/page/4/#findComment-1962247 Share on other sites More sharing options...
jaymonkey Posted November 2, 2013 Share Posted November 2, 2013 @jaymonkey Here are your files, let me know if it worked for you. @Mirone, Many thanks for taking the time to look at this and for your files, I tried your kext and DSDT but no audio device is present in the system when using your files unfortunately ??? However, I have been working on a 10.8.5 AppleHDA for a few weeks now (started this way before Mavericks was available) and I just got it working about 30 mins before you posted your file, how about that ? I did not do the binary patching but I have been working on the plist and xml edits in an attempt to get it working which it now does, it does not need the modified IOAudioFamily kext anymore so now using the native Mavericks IOAudioFamily which has to be better. I've attached my new AppleHDA and DSDT to this post so you can compare it with yours and maybe see were the problem lies, please note that this new solution is using a layout ID of 28 (1C) and not 04 like the older SL Version (sorry to mess you about with that) Hope we can crack this so that ALC275 can be included into the binary patch script. Cheers Jay Archive.zip Link to comment https://www.insanelymac.com/forum/topic/284004-script-to-patch-applehda-binary-for-osx107108109/page/4/#findComment-1962295 Share on other sites More sharing options...
Mirone Posted November 2, 2013 Share Posted November 2, 2013 @jaymonkey try this: Note: send me your codec_dump + ioreg.ioreg AppleHDA 10.9.zip 1 Link to comment https://www.insanelymac.com/forum/topic/284004-script-to-patch-applehda-binary-for-osx107108109/page/4/#findComment-1962314 Share on other sites More sharing options...
jaymonkey Posted November 2, 2013 Share Posted November 2, 2013 @jaymonkey try this: Note: send me your codec_dump + ioreg.ioreg Awesome .... It seems to be working great .... I've only played around with it for 15 mins or so but as far as i can tell all seems good, headphones and mic working, jack sensing looks good and all works ok after sleep. Will test in anger tomorrow and get back to you but its looking good. Requested info attached, its 2:30AM here in the UK so time for me to get to bed, wife getting angry .... I assume that in the future I will be able to use the script to do the binary patching and use my layouts & pathmaps from this version as well as the statuary plist edits ? Many thanks for your assistance, got to say that this Mavericks build is my best yet on my Sony SE. Cheers Jay Archive.zip Link to comment https://www.insanelymac.com/forum/topic/284004-script-to-patch-applehda-binary-for-osx107108109/page/4/#findComment-1962328 Share on other sites More sharing options...
Mirone Posted November 2, 2013 Share Posted November 2, 2013 @bcc9 Add ALC275 to script. { name => 'Realtek ALC275', target_id => 0x10ec0275, patch_id => 0x11d41984 #ADI1984 @jaymonkey enjoy the good sound!!! Link to comment https://www.insanelymac.com/forum/topic/284004-script-to-patch-applehda-binary-for-osx107108109/page/4/#findComment-1962333 Share on other sites More sharing options...
jaymonkey Posted November 3, 2013 Share Posted November 3, 2013 @bcc9 Add ALC275 to script. { name => 'Realtek ALC275', target_id => 0x10ec0275, patch_id => 0x11d41984 #ADI1984 @jaymonkey enjoy the good sound!!! @Mirone, On board ALC275 sound is working great ... speakers, mic, headphones .. all working but no HDMI Audio despite showing up in System Information. I've worked through the edits in my DSDT for HDEF and IGPU and i think i got all the right edits in there but HDMI (DEANON-AV) does not show up as a output device when I attach my laptop to my AV Amp (HDMI video works fine) My Sony SE has HD3000 IGPU (also AMD Radeon HD 6470M but i disable it the DSDT as no way to make it work in OSX) I am connecting it to my Deanon HDMI AV amp which works fine with my other Hackingtosh which has Intel HD4000 and HDMI Audio works fine with that (am using same cable) Would appreciate any help / advice you can give, could it be an issue with the layout/pathmap , layout id = 28 (1C) ? Cheers Jay UPDATE: Please Ignore above, I got it working by patching AppleIntelSNBGraphicsFB, everything working perfect now .... Link to comment https://www.insanelymac.com/forum/topic/284004-script-to-patch-applehda-binary-for-osx107108109/page/4/#findComment-1962824 Share on other sites More sharing options...
sartemd174 Posted November 11, 2013 Share Posted November 11, 2013 Hi everybody, i'm using alc272 on Mavericks. Everything works - Interlnal/out speakers, internal/out mic. But i have a strange problem: when i don't listen any music/sound it makes a little snap/click for a second from INTERNAL speakers (even if i use out speakers), and when i start playing some sounds after a long period of omission it repeated again. It seems like my speakers is turn off after some time of omission. Does anybody have this problem? Link to comment https://www.insanelymac.com/forum/topic/284004-script-to-patch-applehda-binary-for-osx107108109/page/4/#findComment-1966566 Share on other sites More sharing options...
Mirone Posted November 11, 2013 Share Posted November 11, 2013 Hi everybody, i'm using alc272 on Mavericks. Everything works - Interlnal/out speakers, internal/out mic. But i have a strange problem: when i don't listen any music/sound it makes a little snap/click for a second from INTERNAL speakers (even if i use out speakers), and when i start playing some sounds after a long period of omission it repeated again. It seems like my speakers is turn off after some time of omission. Does anybody have this problem? we will not escape the objective of the topic. is about Binpatch the AppleHDA and not about correcting mistakes. I will send you a possible solution in PM. Link to comment https://www.insanelymac.com/forum/topic/284004-script-to-patch-applehda-binary-for-osx107108109/page/4/#findComment-1966610 Share on other sites More sharing options...
HackMan85 Posted November 12, 2013 Share Posted November 12, 2013 help me to get my realtek ALC662? I added the codec_dump and ioreg. Link to comment https://www.insanelymac.com/forum/topic/284004-script-to-patch-applehda-binary-for-osx107108109/page/4/#findComment-1966994 Share on other sites More sharing options...
Mirone Posted November 12, 2013 Share Posted November 12, 2013 says you have a working kext this topic: http://www.insanelymac.com/forum/topic/293007-applehda-alc662-help/page-2 I do not understand what you want help, Topic is about the correctness of the binary the AppleHDA, we will not change the course of things. Link to comment https://www.insanelymac.com/forum/topic/284004-script-to-patch-applehda-binary-for-osx107108109/page/4/#findComment-1967092 Share on other sites More sharing options...
HackMan85 Posted November 13, 2013 Share Posted November 13, 2013 I have the kext I took it from the download section and everything works fine for some users but I do not the audio and microphone jacks front and so I think that being changed to a gigabyte motherboard does not work for me. Link to comment https://www.insanelymac.com/forum/topic/284004-script-to-patch-applehda-binary-for-osx107108109/page/4/#findComment-1967244 Share on other sites More sharing options...
lazzy Posted December 4, 2013 Share Posted December 4, 2013 How about vt1802? i search binary patch for vt1802 so long time ago. I did with version 1.1 but it didn't work somebody can help me please! thanks Link to comment https://www.insanelymac.com/forum/topic/284004-script-to-patch-applehda-binary-for-osx107108109/page/4/#findComment-1973620 Share on other sites More sharing options...
Mirone Posted December 4, 2013 Share Posted December 4, 2013 @lazzy for via VT1802 try this: find: 8419d411 replace: 46840611 find: 8508ec10 replace: 00000000 find: 8408ec10 replace: 00000000 Link to comment https://www.insanelymac.com/forum/topic/284004-script-to-patch-applehda-binary-for-osx107108109/page/4/#findComment-1973687 Share on other sites More sharing options...
pokenguyen Posted December 8, 2013 Share Posted December 8, 2013 Please add IDT 92HD93XX to list 'IDT 76df', 0x111d76df, 'IDT 76df' => 'ADI 1984B', Thank you. Link to comment https://www.insanelymac.com/forum/topic/284004-script-to-patch-applehda-binary-for-osx107108109/page/4/#findComment-1974389 Share on other sites More sharing options...
JustinR1 Posted December 9, 2013 Share Posted December 9, 2013 Hey, so I have a Realtek ALC283 and there is no known patch for it yet, is there one that you may know of? Link to comment https://www.insanelymac.com/forum/topic/284004-script-to-patch-applehda-binary-for-osx107108109/page/4/#findComment-1974581 Share on other sites More sharing options...
Johanmartin Posted January 7, 2014 Share Posted January 7, 2014 Excuse me being a N00b,but what is this? I want my ADI-AD-2000b working? Could someone giving me exact instructions? Link to comment https://www.insanelymac.com/forum/topic/284004-script-to-patch-applehda-binary-for-osx107108109/page/4/#findComment-1982920 Share on other sites More sharing options...
Bungo Posted March 4, 2014 Share Posted March 4, 2014 Hi bcc9, MV 10.9.2 update killed my sound. Up to this version I used old working kexts rolled back from SL (EAPD fix resumable-mutable-sound-v1 for IOAudioFamily by km9 from mydellmini forum) because any other method didn't make my sound working. MV 10.9.2 stopped loading rolled back (and newest too) AppleHDA and IOAudioFamily. Just tried your patch: adam-lap:patch-hda.3.1 adam$ ./patch-hda.pl -t -s /Users/adam/Desktop/MV\ 10.9.2\ kexts OSX version 10.7 detected Enter codec-id or codec-name for AppleHDA patch. Eg. 111d7675 or IDT 7675 Press enter for default, or ? for help ? Couldn't get target codec id for Supported codecs: Target Target Patch Codec ID Name Codec Name ------------------------------------------- 10ec0662 Realtek ALC662 ALC 885 111d7603 IDT 7603 ADI 1984 10ec0272 Realtek ALC272 ADI 1984 111d76e0 IDT 76e0 ADI 1984B 10ec0889 Realtek ALC889 Choice 1: ALC 885 Choice 2: ADI 1984 111d7675 IDT 7675 ADI 1984 10ec0892 Realtek ALC892 Choice 1: ALC 885 Choice 2: ADI 1984B 10ec0883 Realtek ALC883 ALC 885 10ec0270 Realtek ALC270 ADI 1984 11060441 VIA VT2021 ADI 1984 10ec0887 Realtek ALC887 ADI 1984B 11d4989b ADI AD2000B ADI 1984B 111d76d1 IDT 76d1 ADI 1984 10ec0269 Realtek ALC269 ADI 1984 10ec0888 Realtek ALC888 ALC 885 10ec0882 Realtek ALC882 ALC 885 111d7605 IDT 7605 ADI 1984B spaces in a path? And: adam-lap:patch-hda.3.1 adam$ ./patch-hda.pl -t -s /Users/adam/Desktop OSX version 10.9 detected Enter codec-id or codec-name for AppleHDA patch. Eg. 111d7675 or IDT 7675 Press enter for default, or ? for help ? Couldn't get target codec id for Supported codecs: Target Target Patch Codec ID Name Codec Name ------------------------------------------- 10ec0662 Realtek ALC662 ALC 885 111d7603 IDT 7603 ADI 1984 10ec0272 Realtek ALC272 ADI 1984 111d76e0 IDT 76e0 ADI 1984B 10ec0889 Realtek ALC889 Choice 1: ALC 885 Choice 2: ADI 1984 111d7675 IDT 7675 ADI 1984 10ec0892 Realtek ALC892 Choice 1: ALC 885 Choice 2: ADI 1984B 10ec0883 Realtek ALC883 ALC 885 10ec0270 Realtek ALC270 ADI 1984 11060441 VIA VT2021 ADI 1984 10ec0887 Realtek ALC887 ADI 1984B 11d4989b ADI AD2000B ADI 1984B 111d76d1 IDT 76d1 ADI 1984 10ec0269 Realtek ALC269 ADI 1984 10ec0888 Realtek ALC888 ALC 885 10ec0882 Realtek ALC882 ALC 885 111d7605 IDT 7605 ADI 1984B Any chance for my sound in MV 10.9.2? dump+xml.zip (Platforms.xml -> item 11) SOLVED: here Link to comment https://www.insanelymac.com/forum/topic/284004-script-to-patch-applehda-binary-for-osx107108109/page/4/#findComment-1999957 Share on other sites More sharing options...
RehabMan Posted May 21, 2014 Share Posted May 21, 2014 @bcc9, Very useful script. Over time, I've added a few to my version: %codec_names_to_num = ( 'Nexant 506e', 0x14f1506e, #aka Conexant 20672 (rehabman) 'IDT 76d9', 0x111d76d9, #aka 92HD87B2/4 (rehabman) 'Realtek ALC283', 0x10ec0283, # (rehabman) 'Realtek ALC670', 0x10ec0670, # (rehabman) %codecs_map = ( 'Nexant 506e' => 'ADI 1984B', # (rehabman) 'IDT 76d9' => 'ADI 1984B', #per BigDonkey (rehabman) 'Realtek ALC283' => 'ADI 1984', #per mirone23 (rehabman) 'Realtek ALC670' => 'ADI 1984', #per Alex Auditore (rehabman) Maybe you can add these to the official version. And would it be possible to specify both patch-codec and target-codec as numbers instead of via lookup? Eg. # equivalent to 'IDT 76d9' above... ./patch-hda 0x111d76d9 0x11d4198b That way the script could be used without modification to test with new codecs where the patch-codec (one of the three) is not yet known. Another useful feature... (request). It would be nice if the script could be started with an option to output Clover config.plist KextsToPatch data. My perl understanding is not where it would need to be to implement such a feature... Perhaps for your consideration. At the present, I use xxd/diffmerge to determine the binary diffs and create Find/Replace sets manually. 1 Link to comment https://www.insanelymac.com/forum/topic/284004-script-to-patch-applehda-binary-for-osx107108109/page/4/#findComment-2021194 Share on other sites More sharing options...
Mirone Posted May 22, 2014 Share Posted May 22, 2014 I also added other codecs, this is a very useful script. I can post the script with codecs added that if this is help someone. 2 Link to comment https://www.insanelymac.com/forum/topic/284004-script-to-patch-applehda-binary-for-osx107108109/page/4/#findComment-2021599 Share on other sites More sharing options...
RehabMan Posted May 22, 2014 Share Posted May 22, 2014 I also added other codecs, this is a very useful script. I can post the script with codecs added that if this is help someone. Definitely... I'd like to see you post them. I think if we can provide them here, bcc9 will integrate them into the next version. 1 Link to comment https://www.insanelymac.com/forum/topic/284004-script-to-patch-applehda-binary-for-osx107108109/page/4/#findComment-2021626 Share on other sites More sharing options...
Mirone Posted May 22, 2014 Share Posted May 22, 2014 Here it is: Patch-hda script.zip 1 Link to comment https://www.insanelymac.com/forum/topic/284004-script-to-patch-applehda-binary-for-osx107108109/page/4/#findComment-2021637 Share on other sites More sharing options...
bcc9 Posted May 23, 2014 Author Share Posted May 23, 2014 Thank you for the updates, I've merged these together plus pokenguyen's old change. Will add to post #1 in a moment. Obviously I'm doing a bad job having the time to maintain edits to this list myself. Seems like this would be better maintained via a wiki. Does insanelymac have a wiki for such things? Link to comment https://www.insanelymac.com/forum/topic/284004-script-to-patch-applehda-binary-for-osx107108109/page/4/#findComment-2021829 Share on other sites More sharing options...
Recommended Posts