Jump to content

AppleALC — dynamic AppleHDA patching


vit9696
5,320 posts in this topic

Recommended Posts

wern apfel, unsure what you meant :D. I am not really interested in the credits game people sometimes have fun playing.
As far as I know BSD license allows it, if you are interested in legal questions, I would not have cared even if it did not though.
The only thing I am interested in here is that the official AppleALC builds offer the most complete and functional configurations.
I. e. all the side edits if they are worth something and are properly made would rather be pull-requested and merged into master.

So in general I view side builds/dev-builds with or without own edits as something personal-testing to get stuff working for a certain person, which later returns back to the project.

  • Like 3
Link to comment
Share on other sites

ATM i've only added 2 new codecs, which works flawlessly since weeks on my laptop and desktop, so thank you for this kext.

My question is if it's ok when i upload this kext on another forum.

 

I have no git account to add this new codecs

Link to comment
Share on other sites

wern apfel, XD. I am not your doctor in charge to tell you whether it is going to be "OK" for you to upload it somewhere.

I have no objections though (and not even really interested).

I guess you may attach the changes here, so that somebody can make a pull-request for you if he finds the codecs important.

  • Like 1
Link to comment
Share on other sites

Nice work vit9696!! I was thinking of how long such patch on AppleHDA will come, not so long!

 

Here's my configuration on both DELL Precision M3800 and XPS15 (9530) (ALC668/ALC3661):

 

-AppleALC/Resources/ALC668/Info.plist

1. Set CodecID=283903592

2. Set Files/Layouts/Item0(or Item1 as you like)/ID=1;

    Set Files/Layouts/Item0(the same as above)/Path=layout1.xml.zlib;

3. Patches: 

  Remove previous patches and added following 4 patches(otherwise, it will not work)

<key>Patches</key>
	<array>
		<dict>
			<key>Count</key>
			<integer>2</integer>
			<key>Find</key>
			<data>
			hQjsEA==
			</data>
			<key>MinKernel</key>
			<integer>13</integer>
			<key>Name</key>
			<string>AppleHDA</string>
			<key>Replace</key>
			<data>
			AAAAAA==
			</data>
		</dict>
		<dict>
			<key>Count</key>
			<integer>2</integer>
			<key>Find</key>
			<data>
			hAjsEA==
			</data>
			<key>MinKernel</key>
			<integer>13</integer>
			<key>Name</key>
			<string>AppleHDA</string>
			<key>Replace</key>
			<data>
			AAAAAA==
			</data>
		</dict>
		<dict>
			<key>Count</key>
			<integer>2</integer>
			<key>Find</key>
			<data>
			hBnUEQ==
			</data>
			<key>MinKernel</key>
			<integer>13</integer>
			<key>Name</key>
			<string>AppleHDA</string>
			<key>Replace</key>
			<data>
			aAbsEA==
			</data>
		</dict>
		<dict>
			<key>Count</key>
			<integer>2</integer>
			<key>Find</key>
			<data>
			gxnUEQ==
			</data>
			<key>MinKernel</key>
			<integer>13</integer>
			<key>Name</key>
			<string>AppleHDA</string>
			<key>Replace</key>
			<data>
			AAAAAA==
			</data>
		</dict>
	</array>

4. Save the Info.plist.

5. Remove layout3.xml.zlib in AppleALC/Resources/ALC668.

6. Remove PlatformsM.xml.zlib in AppleALC/Resources/ALC668.

7. Copy new layout(layout1.zml.zlib) and Platforms.xml.zlib to AppleALC/Resources/ALC668.

8. Replaced PinConfigs.kext with modified one (inject HDA for M3800&XPS9530, set attach).

9. Xcode->open project->Product->Build For->Runing to generate AppleALC.kext.

10. Place AppleALC.kext in Clover/kexts/10.11(or whatever system you use), reboot to see the surprise made by vit9696.

 

NOTE: 1.Without CodecCommander.kext, white noise will not disappear from headphone. 

            2. If I add more files under Resources/ALC668, Xcdoe will report "Build failed" due to "/Users/lighting/AppleALC/AppleALC/kern_resources.cpp:10795:69: Use of undeclared identifier 'null'"

 

Again, thx for vit9696, his invaluable kernel extension make the patch of HDA elegant than ever! 

See also: https://github.com/syscl/M3800to find the pre-build AppleALC.kext for M3800/XPS9530.

 

nanoAppleALC_Res.zip

Link to comment
Share on other sites

Hello

I have asus G551jm with Alc668 and HDMI HD4600 look like syscl but my codec is little different 

http://www.mediafire.com/download/zvqq3yycrxtwpd0/codec_dump.txt

http://www.mediafire.com/download/157c1kbs01cfm3m/codec_dumpHDMI_HD4600.txt

and i have combo mirco and headphone use same port

My laptop has combo micro and headphone as well. So you can try my version. Also I think it is better for vit9696 to merge what I made into his AppleALC.kext.

Link to comment
Share on other sites

Nice work vit9696!! I was thinking of how long such patch on AppleHDA will come, not so long!

I tried to merge this mess, you could try layout-id 27 for yourself now ^__^.

In future: never ever pick a random id you wish to, and never ever delete other files. There is a proper guideline on how to add things, please follow it :)

  • Like 1
Link to comment
Share on other sites

My laptop has combo micro and headphone as well. So you can try my version. Also I think it is better for vit9696 to merge what I made into his AppleALC.kext.

do you have subwoofer ? I have 2 speaker front and 1 subwoofer at bottom Can appleHDA active it?

could you share all you kext sound alc668, config , fix issue sleep? please

 

Thanks 

 

@vit9696 why did you change layout 26 or 27 for laptop model i think it should be 3 (like guide mirone)

Link to comment
Share on other sites

I tried to merge this mess, you could try layout-id 27 for yourself now ^__^.

In future: never ever pick a random id you wish to, and never ever delete other files. There is a proper guideline on how to add things, please follow it :)

Actually, configdata in PinConfigs.kext for M3800 is totally a specified/different one from Mirone(with magic number and from my laptop dump). I've rewritten that.

 

Tested your new source code of AppleALC.kext, ALC668 now work as a charm! But I have to set the layoutID=27 :(

 

Good news are remove redundant resources code will not cause Xcdoe build fail, and the size reduce to 345KB :hysterical: .

 

A bug report: HDMI enable for ig-platform-id=0x0A2E0008 still not work. Here's my patch about HDMI audio(almost the same as Clover kexts to patch)

                        <dict>
				<key>Count</key>
				<integer>5</integer>
				<key>MinKernel</key>
				<string>13</string>
				<key>Find</key>
				<data>
				PQwKAAA=
				</data>
				<key>Name</key>
				<string>AppleHDAController</string>
				<key>Replace</key>
				<data>
				PQwMAAA=
				</data>
			</dict>

////

Link to comment
Share on other sites

Congrat @SammlerG

@Mirone Just realized Audio->Inject (and maybe other device inject) cannot work together with EFIStrings. So FixHDA_8000 is just "like" a fallback for me (Clover inject HDEF properties via DSDT). Apologies everyone

Link to comment
Share on other sites

Hello

Test on my Asus G551JM ALC668 OSX 10.11.4

i put appleALC.kext on clover/kexts

It works only headphone

built in speaker, mirco built-in , mirco external doesn't work 

 

Attach the one AppleHDA.kext(optional, DummyHDA) that work in your case. 

 

I will help to figure out what's wrong.

Link to comment
Share on other sites

Why am I supposed to dig in the mess you provided?

Sorry for my poor English,I download your project and try to add my Laptop's HDA. But I failed to do. I only think it can reduce workload for you and make your kext perfect. Thanks for your work

Link to comment
Share on other sites

Magic Number?  :hysterical:

@Mirone Hi Mirone, I found your ALC668 is very suit for some M3800 :thumbsup_anim: But some M3800 with 4K display model lose its sound(audio device exist), hence I rebuild configdata, platforms, layout :hysterical:

 

Can you give me some hints to solve the injected headphone lose sound issue during boot?  :drool:

Link to comment
Share on other sites

yes I think so

Mirone do patch for asus model K and N

 ALC668 on asus rog Model G like g551 g751 ( maybe Dell also) is difference 

Sometimes it works fine sometimes not

it works fine almost with headphone but buit-in mirco and buit-in speaker is not stable

external mirco doesn't work (because of combo headphone and micro use same port?) 

Link to comment
Share on other sites

Unfortunately, didn't work on n5110 with IDT92HD81B1X5

 

Debug log posted below

4/6/16 9:22:32.000 PM kernel[0]: calling mpo_policy_init for AppleALC
4/6/16 9:22:32.000 PM kernel[0]: Security policy loaded: AppleALC Kernel Module (AppleALC)
4/6/16 9:29:11.000 PM kernel[0]: calling mpo_policy_init for AppleALC
4/6/16 9:29:11.000 PM kernel[0]: Security policy loaded: AppleALC Kernel Module (AppleALC)
4/6/16 9:39:08.000 PM kernel[0]: AppleALC: (DEBUG) init @ boot arguments disabled 0, debug 1
4/6/16 9:39:08.000 PM kernel[0]: AppleALC: (DEBUG) init @ initialising AppleALC with policy mode
4/6/16 9:39:08.000 PM kernel[0]: calling mpo_policy_init for AppleALC
4/6/16 9:39:08.000 PM kernel[0]: Security policy loaded: AppleALC Kernel Module (AppleALC)
4/6/16 9:39:08.000 PM kernel[0]: AppleALC: (DEBUG) init @ policy hit
4/6/16 9:39:08.000 PM kernel[0]: AppleALC: (DEBUG) init @ initialising enabler
4/6/16 9:39:08.000 PM kernel[0]: AppleALC: (DEBUG) mach @ MachInfo asKernel 1 object constructed
4/6/16 9:39:08.000 PM kernel[0]: AppleALC: (DEBUG) mach @ Address of interrupt 80 stub is 0xffffff8000433610
4/6/16 9:39:08.000 PM kernel[0]: AppleALC: (DEBUG) mach @ Found kernel mach-o header address at 0xffffff8000200000
4/6/16 9:39:08.000 PM kernel[0]: AppleALC: (DEBUG) mach @ Found executable at path: /System/Library/Kernels/kernel
4/6/16 9:39:08.000 PM kernel[0]: AppleALC: (DEBUG) mach @ header processing found TEXT
4/6/16 9:39:08.000 PM kernel[0]: AppleALC: (DEBUG) mach @ header processing found LINKEDIT
4/6/16 9:39:08.000 PM kernel[0]: AppleALC: (DEBUG) mach @ header processing found SYMTAB
4/6/16 9:39:08.000 PM kernel[0]: AppleALC: (DEBUG) mach @ Address of interrupt 80 stub is 0xffffff8000433610
4/6/16 9:39:08.000 PM kernel[0]: AppleALC: (DEBUG) mach @ Found kernel mach-o header address at 0xffffff8000200000
4/6/16 9:39:08.000 PM kernel[0]: AppleALC: (DEBUG) mach @ aslr/load slide is 0x0
4/6/16 9:39:08.000 PM kernel[0]: AppleALC: (DEBUG) mach @ MachInfo asKernel 0 object constructed
4/6/16 9:39:08.000 PM kernel[0]: AppleALC: (DEBUG) mach @ Found executable at path: /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAController.kext/Contents/MacOS/AppleHDAController
4/6/16 9:39:08.000 PM kernel[0]: AppleALC: (DEBUG) mach @ header processing found TEXT
4/6/16 9:39:08.000 PM kernel[0]: AppleALC: (DEBUG) mach @ header processing found LINKEDIT
4/6/16 9:39:08.000 PM kernel[0]: AppleALC: (DEBUG) mach @ header processing found SYMTAB
4/6/16 9:39:08.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ loaded kinfo com.apple.driver.AppleHDAController at 1u index
4/6/16 9:39:08.000 PM kernel[0]: AppleALC: (DEBUG) mach @ Found symbol _OSKextLoadedKextSummariesUpdated at 0xffffff8000880ef0 (non-aslr 0xffffff8000880ef0)
4/6/16 9:39:08.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ _OSKextLoadedKextSummariesUpdated address FFFFFF8000880EF0 value 2E66C35DE5894855
4/6/16 9:39:08.000 PM kernel[0]: AppleALC: (DEBUG) mach @ Found symbol _gLoadedKextSummaries at 0xffffff8000b12d90 (non-aslr 0xffffff8000b12d90)
4/6/16 9:39:08.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ _gLoadedKextSummaries address 0xffffff8000b12d90
4/6/16 9:39:08.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ diff FFFFFFFF81C0A61B argument 81C0A61B
4/6/16 9:39:08.000 PM kernel[0]: AppleALC: (DEBUG) mach @ MachInfo asKernel 0 object constructed
4/6/16 9:39:08.000 PM kernel[0]: AppleALC: (DEBUG) mach @ Found executable at path: /System/Library/Extensions/AppleIntelFramebufferAzul.kext/Contents/MacOS/AppleIntelFramebufferAzul
4/6/16 9:39:08.000 PM kernel[0]: AppleALC: (DEBUG) mach @ header processing found TEXT
4/6/16 9:39:08.000 PM kernel[0]: AppleALC: (DEBUG) mach @ header processing found LINKEDIT
4/6/16 9:39:08.000 PM kernel[0]: AppleALC: (DEBUG) mach @ header processing found SYMTAB
4/6/16 9:39:08.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ loaded kinfo com.apple.driver.AppleIntelFramebufferAzul at 2u index
4/6/16 9:39:08.000 PM kernel[0]: AppleALC: (DEBUG) mach @ MachInfo asKernel 0 object constructed
4/6/16 9:39:08.000 PM kernel[0]: AppleALC: (DEBUG) mach @ Found executable at path: /System/Library/Extensions/AppleHDA.kext/Contents/MacOS/AppleHDA
4/6/16 9:39:08.000 PM kernel[0]: AppleALC: (DEBUG) mach @ header processing found TEXT
4/6/16 9:39:08.000 PM kernel[0]: AppleALC: (DEBUG) mach @ header processing found LINKEDIT
4/6/16 9:39:08.000 PM kernel[0]: AppleALC: (DEBUG) mach @ header processing found SYMTAB
4/6/16 9:39:08.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ loaded kinfo com.apple.driver.AppleHDA at 3u index
4/6/16 9:39:08.000 PM kernel[0]: AppleALC: (DEBUG) mach @ MachInfo asKernel 0 object constructed
4/6/16 9:39:08.000 PM kernel[0]: AppleALC: (DEBUG) mach @ Found executable at path: /System/Library/Extensions/AppleIntelFramebufferCapri.kext/Contents/MacOS/AppleIntelFramebufferCapri
4/6/16 9:39:08.000 PM kernel[0]: AppleALC: (DEBUG) mach @ header processing found TEXT
4/6/16 9:39:08.000 PM kernel[0]: AppleALC: (DEBUG) mach @ header processing found LINKEDIT
4/6/16 9:39:08.000 PM kernel[0]: AppleALC: (DEBUG) mach @ header processing found SYMTAB
4/6/16 9:39:08.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ loaded kinfo com.apple.driver.AppleIntelFramebufferCapri at 4u index
4/6/16 9:39:08.000 PM kernel[0]: AppleALC: (DEBUG) init @ policy hit
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ last kext is FFFFFF7F82141000 and its name is com.apple.driver.AppleIntelSNBGraphicsFB
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ last kext is FFFFFF7F81461000 and its name is com.apple.iokit.IONDRVSupport
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ last kext is FFFFFF7F81326000 and its name is com.apple.iokit.IOSlowAdaptiveClockingFamily
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ last kext is FFFFFF7F82181000 and its name is com.apple.driver.AppleIntelSlowAdaptiveClocking
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ last kext is FFFFFF7F8201F000 and its name is com.apple.driver.AppleSMBusPCI
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ last kext is FFFFFF7F813A5000 and its name is com.apple.driver.IOPlatformPluginFamily
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ last kext is FFFFFF7F82100000 and its name is com.apple.driver.AppleLPC
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ last kext is FFFFFF7F813B4000 and its name is com.apple.driver.IOPlatformPluginLegacy
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ last kext is FFFFFF7F813C8000 and its name is com.apple.driver.AppleSMC
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ last kext is FFFFFF7F813E4000 and its name is com.apple.driver.ACPI_SMC_PlatformPlugin
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloadingPrevious shutdown cause: 5
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ last kext is FFFFFF7F81D7A000 and its name is com.apple.vecLib.kext
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ last kext is FFFFFF7F81DF2000 and its name is com.apple.iokit.IOAudioFamily
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ last kext is FFFFFF7F82315000 and its name is com.apple.iokit.IOHDAFamily
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ last kext is FFFFFF7F82324000 and its name is com.apple.driver.AppleHDAController
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ caught the right kext at FFFFFF7F82324000, invoking handler
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) mach @ aslr/load slide is 0xffffff7f82324000
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) util @ getOSData device-id has 116 value
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) util @ getOSData revision-id has 9 value
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) util @ getOSData AAPL,ig-platform-id was not found
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) util @ getOSData device-id has 1C20 value
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) util @ getOSData revision-id has 5 value
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) util @ getOSData layout-id has 12 value
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) util @ getOSData AAPL,ig-platform-id was not found
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) alc @ found 2u audio controllers
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) alc @ validating 0u controller 8086:116:9
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) alc @ comparing to 0u mod 8086:8CA0
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) alc @ comparing to 1u mod 8086:C0C
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) alc @ comparing to 2u mod 8086:8D20
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) alc @ comparing to 3u mod 8086:412
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) alc @ comparing to 4u mod 8086:166
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) alc @ comparing to 5u mod 8086:166
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) alc @ comparing to 6u mod 8086:166
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) alc @ comparing to 7u mod 8086:166
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) alc @ validating 1u controller 8086:1C20:5
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) alc @ comparing to 0u mod 8086:8CA0
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) alc @ comparing to 1u mod 8086:C0C
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) alc @ comparing to 2u mod 8086:8D20
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) alc @ comparing to 3u mod 8086:412
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) alc @ comparing to 4u mod 8086:166
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) alc @ comparing to 5u mod 8086:166
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) alc @ comparing to 6u mod 8086:166
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) alc @ comparing to 7u mod 8086:166
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) alc @ missing ControllerModInfo for 0u controller
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) alc @ missing ControllerModInfo for 1u controller
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ last kext is FFFFFF7F81004000 and its name is com.apple.iokit.IOUSBUserClient
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloadingSound assertion in AppleHDAController at line 556
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ last kext is FFFFFF7F813AF000 and its name is com.apple.driver.AppleSMCPDRC
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ last kext is FFFFFF7F8237E000 and its name is com.apple.driver.AppleFIVRDriver
4/6/16 9:39:10.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
4/6/16 9:39:11.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ last kext is FFFFFF7F821D0000 and its name is com.apple.driver.AppleIntelHD3000Graphics
4/6/16 9:39:11.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
4/6/16 9:39:11.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ last kext is FFFFFF7F822A4000 and its name is com.apple.driver.AppleHV
4/6/16 9:39:11.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
4/6/16 9:39:11.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ last kext is FFFFFF7F81322000 and its name is com.apple.iokit.IOSMBusFamily
4/6/16 9:39:11.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
4/6/16 9:39:11.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ last kext is FFFFFF7F82022000 and its name is com.apple.driver.AppleSMBusController
4/6/16 9:39:11.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
4/6/16 9:39:11.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ last kext is FFFFFF7F820B9000 and its name is com.apple.driver.AppleOSXWatchdog
4/6/16 9:39:11.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
4/6/16 9:39:11.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ last kext is FFFFFF7F8229F000 and its name is com.apple.driver.AppleHWAccess
4/6/16 9:39:11.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
4/6/16 9:39:11.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ last kext is FFFFFF7F811B8000 and its name is com.apple.driver.AppleUSBMergeNub
4/6/16 9:39:11.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
4/6/16 9:39:11.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ last kext is FFFFFF7F820C6000 and its name is com.apple.driver.AppleMCCSControl
4/6/16 9:39:11.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
4/6/16 9:39:11.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ last kext is FFFFFF7F81EE0000 and its name is com.apple.driver.AppleUpstreamUserClient
4/6/16 9:39:11.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
4/6/16 9:39:11.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ last kext is FFFFFF7F82364000 and its name is com.apple.driver.AppleGraphicsControl
4/6/16 9:39:11.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
4/6/16 9:39:11.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ last kext is FFFFFF7F82367000 and its name is com.apple.driver.ApplePolicyControl
4/6/16 9:39:11.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
4/6/16 9:39:11.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ last kext is FFFFFF7F818E2000 and its name is com.apple.Dont_Steal_Mac_OS_X
4/6/16 9:39:11.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
4/6/16 9:39:11.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ last kext is FFFFFF7F8150D000 and its name is com.apple.iokit.IOBluetoothFamily
4/6/16 9:39:11.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ last kext is FFFFFF7F815CA000 and its name is com.apple.iokit.IOBluetoothHostControllerUSBTransport
4/6/16 9:39:11.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
4/6/16 9:39:11.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ last kext is FFFFFF7F8130D000 and its name is com.apple.iokit.IOSurface
4/6/16 9:39:11.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
4/6/16 9:39:11.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ last kext is FFFFFF7F80F73000 and its name is com.apple.iokit.IOUserEthernet
4/6/16 9:39:13.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
4/6/16 9:39:13.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ last kext is FFFFFF7F81330000 and its name is com.apple.iokit.IOSerialFamily
4/6/16 9:39:13.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
4/6/16 9:39:13.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ last kext is FFFFFF7F814FD000 and its name is com.apple.iokit.IOBluetoothSerialManager
4/6/16 9:39:21.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
4/6/16 9:39:21.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ last kext is FFFFFF7F81D6A000 and its name is com.apple.kext.triggers
4/6/16 9:39:21.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
4/6/16 9:39:21.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ last kext is FFFFFF7F81D6F000 and its name is com.apple.filesystems.autofs
4/6/16 9:39:21.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
4/6/16 9:39:21.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ last kext is FFFFFF7F82340000 and its name is com.apple.AppleGraphicsDeviceControl
4/6/16 9:39:21.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
4/6/16 9:39:21.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ last kext is FFFFFF7F82347000 and its name is com.apple.driver.AGPM
4/6/16 9:39:21.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
4/6/16 9:39:21.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ last kext is FFFFFF7F81EE9000 and its name is com.apple.driver.AppleTyMCEDriver
4/6/16 9:39:21.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
4/6/16 9:39:21.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ last kext is FFFFFF7F82296000 and its name is com.apple.driver.AppleHWSensor
4/6/16 9:39:21.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
4/6/16 9:39:21.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ last kext is FFFFFF7F818D2000 and its name is com.apple.filesystems.exfat
4/6/16 9:39:26.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
4/6/16 9:39:26.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ last kext is FFFFFF7F80DE8000 and its name is com.apple.filesystems.ntfs
4/6/16 9:40:54.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
4/6/16 9:40:54.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ last kext is FFFFFF7F80DE8000 and its name is com.apple.filesystems.ntfs
4/6/16 9:40:54.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
4/6/16 9:40:54.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ last kext is FFFFFF7F80DE8000 and its name is com.apple.filesystems.ntfs
4/6/16 9:40:54.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
4/6/16 9:40:54.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ last kext is FFFFFF7F80DE8000 and its name is com.apple.filesystems.ntfs
4/6/16 9:40:54.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
4/6/16 9:40:54.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ last kext is FFFFFF7F80DE8000 and its name is com.apple.filesystems.ntfs
4/6/16 9:40:54.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
4/6/16 9:40:54.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ last kext is FFFFFF7F80DE8000 and its name is com.apple.filesystems.ntfs
4/6/16 9:43:13.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
4/6/16 9:43:13.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ last kext is FFFFFF7F82555000 and its name is com.apple.filesystems.msdosfs
4/6/16 9:44:14.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
4/6/16 9:44:14.000 PM kernel[0]: AppleALC: (DEBUG) patcher @ last kext is FFFFFF7F80DE8000 and its name is com.apple.filesystems.ntfs

PS. sandy bridge systems have snb-platform-id instead of ig-platform-id

Link to comment
Share on other sites

 

Unfortunately, didn't work on n5110 with IDT92HD81B1X5

 

PS. sandy bridge systems have snb-platform-id instead of ig-platform-id

 

 

All IDT's now in test mode... I used RehabMan's kext from his repo https://github.com/RehabMan/HP-ProBook-4x30s-DSDT-Patch/tree/master/AppleHDA_ProBook.kext/Contents

You can provide 100% working patched AppleHDA.kext or DummyHDA.kext for your codec so we could test it...

 

There is no support for HD3000 HDMI (snb-platform-id) in AppleALC. Only HD4000/HD4600

Link to comment
Share on other sites

Apr  7 19:47:07 localhost kernel[0]: calling mpo_policy_init for AppleALC
Apr  7 19:47:07 localhost kernel[0]: Security policy loaded: AppleALC Kernel Module (AppleALC)
Apr  7 19:47:07 localhost kernel[0]: AppleALC: patcher @ lookup patching applied only 0u patches out of 2u
Apr  7 19:50:08 localhost kernel[0]: calling mpo_policy_init for AppleALC
Apr  7 19:50:08 localhost kernel[0]: Security policy loaded: AppleALC Kernel Module (AppleALC)
Apr  7 20:05:37 localhost kernel[0]: calling mpo_policy_init for AppleALC
Apr  7 20:05:37 localhost kernel[0]: Security policy loaded: AppleALC Kernel Module (AppleALC)

Hello,vit9696. Thanks for your work. I saw you add Conexant CX20751/2 in your project. Thanks very much. I download your project and build it . I had deleted the KextsToPatch for AppleHDA and the HDAinjector. I set layout-ID = 12 in my dsdt. Unfortunately, it didn't work. 

post-1557617-0-53008900-1459997380_thumb.png

post-1557617-0-41495000-1459997396_thumb.png

post-1557617-0-13135600-1459997408_thumb.png

Link to comment
Share on other sites

  • Allan pinned this topic
×
×
  • Create New...