Jump to content

AppleALC — dynamic AppleHDA patching


vit9696
5,390 posts in this topic

Recommended Posts

@vandroiy2012

Can you please tell me the exact reason why the supported layout IDs 1-3 for ALC 1150 were removed? I just noticed that when updating my main rig. ALC 1150 is like one of the most common codecs out there and now the developers force all the users to change their ID injections for what? A few kB? I'd love to see the old layouts return in an upcoming version, and I'm sure I'm not the only one, as there are also cases where IDs 5, 7 and 11 just don't work. It's a bummer to see people forced to switch back to VoodooHDA because of a few kB...

  • Like 1
Link to comment
Share on other sites

@vandroiy2012

Can you please tell me the exact reason why the supported layout IDs 1-3 for ALC 1150 were removed? I just noticed that when updating my main rig. ALC 1150 is like one of the most common codecs out there and now the developers force all the users to change their ID injections for what? A few kB? I'd love to see the old layouts return in an upcoming version, and I'm sure I'm not the only one, as there are also cases where IDs 5, 7 and 11 just don't work. It's a bummer to see people forced to switch back to VoodooHDA because of a few kB...

 

I'll see what i can do :)

  • Like 1
Link to comment
Share on other sites

Hi, Guys! I have a ALC275 with AppleALC installed and everything works fine except one thing. Often after waking up there's no sound from the Internal Speakers, but from the Headphones it is. Why I said "often"? Because, very rarely sound is. I don't know what the problem is :(

So, I've tried to use CodecCommander but still nothing. Does anyone has any idea? Thank you

Link to comment
Share on other sites

Hi, Guys! I have a ALC275 with AppleALC installed and everything works fine except one thing. Often after waking up there's no sound from the Internal Speakers, but from the Headphones it is. Why I said "often"? Because, very rarely sound is. I don't know what the problem is :(

So, I've tried to use CodecCommander but still nothing. Does anyone has any idea? Thank you

layout_id = ??

did you try other layouts having same behaviour 

Link to comment
Share on other sites

layout_id = ??

did you try other layouts having same behaviour 

Now layout_id = 3, but it works with layout_id = 13 as well (absolutely the same). But with layout_id = 28 the Internal Speakers works every time even after waking up, but the Headphones doesn't work at all

Link to comment
Share on other sites

Now layout_id = 3, but it works with layout_id = 13 as well (absolutely the same). But with layout_id = 28 the Internal Speakers works every time even after waking up, but the Headphones doesn't work at all

You may need to tweak your CodecCommander.kext for the headphone port, I know cause I am the creator of that layout 28 you are using. Can't remember which key you need to edit though, it was a long time ago

Link to comment
Share on other sites

You may need to tweak your CodecCommander.kext for the headphone port, I know cause I am the creator of that layout 28 you are using. Can't remember which key you need to edit though, it was a long time ago

So, I usually use layout 3 and both internal speakers and headphones work, but with layout 28 headphones won't work at all. Do you thing the layout 28 is the most suitable in my case? And if it is could you suggest what parameter should I tweak in my CodecCommander.kext? Thank you

Link to comment
Share on other sites

Hi, Guys! I have a ALC275 with AppleALC installed and everything works fine except one thing. Often after waking up there's no sound from the Internal Speakers, but from the Headphones it is. Why I said "often"? Because, very rarely sound is. I don't know what the problem is :(

So, I've tried to use CodecCommander but still nothing. Does anyone has any idea? Thank you

Ok this happens to me too but I found a workaround for now:

Hit the power button to put the laptop on sleep (or hit sleeo in the Apple menu), once the screen is off, the laptop should still be on, it takes about 30 secs before it starts the real sleep process. After 10 seconds screen off, click on the power button to get back to OS X (the computer didnt go to sleep tho) and it should, hopefully, get sound back. If it doesnt, wait about another 10~15 secs and start it again. I had this on both ALC275 and ALC269.

Link to comment
Share on other sites

So, I usually use layout 3 and both internal speakers and headphones work, but with layout 28 headphones won't work at all. Do you thing the layout 28 is the most suitable in my case? And if it is could you suggest what parameter should I tweak in my CodecCommander.kext? Thank you

I've mistaken. With layout 28 headphones works as well, but internal speakers doesn't work at all.

 

 

Ok this happens to me too but I found a workaround for now:

Hit the power button to put the laptop on sleep (or hit sleeo in the Apple menu), once the screen is off, the laptop should still be on, it takes about 30 secs before it starts the real sleep process. After 10 seconds screen off, click on the power button to get back to OS X (the computer didnt go to sleep tho) and it should, hopefully, get sound back. If it doesnt, wait about another 10~15 secs and start it again. I had this on both ALC275 and ALC269.

 

I've tried it now. Unfortunately, It doesn't work for me for some reason :(

Link to comment
Share on other sites

I've mistaken. With layout 28 headphones works as well, but internal speakers doesn't work at all.

 

 

 

I've tried it now. Unfortunately, It doesn't work for me for some reason :(

Try EAPDfix.kext

need to edit plist. Maybe Codec reset section. Important. You read eapdfix thread carefully

 

After sleep, you can solve issue.

 

 

나의 LG-F410S 의 Tapatalk에서 보냄

Link to comment
Share on other sites

Try EAPDfix.kext

need to edit plist. Maybe Codec reset section. Important. You read eapdfix thread carefully

 

After sleep, you can solve issue.

 

 

나의 LG-F410S 의 Tapatalk에서 보냄

 

Thanks a lot!

I've solved the problem through this tutorial: http://forum.osxlatitude.com/index.php?/topic/3084-eapdjack-sense-fix-no-sound-and-jack-sense-issue-after-sleep/

I used a type 4 and 5000 seconds delay after waking up. And after some time after waking sound comes back :) I'm being happy! Thank you so much!

Link to comment
Share on other sites

I've been having a strange issue with AppleALC lately where it just stops working after a reboot. Only after some time did I figure out that this probably only happens after I booted into Windows. 

 

My codec is a ALC 1150 for which I inject layout 11 via DSDT.

 

By accident, I stumbled across the info that it might be connected to the Windows Realtek driver. This kind of made sense because I just recently installed it and this weird  behaviour did formerly resolve itself after some restarts. However, it doesn't anymore and I kind of do not know what else to do anymore. I am not entirely sure if it is connected to that issue though, 'cause my ALC 1150 doesn't show up at all anymore, while people with the issue seem to have mixed up jacks  :huh:

 

I'd appreciate if somebody could point me into a direction to take here. Also, I'd like somebody to look over my configuration to see if, in my quest to resolve this issue, I messed something up.

 

I noticed that when I build the kernel cache again, AppleHDA.kext isn't listed as being loaded in spite of being modified anymore. According to the debug output of AppleALC it loads and patches correctly though: 

01/09/16 21:48:05,000 kernel[0]: AppleALC: (DEBUG) config @ boot arguments disabled 0, debug 1
01/09/16 21:48:05,000 kernel[0]: AppleALC: (DEBUG) init @ initialising with Policy mode
01/09/16 21:48:05,000 kernel[0]: calling mpo_policy_init for AppleALC
01/09/16 21:48:05,000 kernel[0]: Security policy loaded: AppleALC Kernel Extension (AppleALC)
01/09/16 21:48:05,000 kernel[0]: AppleALC: (DEBUG) policy @ init bsd
01/09/16 21:48:05,000 kernel[0]: AppleALC: init @ version 1.0.13 DEBUG build
01/09/16 21:48:05,000 kernel[0]: AppleALC: (DEBUG) config @ policy hit
01/09/16 21:48:05,000 kernel[0]: AppleALC: (DEBUG) config @ initialising enabler
01/09/16 21:48:05,000 kernel[0]: AppleALC: (DEBUG) mach @ MachInfo asKernel 1 object constructed
01/09/16 21:48:05,000 kernel[0]: AppleALC: (DEBUG) mach @ Address of interrupt 80 stub is 0x<ptr>
01/09/16 21:48:05,000 kernel[0]: AppleALC: (DEBUG) mach @ Found kernel mach-o header address at <ptr>
01/09/16 21:48:05,000 kernel[0]: AppleALC: (DEBUG) mach @ Found executable at path: /System/Library/Kernels/kernel
01/09/16 21:48:05,000 kernel[0]: AppleALC: (DEBUG) mach @ header processing found TEXT
01/09/16 21:48:05,000 kernel[0]: AppleALC: (DEBUG) mach @ header processing found LINKEDIT
01/09/16 21:48:05,000 kernel[0]: AppleALC: (DEBUG) mach @ header processing found SYMTAB
01/09/16 21:48:05,000 kernel[0]: AppleALC: (DEBUG) mach @ Address of interrupt 80 stub is 0x<ptr>
01/09/16 21:48:05,000 kernel[0]: AppleALC: (DEBUG) mach @ Found kernel mach-o header address at <ptr>
01/09/16 21:48:05,000 kernel[0]: AppleALC: (DEBUG) mach @ aslr/load slide is 0x9400000
01/09/16 21:48:05,000 kernel[0]: AppleALC: (DEBUG) mach @ MachInfo asKernel 0 object constructed
01/09/16 21:48:05,000 kernel[0]: AppleALC: (DEBUG) mach @ Found executable at path: /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAController.kext/Contents/MacOS/AppleHDAController
01/09/16 21:48:05,000 kernel[0]: AppleALC: (DEBUG) mach @ header processing found TEXT
01/09/16 21:48:05,000 kernel[0]: AppleALC: (DEBUG) mach @ header processing found LINKEDIT
01/09/16 21:48:05,000 kernel[0]: AppleALC: (DEBUG) mach @ header processing found SYMTAB
01/09/16 21:48:05,000 kernel[0]: AppleALC: (DEBUG) patcher @ loaded kinfo com.apple.driver.AppleHDAController at 1u index
01/09/16 21:48:05,000 kernel[0]: AppleALC: (DEBUG) mach @ Found symbol _OSKextLoadedKextSummariesUpdated at 0x<ptr> (non-aslr 0x<ptr>)
01/09/16 21:48:05,000 kernel[0]: AppleALC: (DEBUG) patcher @ _OSKextLoadedKextSummariesUpdated address <ptr> value 2E66C35DE5894855
01/09/16 21:48:05,000 kernel[0]: AppleALC: (DEBUG) mach @ Found symbol _gLoadedKextSummaries at 0x<ptr> (non-aslr 0x<ptr>)
01/09/16 21:48:05,000 kernel[0]: AppleALC: (DEBUG) patcher @ _gLoadedKextSummaries address <ptr>
01/09/16 21:48:05,000 kernel[0]: AppleALC: (DEBUG) patcher @ diff <ptr> argument 8273E17B
01/09/16 21:48:05,000 kernel[0]: AppleALC: (DEBUG) private @ writing to 9C60280 value of 1u which is E9
01/09/16 21:48:05,000 kernel[0]: AppleALC: (DEBUG) private @ writing to 9C60281 value of 4u which is 8273E17B
01/09/16 21:48:05,000 kernel[0]: AppleALC: (DEBUG) mach @ MachInfo asKernel 0 object constructed
01/09/16 21:48:05,000 kernel[0]: AppleALC: (DEBUG) mach @ Found executable at path: /System/Library/Extensions/AppleIntelFramebufferAzul.kext/Contents/MacOS/AppleIntelFramebufferAzul
01/09/16 21:48:05,000 kernel[0]: AppleALC: (DEBUG) mach @ header processing found TEXT
01/09/16 21:48:05,000 kernel[0]: AppleALC: (DEBUG) mach @ header processing found LINKEDIT
01/09/16 21:48:05,000 kernel[0]: AppleALC: (DEBUG) mach @ header processing found SYMTAB
01/09/16 21:48:05,000 kernel[0]: AppleALC: (DEBUG) patcher @ loaded kinfo com.apple.driver.AppleIntelFramebufferAzul at 2u index
01/09/16 21:48:05,000 kernel[0]: AppleALC: (DEBUG) mach @ MachInfo asKernel 0 object constructed
01/09/16 21:48:05,000 kernel[0]: AppleALC: (DEBUG) mach @ Found executable at path: /System/Library/Extensions/AppleHDA.kext/Contents/MacOS/AppleHDA
01/09/16 21:48:05,000 kernel[0]: AppleALC: (DEBUG) mach @ header processing found TEXT
01/09/16 21:48:05,000 kernel[0]: AppleALC: (DEBUG) mach @ header processing found LINKEDIT
01/09/16 21:48:05,000 kernel[0]: AppleALC: (DEBUG) mach @ header processing found SYMTAB
01/09/16 21:48:05,000 kernel[0]: AppleALC: (DEBUG) patcher @ loaded kinfo com.apple.driver.AppleHDA at 3u index
01/09/16 21:48:05,000 kernel[0]: AppleALC: (DEBUG) mach @ MachInfo asKernel 0 object constructed
01/09/16 21:48:05,000 kernel[0]: AppleALC: (DEBUG) mach @ Found executable at path: /System/Library/Extensions/AppleIntelFramebufferCapri.kext/Contents/MacOS/AppleIntelFramebufferCapri
01/09/16 21:48:05,000 kernel[0]: AppleALC: (DEBUG) mach @ header processing found TEXT
01/09/16 21:48:05,000 kernel[0]: AppleALC: (DEBUG) mach @ header processing found LINKEDIT
01/09/16 21:48:05,000 kernel[0]: AppleALC: (DEBUG) mach @ header processing found SYMTAB
01/09/16 21:48:05,000 kernel[0]: AppleALC: (DEBUG) patcher @ loaded kinfo com.apple.driver.AppleIntelFramebufferCapri at 4u index
01/09/16 21:48:05,000 kernel[0]: AppleALC: (DEBUG) config @ policy hit
01/09/16 21:48:05,000 kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
01/09/16 21:48:05,000 kernel[0]: AppleALC: (DEBUG) patcher @ last kext is <ptr> and its name is com.apple.iokit.IOUSBMassStorageDriver
01/09/16 21:48:05,000 kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
01/09/16 21:48:05,000 kernel[0]: AppleALC: (DEBUG) patcher @ last kext is <ptr> and its name is com.apple.iokit.IOBluetoothUSBDFU
01/09/16 21:48:05,000 kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
01/09/16 21:48:05,000 kernel[0]: AppleALC: (DEBUG) patcher @ last kext is <ptr> and its name is com.apple.iokit.IOSCSIBlockCommandsDevice
01/09/16 21:48:05,000 kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
01/09/16 21:48:05,000 kernel[0]: AppleALC: (DEBUG) patcher @ last kext is <ptr> and its name is com.apple.driver.MaxTranserSizeOverrideDriver
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ last kext is <ptr> and its name is com.apple.driver.AppleFIVRDriver
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ last kext is <ptr> and its name is com.apple.driver.IOPlatformPluginFamily
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ last kext is <ptr> and its name is com.apple.driver.AppleLPC
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ last kext is <ptr> and its name is com.apple.iokit.IOSlowAdaptiveClockingFamily
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ last kext is <ptr> and its name is com.apple.driver.AppleIntelSlowAdaptiveClocking
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ last kext is <ptr> and its name is com.intel.driver.EnergyDriver
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ last kext is <ptr> and its name is com.apple.driver.AppleHV
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ last kext is <ptr> and its name is com.apple.driver.CoreCaptureResponder
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ last kext is <ptr> and its name is com.apple.driver.AppleSMC
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ last kext is <ptr> and its name is com.apple.Dont_Steal_Mac_OS_X
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ last kext is <ptr> and its name is com.apple.iokit.IOSerialFamily
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ last kext is <ptr> and its name is com.apple.iokit.IOBluetoothSerialManager
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ last kext is <ptr> and its name is com.apple.iokit.IOGraphicsFamily
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ last kext is <ptr> and its name is com.apple.iokit.IOSurface
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ last kext is <ptr> and its name is com.apple.iokit.IOUserEthernet
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ last kext is <ptr> and its name is com.apple.driver.pmtelemetry
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ last kext is <ptr> and its name is com.avatron.AVExVideo
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ last kext is <ptr> and its name is com.avatron.AVExFramebuffer
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ last kext is <ptr> and its name is com.apple.iokit.IOSMBusFamily
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ last kext is <ptr> and its name is com.apple.driver.AppleSMBusController
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ last kext is <ptr> and its name is com.apple.driver.AppleMCCSControl
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ last kext is <ptr> and its name is com.apple.driver.AppleUpstreamUserClient
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ last kext is <ptr> and its name is com.nvidia.NVDAStartupWeb
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ last kext is <ptr> and its name is com.apple.nvidia.NVDAStartup
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ last kext is <ptr> and its name is com.apple.driver.X86PlatformPlugin
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ last kext is <ptr> and its name is com.apple.driver.IOPlatformPluginLegacy
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ last kext is <ptr> and its name is com.apple.driver.ACPI_SMC_PlatformPlugin
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ last kext is <ptr> and its name is com.apple.driver.AudioAUUC
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ last kext is <ptr> and its name is com.apple.driver.AppleSMBusPCI
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ last kext is <ptr> and its name is com.apple.iokit.IOHDAFamily
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ last kext is <ptr> and its name is com.apple.driver.AppleHDAController
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ caught the right kext at <ptr>, invoking handler
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) mach @ aslr/load slide is 0x<ptr>
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) ioutil @ failed to find IGPU
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) ioutil @ failed to find HDAU
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) util @ getOSData vendor-id has 8086 value
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) util @ getOSData device-id has 8CA0 value
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) util @ getOSData revision-id has 0 value
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) util @ getOSData layout-id has B value
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) util @ getOSData AAPL,ig-platform-id was not found
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) alc @ found 1u audio controllers
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) alc @ validating 0u controller 8086:8CA0:0
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) alc @ comparing to 0u mod 8086:8CA0
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) alc @ found mod for 0u controller
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) alc @ applying patches for 1u kext
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) alc @ applying 0u patch for 1u kext
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) mach @ getRunningPosition <ptr> of memory 1e000u size
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ last kext is <ptr> and its name is com.apple.driver.Apple16X50Serial
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ last kext is <ptr> and its name is com.apple.driver.Apple16X50ACPI
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ last kext is <ptr> and its name is com.apple.iokit.IONDRVSupport
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ last kext is <ptr> and its name is com.apple.AppleGraphicsDeviceControl
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ last kext is <ptr> and its name is com.nvidia.web.NVDAResmanWeb
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ last kext is <ptr> and its name is com.nvidia.web.NVDAGM100HalWeb
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ last kext is <ptr> and its name is com.apple.iokit.IOAcceleratorFamily2
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ last kext is <ptr> and its name is com.nvidia.web.GeForceWeb
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ last kext is <ptr> and its name is com.apple.iokit.IOBluetoothHostControllerUSBTransport
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ last kext is <ptr> and its name is com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ last kext is <ptr> and its name is com.apple.driver.AppleOSXWatchdog
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ last kext is <ptr> and its name is com.apple.driver.X86PlatformShim
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ last kext is <ptr> and its name is com.apple.driver.AGPM
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
01/09/16 21:48:06,000 kernel[0]: AppleALC: (DEBUG) patcher @ last kext is <ptr> and its name is com.apple.driver.ApplePlatformEnabler
01/09/16 21:48:07,000 kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
01/09/16 21:48:07,000 kernel[0]: AppleALC: (DEBUG) patcher @ last kext is <ptr> and its name is org.pqrs.driver.Karabiner
01/09/16 21:48:07,000 kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
01/09/16 21:48:07,000 kernel[0]: AppleALC: (DEBUG) patcher @ last kext is <ptr> and its name is com.apple.driver.AppleGraphicsControl
01/09/16 21:48:07,000 kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
01/09/16 21:48:07,000 kernel[0]: AppleALC: (DEBUG) patcher @ last kext is <ptr> and its name is com.apple.driver.AppleGraphicsDevicePolicy
01/09/16 21:48:07,000 kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
01/09/16 21:48:07,000 kernel[0]: AppleALC: (DEBUG) patcher @ last kext is <ptr> and its name is com.apple.kext.triggers
01/09/16 21:48:07,000 kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
01/09/16 21:48:07,000 kernel[0]: AppleALC: (DEBUG) patcher @ last kext is <ptr> and its name is com.apple.filesystems.autofs
01/09/16 21:48:07,000 kernel[0]: AppleALC: (DEBUG) patcher @ invoked at kext loading/unloading
01/09/16 21:48:07,000 kernel[0]: AppleALC: (DEBUG) patcher @ last kext is <ptr> and its name is com.nvidia.CUDA

My HDEF section in the DSDT looks as follows:

Scope (_SB.PCI0)
    {
        Device (HDEF)
        {
            Name (_ADR, 0x001B0000)  // _ADR: Address
            OperationRegion (HDAR, PCI_Config, Zero, 0x0100)
            Field (HDAR, AnyAcc, NoLock, Preserve)
            {
                DVID,   16, 
                Offset (0x4C), 
                DCKA,   1, 
                Offset (0x4D), 
                DCKM,   1, 
                    ,   6, 
                DCKS,   1, 
                Offset (0x54), 
                Offset (0x55), 
                PMEE,   1, 
                    ,   6, 
                PMES,   1
            }

            Method (_DSW, 3, NotSerialized)  // _DSW: Device Sleep Wake
            {
                Store (Arg0, PMEE)
            }

            Method (GPEH, 0, NotSerialized)
            {
                If (LEqual (DVID, 0xFFFF))
                {
                    Return (Zero)
                }

                If (LAnd (PMEE, PMES))
                {
                    Store (One, PMES)
                    Notify (HDEF, 0x02)
                }

                Return (Zero)
            }

            Method (_PRW, 0, NotSerialized)  // _PRW: Power Resources for Wake
            {
                Return (GPRW (0x0D, 0x04))
            }
            Method (_DSM, 4, NotSerialized)
            {
                Store (Package (0x10) {
                    "AAPL,slot-name", "Built In",
                    "name", "Realtek Audio Controller",
                    "model", Buffer () {"Realtek ALC1150 Audio Controller"},
                    "device_type", Buffer (0x10) {"Audio Controller"},
                    "layout-id", Buffer (0x04) {0x0B,0x00,0x00,0x00},
                    "PinConfigurations", Buffer (Zero) {},
                    "MaximumBootBeepVolume", Buffer(One) {0x40},
                    "hda-gfx", Buffer (0x0A) {"onboard-1"}
                }, Local0)
                DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                Return (Local0)
            }

            
        }

I also attached an IOreg dump and my config.plist

Stabi.ioreg.txt

config.plist.txt

Link to comment
Share on other sites

Hy guys, anyone with Asus z97-P motherboard or ALC891?

Sound output is perfect from day one from the green port with layout 13 in clover and AppleALC, but microphone is not working (there is an entry in settings/ audio/ input). If I use layout 3 then microphone is perfect but no audio from the three outputs at the back and nothing in front.

Can I do something about it and what?

 

If I have to attach something please ask.

 

Thank you in advance.

 

Edit: DCPI manager says this - 

 

Screen_Shot_2016_09_02_at_13_58_42.png

Link to comment
Share on other sites

Hy guys, anyone with Asus z97-P motherboard or ALC891?

Sound output is perfect from day one from the green port with layout 13 in clover and AppleALC, but microphone is not working (there is an entry in settings/ audio/ input). If I use layout 3 then microphone is perfect but no audio from the three outputs at the back and nothing in front.

Can I do something about it and what?

 

If I have to attach something please ask.

 

Thank you in advance.

 

You have ALC887. Try layouts 1, 2, 5, 7, 11, 12, 17, 99

Link to comment
Share on other sites

Thanks for your reply. Looks like 11 is the most appropriate, but with it i have only one sound output and one input at the back. The third output doesn't work. Is there anything I can do for the one that doesn't work?

 

Also I would like to make HD4600 HDMI audio work. I'm using Clover and I have these files in EFI/Clover/kexts/10.11:

AppleALC.kext

FakePCIID_Intel_HD_Graphics.kext
FakePCIID_Intel_HDMI_Audio.kext
FakePCIID.kext
FakeSMC.kext
RealtekRTL8111.kext
 
Clover settings:
 
Devices/ FakeID/ IntelGFX: 0x04128086
Graphics/ ig-platform-id: 0x0d220003
Graphics/ inject Intel
 
System ID: iMac 14,2
 
No DSDT, but SSDT patched for my processor (Intel i7 4790)

Screen_Shot_2016_09_02_at_16_11_45.png

 

Screen_Shot_2016_09_02_at_16_13_13.png

Link to comment
Share on other sites

Thanks for your reply. Looks like 11 is the most appropriate, but with it i have only one sound output and one input at the back. The third output doesn't work. Is there anything I can do for the one that doesn't work?

 

Also I would like to make HD4600 HDMI audio work. I'm using Clover and I have these files in EFI/Clover/kexts/10.11:

AppleALC.kext

FakePCIID_Intel_HD_Graphics.kext
FakePCIID_Intel_HDMI_Audio.kext
FakePCIID.kext
FakeSMC.kext
RealtekRTL8111.kext
 
Clover settings:
 
Devices/ FakeID/ IntelGFX: 0x04128086
Graphics/ ig-platform-id: 0x0d220003
Graphics/ inject Intel
 
System ID: iMac 14,2
 

 

HD4600 HDMI audio should work OOB with AppleALC and ig-platform-id 0x0d220003. Remove all Clover patches for Intel HDMI from KextToPatch and use key UseIntelHDMI->True in config.plist , section Devices

post-1069282-0-02479300-1472832047_thumb.png

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...