Jump to content

New AppleHDA Patcher


Mirone

It is with great happiness that I and Micky1979 came bring this news, the new AppleHDA Patcher is out.

 

One of the new features is that you no longer have your patched files separately,

all codecs for laptop´s and Desktop's are now implemented in the application itself,

you can find out more in the download section

 

Enjoy!


User Feedback

Recommended Comments



Hi mirone,, 
I have this codec audio with Sony Vaio,, i try using AppleHD Patcher.app and select ALC269 AIO. Then i try layout id from 1 to 7 but no result.

Does appleHDA Patcher.app support this codec revision???

Thanks before

post-1311960-0-42370300-1450444920_thumb.jpg

Link to comment
Share on other sites

Yes, i have patch my DSDT with IRQ from Your AppleHDA Patcher.app. It looks same like rehabman patcher right???

I tried only with ALC269 AIO, ALC269VC and ALC269VB are for Desktop right??? I get the info from your Apple HDA Patcher.app :)

Correct me if i was wrong :)

Link to comment
Share on other sites

Yes, i have patch my DSDT with IRQ from Your AppleHDA Patcher.app. It looks same like rehabman patcher right???

 

I tried only with ALC269 AIO, ALC269VC and ALC269VB are for Desktop right??? I get the info from your Apple HDA Patcher.app :)

 

Correct me if i was wrong :)

ALC269 only for Laptops.

Link to comment
Share on other sites

Yes, i have patch my DSDT with IRQ from Your AppleHDA Patcher.app. It looks same like rehabman patcher right???

 

I tried only with ALC269 AIO, ALC269VC and ALC269VB are for Desktop right??? I get the info from your Apple HDA Patcher.app :)

 

Correct me if i was wrong :)

 

hi. try this dummy with layout id 3 on dsdt and copy the info about applehda, Expect 2 matches... to your config.plist in the correct section.

 

first install the vanilla applehda. install dummy in s/l/e. repair permitions and caches... tell me if it works.

D.rar

Link to comment
Share on other sites

Thanks,, i am trying.


hi. try this dummy with layout id 3 on dsdt and copy the info about applehda, Expect 2 matches... to your config.plist in the correct section.

 

first install the vanilla applehda. install dummy in s/l/e. repair permitions and caches... tell me if it works.

Can you zip it please :(


Sorry for trouble,, 
I just need to downloard archiver from App Store,, i am installing right now


No device output totally at System Report :(

post-1311960-0-12803900-1450449926_thumb.png

post-1311960-0-07361600-1450450030_thumb.png

Link to comment
Share on other sites

if you did all right, then it must be another variant from the 269. mine was very hard to find a fully working one. please check if the dummy is indeed in the kernelcache along with the original untouched applehda from the system. if one step is not done properly, the dummy will not work.

Link to comment
Share on other sites

 

 

 

 

It is not at all
in some cases works Mic
I think it should be a problem
with the revision of the codec.

 

 

Maybe I try to follow your guide to get mic working? Worth the effort? Its funny that voodooHDA works for the mic.... BTW, Thank you for all the help and everyone... really nice app

Link to comment
Share on other sites

Maybe I try to follow your guide to get mic working? Worth the effort? Its funny that voodooHDA works for the mic.... BTW, Thank you for all the help and everyone... really nice app

Is not funny. VoodooHDA simply is not multichannel, so if that is enough for the user, is a good choices :)

Link to comment
Share on other sites

hi i was try this tools, its working perfectly to get work my connexant 20590,, but i have i problem,, volume slider in menu bar doesn't sync with volume in preference ,, can you help me ?

Link to comment
Share on other sites

Hi guys,

 

i'm using the pre-patched AppleHDA binaries long time ago without any problems from Mirone's git. My laptop (Acer M5 481TG) have ALC296, and the ALC296VB_V3 kext used to work with headphone output, but some days ago my headphone output become silent after the update (10.11.2). Hardware tested in Linux, works well.

 

I wasn't able found any updated pre-patched kext, so i tried to revert back to an earlier version, but no dice. So i decided to patch it myself with Mirone-s AppleHDA patcher tool, but it can't patch it:

Choosen codec is Realteck ALC 269 VC v3
Checking 16 range comparisons between 11d41984 and 10ec0269
Found range comparison 10ec0885
Found range comparison 11d41983
2 codec range comparison(s) to patch
config.plist created and copied to ~/Desktop/MironeAudio/!

HDAEnabler.kext created with layout-id 3!
Zeroing 10ec0885 codec
    occurrences 1 of 2 expected patched!
    occurrences 2 of 2 expected patched!
Zeroing 11d41983 codec
    occurrences 1 of 2 expected patched!
    occurrences 2 of 2 expected patched!
Patching 11d41984 with 10ec0269 codec
    occurrences 1 of 2 expected patched!
    occurrences 2 of 2 expected patched!
AppleHDA binary succesfully patched!
failed to patch layout3.xml.zlib..
AppleHDAHardwareConfigDriver.kext/Contents/Info.plist patched!
Problem patching xml files, aborting

So: reverting doesn't works. Patching doesn't works. Interestingly if i revert the kext back to an pre-patched earlier version, the Speaker works, but the Headphone output silent. Jack sensing works, but silent.

 

This is my DSDT HDEF section:

        Device (HDEF)
        {
            Name (_ADR, 0x001B0000)  // _ADR: Address
            OperationRegion (HDAR, PCI_Config, 0x4C, 0x10)
            Field (HDAR, WordAcc, NoLock, Preserve)
            {
                DCKA,   1, 
                Offset (0x01), 
                DCKM,   1, 
                    ,   6, 
                DCKS,   1, 
                Offset (0x08), 
                    ,   15, 
                PMES,   1
            }

            Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
            {
                If ((Arg2 == Zero))
                {
                    Return (Buffer (One)
                    {
                         0x03                                             /* . */
                    })
                }

                Return (Package (0x08)
                {
                    "built-in", 
                    Buffer (One)
                    {
                         0x00                                             /* . */
                    }, 

                    "layout-id", 
                    Unicode ("\x03"), 
                    "hda-gfx", 
                    Buffer (0x0A)
                    {
                        "onboard-1"
                    }, 

                    "PinConfigurations", 
                    Buffer (Zero) {}
                })
            }

            Name (_PRW, Package (0x02)  // _PRW: Power Resources for Wake
            {
                0x0D, 
                Zero
            })
        }

LSPCI:

00:1b.0 Audio device [0403]: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller [8086:1e20] (rev 04)
    Subsystem: Acer Incorporated [ALI] Device [1025:0713]
    Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0, Cache Line Size: 64 bytes
    Interrupt: pin A routed to IRQ 22
    Region 0: Memory at f90410000 (64-bit, non-prefetchable)
    Capabilities: [50] Power Management version 2
        Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
        Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
    Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Address: 00000000fee00000 Data: 4071
    Capabilities: [70] Express (v1) Root Complex Integrated Endpoint, MSI 00
        DevCap:    MaxPayload 128 bytes, PhantFunc 0, Latency L0s <64ns, L1 <1us
            ExtTag- RBE- FLReset+
        DevCtl:    Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
            RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+
            MaxPayload 128 bytes, MaxReadReq 128 bytes
        DevSta:    CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
        LnkCap:    Port #0, Speed unknown, Width x0, ASPM unknown, Latency L0 <64ns, L1 <1us
            ClockPM- Surprise- LLActRep- BwNot-
        LnkCtl:    ASPM Disabled; Disabled- Retrain- CommClk-
            ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
        LnkSta:    Speed unknown, Width x0, TrErr- Train- SlotClk- DLActive- BWMgmt- ABWMgmt-

Do somebody have idea, how can i patch the vanilla AppleHDA for 10.11.2? Or can somebody do that for me?

Thank you very much!

 

--z

Link to comment
Share on other sites

Hi guys,

 

i'm using the pre-patched AppleHDA binaries long time ago without any problems from Mirone's git. My laptop (Acer M5 481TG) have ALC296, and the ALC296VB_V3 kext used to work with headphone output, but some days ago my headphone output become silent after the update (10.11.2). Hardware tested in Linux, works well.

 

I wasn't able found any updated pre-patched kext, so i tried to revert back to an earlier version, but no dice. So i decided to patch it myself with Mirone-s AppleHDA patcher tool, but it can't patch it:

Choosen codec is Realteck ALC 269 VC v3
Checking 16 range comparisons between 11d41984 and 10ec0269
Found range comparison 10ec0885
Found range comparison 11d41983
2 codec range comparison(s) to patch
config.plist created and copied to ~/Desktop/MironeAudio/!

HDAEnabler.kext created with layout-id 3!
Zeroing 10ec0885 codec
    occurrences 1 of 2 expected patched!
    occurrences 2 of 2 expected patched!
Zeroing 11d41983 codec
    occurrences 1 of 2 expected patched!
    occurrences 2 of 2 expected patched!
Patching 11d41984 with 10ec0269 codec
    occurrences 1 of 2 expected patched!
    occurrences 2 of 2 expected patched!
AppleHDA binary succesfully patched!
failed to patch layout3.xml.zlib..
AppleHDAHardwareConfigDriver.kext/Contents/Info.plist patched!
Problem patching xml files, aborting

from your log:

failed to patch layout3.xml.zlib.. 

so you simply have found a bug in AppleHDA Patcher.app, but the problem is that here works well:

Choosen codec is Realteck ALC 269 VB v3
Checking 16 range comparisons between 11d41984 and 10ec0269
Found range comparison 10ec0885
Found range comparison 11d41983
2 codec range comparison(s) to patch
config.plist created and copied to ~/Desktop/MironeAudio/!

HDAEnabler.kext created with layout-id 3!
Zeroing 10ec0885 codec
occurrences 1 of 2 expected patched!
occurrences 2 of 2 expected patched!
Zeroing 11d41983 codec
occurrences 1 of 2 expected patched!
occurrences 2 of 2 expected patched!
Patching 11d41984 with 10ec0269 codec
occurrences 1 of 2 expected patched!
occurrences 2 of 2 expected patched!
AppleHDA binary succesfully patched!
layout3.xml.zlib patched!
Platforms.xml.zlib patched!
AppleHDAHardwareConfigDriver.kext/Contents/Info.plist patched!
AppleHDA.kext copied to ~/Desktop/MironeAudio/!
aDummyHDA.kext generated successfully (copied to ~/Desktop/MironeAudio/)!

Mirone use layout-id 3 for laptop's codecs,
Instead for Desktop's codecs:
layout-id 5 for 3 ports supported (Pink, Green, Blue).
layout-id 7 for 5/6 ports supported (Grey, Black, Orange, Pink, Green, Blue).
layout-id 9 for 5/6 ports supported (Grey, Black, Orange, Pink, Green, Blue, CodecAddress: 2).

Use that to activate  AppleHDA.kext using DSDT.aml, HDAEnabler.kext, Clover patches or Enoch embedded HDAEnabler!

Targhet AppleHDA.kext reset to /System/Library/Extensions/AppleHDA.kext.

For further sessions, drag your vanilla kext to patch for specific version!

Link to comment
Share on other sites

And  #106

Off course :D

At my DSDT there is no OEM DSM for HDEF,, so i don't need to drop OEM DSM of HDEF

I try with Ineject Layout id from Config.plist and DSDT too.

 

voilat:             #79            

 

Can I have a complete dump of all your ACPI tables, original and patched (if any)?

..just to take a look :)

Sorry for late reply,, at last i can activate internal speaker with file from @Mendietinha, but no Input Devices

 

hi. try this dummy with layout id 3 on dsdt and copy the info about applehda, Expect 2 matches... to your config.plist in the correct section.

 

first install the vanilla applehda. install dummy in s/l/e. repair permitions and caches... tell me if it works.

Thank for you file, after make some change i can activate my internal speaker but no input Devices

 

 

All, this is what i do to Mendietinha's file

 

1. I make "DummyKext" but only contain info.plist that contain "HDAConfigDefault / PinConfig" and i get this values from Mendietinha's file

2. I make manual patch on the fly at Clover

3. I took Layout3.xml.zlib and Platform.xml.zlib from Mendietinha's file and change into Layout3.zml.zlib and Platforms.zml.zlib then i put in this file to "AppleHDA.kext/Contents/Resources" and reinstall this kext.

4. Take a reboot, and my internal speaker work. But no input Devices.

 

I always do this thing for all Mirone's file at "AppleHDA for Yosemite" so i can keep S\LE\ vanilla. (just AppleHDA that contain patched Layout and platform with different extension). Credit to Miron, Axbite, and other.

So, for ALC269 revision 0x0004 is use different node, my i ask Mirone or Mickey to input this revision to your AppleHDAPatcher.app?? :)

 

And can i ask Codec_dump.txt from you @Mendietinha?? I need to check Internal Mic :)

 

Sorry all for my bad english,, 

 

This is my file 

ALC269 Revison 0x0004.zip

Link to comment
Share on other sites

 

you must choose an option that
goes according to your audio codec
ALC1150,889,887,885,892 etc ...

and use HDAEnabler.kext

 

Hey guys, I'm also using Ozmosis 1669m, and USB DAC (driverless), but I couldn't get audio work properly with the patcher. It works, but after reboot sometimes the DAC disappears form the sound menu, cuts out after seven seconds and I have to go to the sound settings, then reappears, or sometimes it works until the next reboot.

Could you guide me how to patch it properly with Ozmosis?

Link to comment
Share on other sites

@anowzic:

 

With a USB DAC you're not using AppleHDA at all. The problems you describe are more likely to be due to issues with El Capitan. The new USB stack caused problems for a lot of USB audio devices. Those that had drivers were fixed by the manufacturer. For class-compliant ones like yours it's up to Apple to fix whatever they broke with USB audio.

 

If you still have Yosemite, try replacing AppleUSBAudio.kext with the Yosemite version and see if that helps.

  • Like 2
Link to comment
Share on other sites



×
×
  • Create New...