InfiniteMac OSx86

InfiniteMac OSx86 (http://infinitemac.com/forum.php)
-   10.X (http://infinitemac.com/forumdisplay.php?f=36)
-   -   Asus K50IN (http://infinitemac.com/showthread.php?t=4409)

ronovar 10-19-2011 10:19 AM

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

ad_47incv 10-19-2011 05:22 PM

ty
 
ty , a try :)

aliquot 10-19-2011 07:52 PM

Quote:

Originally Posted by man_of_the_oak (Post 55643)
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.

man_of_the_oak 10-19-2011 09:49 PM

Quote:

Originally Posted by ronovar (Post 55690)
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!

binhpv 10-20-2011 12:16 PM

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?

man_of_the_oak 10-20-2011 12:41 PM

Quote:

Originally Posted by binhpv (Post 55698)
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...

binhpv 10-20-2011 12:55 PM

Quote:

Originally Posted by man_of_the_oak (Post 55699)
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.

man_of_the_oak 10-20-2011 01:08 PM

Quote:

Originally Posted by binhpv (Post 55700)
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...

hafiz689 10-21-2011 12:31 AM

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!:)

mindlessmissy 10-21-2011 06:55 PM

Quote:

Originally Posted by hafiz689 (Post 55712)
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))
                }