InfiniteMac OSx86  


Reply
 
Thread tools Display modes
  #891  
Old 10-19-2011, 10:19 AM
ronovar ronovar is offline
Puma
 
Join Date: Nov 2009
Posts: 26
AppleHDA 2.0.5 from 10.6.8 successfully patched

Hello everyone!...

I have successfully patched the new original AppleHDA.kext from 10.6.8 update and is now vanilla...all is working flamwlessly...no errors at boot in console, no poping sounds, just clear sound that works very very nice...all is 100% working int speakers, int mic, ext mic, ext speakers, jack switch when you plug external device...

This file is BIN patched for ALC662 and added in xml 12 and platform xml pinconfigs thats are dumped from ubuntu live cd.

So use it on K70IO and K50 Asus laptops.

I im using DSDT patch for HDEF and HDAC and this patched AppleHDA.kext.

Post your results...

Here is link....and it will be nice to put this on front page...

http://www.mediafire.com/?9apmibyopyawmec

Last edited by ronovar; 10-19-2011 at 06:21 PM.
Reply With Quote
  #892  
Old 10-19-2011, 05:22 PM
ad_47incv ad_47incv is offline
Jaguar
 
Join Date: Jan 2010
Posts: 38
ty

ty , a try

ASUS K50IN-X1 / C2D T6500 @ 2.1 Ghz / 4GB DDR2 800Mhz / nVidia G102M 512Mb / 15.6" HD/LED / ALC662 / Atheros wireless / Windows 7 / OS X 10.6.2 chameleon rc3+pcefi 10.4
Reply With Quote
  #893  
Old 10-19-2011, 07:52 PM
aliquot aliquot is offline
Cheetah
 
Join Date: Oct 2011
Posts: 1
Quote:
Originally Posted by man_of_the_oak View Post
Did you use my kexts?

Regarding Wifi - atm I know that the DSDT fix is incorrect but I need some people who would offer some time for testing purposes.
Hi, I am new on the forum. Hi, man_of_the_oak, thanks for the tutorial, working great for me, except wifi. I can help you testing.
Reply With Quote
  #894  
Old 10-19-2011, 09:49 PM
man_of_the_oak man_of_the_oak is offline
 
Join Date: Nov 2008
Posts: 117
Quote:
Originally Posted by ronovar View Post
Hello everyone!...

I have successfully patched the new original AppleHDA.kext from 10.6.8 update and is now vanilla...all is working flamwlessly...no errors at boot in console, no poping sounds, just clear sound that works very very nice...all is 100% working int speakers, int mic, ext mic, ext speakers, jack switch when you plug external device...

This file is BIN patched for ALC662 and added in xml 12 and platform xml pinconfigs thats are dumped from ubuntu live cd.

So use it on K70IO and K50 Asus laptops.

I im using DSDT patch for HDEF and HDAC and this patched AppleHDA.kext.

Post your results...

Here is link....and it will be nice to put this on front page...

http://www.mediafire.com/?9apmibyopyawmec
Wrote it already in reply to your PM, but... :P

I don't really think that editing AppleHDA is what fixed popping. Did you have the problem before? If not - patching AppleHDA isn't the fix. The only way to fix it is to edit IOAudioFamily kext or add a small code to DSDT (works only when HP isn't connected, I still have to figure out how to make it work... although I don't have a problem with popping myself either, ALC662 is a bizarre audio codec - some people even claim to have this kind of popping under Windows o.O), where you can find code regarding PowerState. It's a problem with audio going to 'sleep' after certain amount of time without playing music etc. and it's not connected to AppleHDA itself but IOAudioFamily. At least from what I've seen in it's source code.

+ Your AppleHDA patch is a bit messy. You've should removed some parts of Layouts that are not in use. What's more - your pinconfigs aren't really in Mac OS X style - it works but it wouldn't work in some cases. In general - when creating LegacyHDA/editing AppleHDA - you shouldn't use rough pinconfig from Ubuntu but edit it in some parts. Feel free to look at my LegacyHDA from the tutorial, it may give you the idea of what I mean. Don't take it offensive, I simply know how hard it's to get into using AppleHDA to enable audio, since there aren't many sources of knowledge unfortunately and I want to help you in understanding it as I've spend a long time testing all this stuff.

@aliquot
When I have some free time I will send you a PM! Thanks a lot!

Last edited by man_of_the_oak; 10-19-2011 at 09:51 PM.
Reply With Quote
  #895  
Old 10-20-2011, 12:16 PM
binhpv binhpv is offline
Puma
 
Join Date: May 2010
Location: Hồ Chí Minh City, Việt Nam
Posts: 18
So anyone get the sound to the speaker? I used a kext from kexts.com (http://www.kexts.com/downloads.php?d...id=1629&page=2) and got great sound but only from headphone. No sound to speaker. Anyone have a working kext can post it here?
Reply With Quote
  #896  
Old 10-20-2011, 12:41 PM
man_of_the_oak man_of_the_oak is offline
 
Join Date: Nov 2008
Posts: 117
Quote:
Originally Posted by binhpv View Post
So anyone get the sound to the speaker? I used a kext from kexts.com (http://www.kexts.com/downloads.php?d...id=1629&page=2) and got great sound but only from headphone. No sound to speaker. Anyone have a working kext can post it here?
Look at my tutorial in the first post...
Reply With Quote
  #897  
Old 10-20-2011, 12:55 PM
binhpv binhpv is offline
Puma
 
Join Date: May 2010
Location: Hồ Chí Minh City, Việt Nam
Posts: 18
Quote:
Originally Posted by man_of_the_oak View Post
Look at my tutorial in the first post...
Quote:
5. Post-configuration part II

So... we've got our own DSDT, let's use some of its potential and delete NullCPUPowerManagement from our Extra finally.
In the main directory of Extra (where smbios.plist is) paste compiled DSDT with .dsl extension. Then we put my audio fix - LegacyHDA_ALC662-v.1 and AnyCardReader to Extra/KextStore.

The next step is replacing 3 files in System/Library/Extensions (one of them is a cosmetic fix - after updating to 10.6.8, our controller is no longer identified as MCP79 AHCI even though the part regarding MCP79 is exactly the same in AppleAHCIPort 10.6.7 and 10.6.8 (our dev id is still there...), I wasn't able to find any other way to fix the issue than replacing new AppleAHCIPort to the one from Mac OS X 10.6.7... well... I am not a real fan of rollbacks but when there is no alternative and the system isn't going to be updated anymore...):

AppleAHCIPort, AppleHDA, IOAudioFamily

Why do we have to replace AppleHDA? Unfortunately, after waking up from sleep - our audio was broken... patched IOAudioFamily fixes the problem but it isn't developed since Mac OS X 10.6.2 and it doesn't work not only with Mac OS X 10.6.8 (what is obvious since AppleHDA has got a new structure) but also with 10.6.7. I am not able to create an update to this kext so we have to use older AppleHDA until I learn how to do this or someone else creates one.

Finally, we can make our bootloader look nicer. Paste my Themes folder to Extra and use Kext Wizard to rebuild cache, fix permissions etc. (in general - check all options). Be patient - it takes a while!

Reboot with -v flag to know if something goes wrong - it's the last time you have to see this ugly screen, I promise [IMG]file:///D:/Mac/Tut/part4_files/yuck.png[/IMG]
Ok this is where I got some misunderstanding. I think complied DSDT will have .aml extension, not dsl. The dsl is for the source file, right? One more thing is can I use LegacyHDA_ALC662-v.1 , and replace AppleAHCIPort, AppleHDA, IOAudioFamily if I don't have DSDT? Cause I currently don't have Ubuntu to extract it.
Reply With Quote
  #898  
Old 10-20-2011, 01:08 PM
man_of_the_oak man_of_the_oak is offline
 
Join Date: Nov 2008
Posts: 117
Quote:
Originally Posted by binhpv View Post
Ok this is where I got some misunderstanding. I think complied DSDT will have .aml extension, not dsl. The dsl is for the source file, right? One more thing is can I use LegacyHDA_ALC662-v.1 , and replace AppleAHCIPort, AppleHDA, IOAudioFamily if I don't have DSDT? Cause I currently don't have Ubuntu to extract it.
Wooo, thanks a lot for finding this, I wanted to add "not .dsl" and it ended up like this, lol! Will fix it as soon as I am not browsing the board using an iPhone. Regarding the rest - then you have to wait until you are able to extract you DSDT since you have to use it anyway...
Reply With Quote
  #899  
Old 10-21-2011, 12:31 AM
hafiz689's Avatar
hafiz689 hafiz689 is offline
Jaguar
 
Join Date: Oct 2010
Location: Edmonton, AB
Posts: 38
OMG. Sleep is still not working. Plus If i am really lucky, then i will able to connect to my college wifi(WPA2Enterprise)

man_of_the_oak do you think is it because of kexts or dsdt.
Here i attached my DSDT if you don't mind to check it.

http://www.mediafire.com/?r0jrr9w3susr3lx

Is it because i don't do a clean instal. that means i only follow your steps for the dsdt editing part only.?

thanz!
Reply With Quote
  #900  
Old 10-21-2011, 06:55 PM
mindlessmissy mindlessmissy is offline
Jaguar
 
Join Date: Mar 2008
Posts: 35
Quote:
Originally Posted by hafiz689 View Post
OMG. Sleep is still not working. Plus If i am really lucky, then i will able to connect to my college wifi(WPA2Enterprise)

man_of_the_oak do you think is it because of kexts or dsdt.
Here i attached my DSDT if you don't mind to check it.

http://www.mediafire.com/?r0jrr9w3susr3lx

Is it because i don't do a clean instal. that means i only follow your steps for the dsdt editing part only.?

thanz!
For sleep, try removing the "Method (_PRW ... " from ALL the USB/EUSB/USBE Devices and see if that helps ...

Entries look like this ...

Code:
                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x0D, 0x04))
                }



💡 Deploy cloud instances seamlessly on DigitalOcean. Free credits ($100) for InfMac readers.

Reply With Quote
Reply