Jump to content

Asus G73JH-xx i7-740QM HD5870m - Mavericks 10.9.X


Kuebeker
 Share

94 posts in this topic

Recommended Posts

Hey  Kuebeker, I noticed your using  npci=0x300 string rather than 0x200 any reason why ?

yeah I updated  from Asus  website  to current  213 bios 

It's for the App Store verification. 

 

 

I looked at your files and I strongly suggest that you:

- make sure you have bios version 213 installed 

- remove all your non Mac kext's from Extra/Extensions and S/L/E.

- Put back all or original Mac Kext's. 

- Use the files from the main post. backup the apple kext's that you will be replacing.  

- put all the extensions in S/L/E and rebuild cash. 

 

In the files there is my DSDT.dsl with notes. Search for "// FIX". 

 

You have the same rig as mine so there is no reason why my DSDT.aml would not work on yours.

The changes I have made to my DSDT do not include CPU C and P states. 

Link to comment
Share on other sites

@Kuebeker..congrats, looks promising..tried langur framebuffer..no great difference to nomascus for me, but works fine.

 

@drone4zone:

checked your files @Extra folder.. it looks like everything is messed up (especially chameleon.Boot.plist & DSDT)

so as Kuebeker already said you should clean up a little bit,

i know there are a lot of custom settings which could be confusing..so maybe this little guide could help you:

 

1. delete everything @ /Extra folder

2. //getting your DSDT working:

2.1. extract your DSDT.aml (using dsdt editor  click File->extract DSDT)

2.2. Standard Fixes:  apply this Packs-Asus-G73JH.txt to your dsdt.aml (if you use DSDT Editor-> Patch->Open(attached txt file)->apply->close)..the patch includes the standard fixes like wlan,...but not Graphic card#

2.3. Graphic Card: @DSDT Editor go to:  Device PCI0/ Device PEG3/ Device GFX0 -> you should see this:

 Device (GFX0)
                {
                    Name (_ADR, Zero)
                    Method (_DSM, 4, NotSerialized)
                    {
                        Store (Package (0x02)
                            {
                                "AAPL00,DualLink", 
                                Buffer (0x04)
                                {
                                     0x01, 0x00, 0x00, 0x00
                                }
                            }, Local0)
                        DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                        Return (Local0)
}

replace it with this:

Device (GFX0)
                {
                    Name (_ADR, Zero)
                    OperationRegion (VSID, PCI_Config, Zero, 0x04)
                    Field (VSID, ByteAcc, NoLock, Preserve)
                    {
                        REG0,   32
                    }
                    Name (PCTG, Package (0x10) {})
                    Method (_DSM, 4, NotSerialized)
                    {
                        Store (Package ()
                            {
                                "model", 
                                Buffer ()
                                {
                                    "AMD Radeon HD 5870m"
                                }, 
                                "AAPL00,DualLink", 
                                Buffer ()
                                {
                                     0x01, 0x00, 0x00
                                }, 
                                "@0,name", 
                                Buffer ()
                                {
                                    "ATY,Langur"
                                }, 
                                "@1,name", 
                                Buffer ()
                                {
                                    "ATY,Langur"
                                }, 
                                "@2,name", 
                                Buffer ()
                                {
                                    "ATY,Langur"
                                }, 
                                "@0,display-link-component-bits", 
                                Buffer ()
                                {
                                     0x06, 0x00, 0x00, 0x00
                                }, 
                                "@0,display-pixel-component-bits", 
                                Buffer ()
                                {
                                     0x06, 0x00, 0x00, 0x00
                                }, 
                                "AAPL00,Dither", 
                                Buffer ()
                                {
                                     0x00, 0x00, 0x00, 0x00
                                }, 
                                "@0,display-dither-support", 
                                Buffer ()
                                {
                                     0x00, 0x00, 0x00, 0x00
                                }, 
                                "hda-gfx", 
                                Buffer ()
                                {
                                    "onboard-1"
                                }
                            }, Local0)
                        DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                        Return (Local0)
                    }

- click IASL->compile

- click IASL->save AML as (@/Extra folder to DSDT.aml)

 

3. change your Boot.plist to this:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>AtiConfig</key>
    <string>Langur</string>
->DSDT already enabled Framebuffer

    <key>DSDT</key>
    <string>/Extra/DSDT.aml</string>
    <key>DropSSDT</key> -> no need to drop because your extra folder doesnt/shouldnt include ssdt.aml
    <string>Yes</string> (speedstepping is enabled by choosing the right smbios..see 4.)

    <key>EthernetBuiltIn</key>
    <string>Yes</string>
    <key>GenerateCStates</key>
    <string>Yes</string>
    <key>GeneratePStates</key>
    <string>Yes</string>
    <key>GraphicsEnabler</key>
    <string>Yes</string> -> never: you graphic is enabled through DSDT.aml

    <key>Kernel</key>
    <string>mach_kernel</string>
    <key>Kernel Flags</key>
    <string>darkwake=0</string> ->not sure about this:i think the dsdt patch should resolve sleep issues

    <key>Legacy Logo</key>
    <string>Yes</string>
    <key>SMBIOS</key>
    <string>/Extra/smbios.plist</string> ->isnt needed..smbios.plist is in standard folder is@/Extra

    <key>SystemType</key>
    <string>2</string> -> not needed u´ve got everything in smbios.plist

    <key>Timeout</key>
    <string>2</string>
    <key>UseAtiROM</key>
    <string>Yes</string> -> not needed, works without

     <key>npci</key>
     <string>0x3000</string> ->insert this if u got "PCI Configuration Begin" failure, maybe you can remove it
later
    <key>UseKernelCache</key>
    <string>Yes</string> -> do not enable before your system is working stable

</dict>
</plist>

4. your smbios.plist: macbookpro 6,1 is fine

5. KEXT install:

 - copy Kuebeker´s  Kext´s to /System/Library/Extensions/

-  rebuild permissions using Kexthelper or..

-  // i dont know if u are using nullcpupowermanagement.kext? for proper speedstepping it maybe has to be patched or disabled (and using appleintelcpupowermanagement.kext)

 

6. now your /Extra folder contains only smbios.plist; org.chameleon.Boot.plist; DSDT.aml; (and maybe 2 folders named modules and Themes)

 

maybe u are familar with most of the steps above, but like we say in germany: sicher ist sicher:)

i recommend to follow these steps to get the main devices working properly before u try to get other things working

Link to comment
Share on other sites

@gebeater I tried compile my DSDT with info you say to replace "GFXO" somehow it returns with  3 errors and I cannot save as file  I tried with DSDT editor, could you compile my DSDT file ,I can not use  Kuebecker's DSDT file  my system crashes as well and no wifi works ,not sure I tried sbios file as well ,nothing works,I would  like to use my Native "DSDT" my system is stable with it ,I just can't  wake from sleep  properly I get a PSOD,or very abstract color screen after my system wakes,I'm hoping  the "device GFXO" edit will fix my issue...other than that  the Audio is voodoo based ,but I'd like to fix that  sometime  after I fix the  sleep issue

@Kuebecker not sure why your DSDT file won't work on my rig it's kind of odd, I get a KP and the wifi  will not show up i get a  grey  X for wifi,I'm able to use  your other file amd5000Kext and the Langur personality I can't tell the difference  really  from Orangutan or Nomascus ,I will do  more testing  on them ,I'm  really  focused on sleep issue and  Audio 

I also read something about the  App store fix you described earlier  in your reply to me about the npci=0x300

I hear that  if you change your serial # in the smbios.plist with chameleon Wizard another fix seems the app store don't like some serials  they blacklist,you can  change it  by random with the  wizard ,it worked for me 

Link to comment
Share on other sites

Hey dron4zone. 

 

Since you have updated your bios to 213, you should simply use my files. There is no reason why it should not work.  

I'm still trying to get audio working. It is totally insane!

 

Take a look at the top of the main post, there is a list of whats left to do. 

Link to comment
Share on other sites

Hey Kuebeker  not sure why  but I can't use your  DSDT it's  freezing up as I get to desktop resolution is  not working and wifi...tried your Sbios as well with it still no go....can you patch my original DSDT file for me with  your fix for ATI 5870 :

 

{
                        Store (Package (0x0C)
                            {
                                "model", 
                                Buffer (0x1C)
                                {
                                    "AMD Mobility Radeon HD 5870"
                                }, 
 
                                "AAPL00,DualLink", 
                                Buffer (0x03)
                                {
                                     0x01, 0x00, 0x00
                                }, 
 
                                "@0,name", 
                                Buffer (0x0D)
                                {
                                    "ATY,Nomascus"
                                }, 
 
                                "@1,name", 
                                Buffer (0x0D)
                                {
                                    "ATY,Nomascus"
                                }, 
 
                                "@2,name", 
                                Buffer (0x0D)
                                {
                                    "ATY,Nomascus"
                                }, 
 
                                "hda-gfx", 
                                Buffer (0x0A)
                                {
                                    "onboard-1"
                                }
                            }, Local0)
                        DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                        Return (Local0)
                    }
 
 
 
 
not sure but I keep getting errors  during compile....very frustrating 

http://www.filedropper.com/showdownload.php/dsdtaml_1

 

orig dsdt

Link to comment
Share on other sites

Hey Kuebeker  not sure why  but I can't use your  DSDT it's  freezing up as I get to desktop resolution is  not working and wifi...tried your Sbios as well with it still no go....can you patch my original DSDT file for me with  your fix for ATI 5870 :

 

 

Upload the IOReggistryExplorer of your Asus. I'll see what I can do.

 

The DSDT you uploaded is the original unmodified ? 

Link to comment
Share on other sites

      Hey  Kuebeker,

here  is a folder of  my current  files DSDT,AMDControllerKext,IOReg.... I also included my extracted DSDT in raw  format not modded...I think my ATI5870 is not 100% because it's not patched properly in DSDT,I can't use yours or Gebeater's DSDT it  makes my system crash,seems odd ,it may be because I don't have  Bluetooth? not  know exact reason. I would like to have  "Nomascus" personality properly patch or compiled  from my current DSDT file .i'm hoping that will cure my wake from sleep distorted issue 

I was  also  wondering If you have to use DarkWake in order to get your rig to sleep ?

 

http://www.filedropper.com/showdownload.php/currentfiles

Link to comment
Share on other sites

Kind of busy lately. I don't know what happened but all of a sudden I rebooted my laptop and I got the "waiting for pci root device".

I knew it was due to a sudden system bug. probably by trying to get my audio working.

I reinstalled the OS and used the same kext's, without my buggy audio kext , and it booted right up.  

All that to say "waiting for pci root device" does not mean it's a chameleon.boot.plist issue. It can, as in my case, be due to OS X. Which in that case a reinstall is the easiest fix.  

 

 

:thumbsup_anim:  :thumbsup_anim:  :thumbsup_anim:  Also...  GREAT FRACKING NEWS!!!!!!!!!!!! I FIXED THE AUDIO !!!!!!!  :thumbsup_anim:  :thumbsup_anim:  :thumbsup_anim:  :thumbsup_anim:

I'd like to congratulate my self for a job well done.  :) 

 

It all works, Speakers, Subwoofer, Headphones, Mic internal and Mic external using AppleHDA.kext. 

No it's not the buggy kext.  This one is rock solid.  

I'll be uploading the kext soon.

Link to comment
Share on other sites

Patching the AppleHDA.kext was an insane experience. There is so much {censored} information out there and the lack of real information no wonder it took me way WAY to long to patch this.

You will need to used "Audio MIDI Setup.app" and create a "Multi-Output Device" and select both internal speakers. Rename it to 2.1 Audio.

next you will need to get SoundFlower. Once installed select SoundFlower (2ch) then from the SoundFlower pulldown( see toolbar) select "2.1 Audio". 

Important. In your Multi-output device. Enable Drift Correction. 

 

DSDT HDEF Patch: 

            / DEVICE IN USE
            Device (HDEF)
            {
                Name (_ADR, 0x001B0000)
                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 (_PRW, 0, NotSerialized)
                {
                    \RMDT.PUSH("Entering HDEF._PRW")
                    Return (GPRW (0x0D, 0x04))
                }
                /////////////////////////////
                // FIX - FOR AppleHDA.kext //
                // METHOD _DSM ADDED       //
                /////////////////////////////
                Method (_DSM, 4, NotSerialized)
                {
                    Store (Package (0x06)
                        {
                            "layout-id", 
                            Buffer (0x04)
                            {
                                0x0C, 0x00, 0x00, 0x00
                            }, 
                            "codec-id", 
                            Buffer (0x04)
                            {
                                 "283902569"
                            }, 
                           /* "hda-gfx",
				Buffer (0x0A)
				{
					"onboard-1"
				},*/
                            "PinConfigurations", 
                            Buffer (Zero) {}
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }
            }

Enjoy! AppleHDA.kext.zip

 

For those that wonder why I did not use VoodooHDA.kext, it's because VoodooHDA can not properly iterate the PathMaps in System profiler. 

It finds them but it can not display them all. So you ether get Speakers or Mic's but not both. It also lists in System Profiler an unused SPDIF port.

 

Update, There is this weird intermittent audio buzz that can be reset by adjusting the SoundFlower buffer size.  

I'll have to find the solution.

 

 

I found the bug. It's SoundFlower. IT craps out when watching Flash video. 

I'll be coding a simple slider to manage the Multi-output Device audio. Something Apple should have done!!!!! Thank you Apple for recycling PC programmers! 

  • Like 1
Link to comment
Share on other sites

I've added the DSDT HDEF._DSM code I used. If you want to patch it now. 

 

 

I'm working on your DSDT file as I type. Ill be finished soon.

I just realized that both DSDT's you gave me are not the original unmodified versions. 

I can still fix them but I really need the original unmodified to see if my DSDT is different from yours.

Logically my DSDT should work on all G73JH-xx versions.

 

Could you upload your original unmodified DSDT? 

Link to comment
Share on other sites

AWESOME !!!!!  sleep.display wake, it all works  great !!!!  gonna test more  only one  glitch  the  back lighted keys won't come back on after wake ... 

have got to work but I'm Happy as F7ck  !!!! thanks  bro !!!! your GREAT  !!

 

Update  removed few kext files  now  system wakes and  backlit key work !!!!!

my other drive  has  audio working  with 2.1 soundFlower fix ...i'm  configuring it here  I had  Voodoo  and  some how  i may have  a conflict some where  after I uninstalled  it ,I'm going to  try a few things ...Still very happy  

big Thanks  kuebeker  :guitar:

update cleaned files  from VooDoo8.4 PKG  that orphaned , now Audio works  clear crisp ! now system is working TOP ! now the little things like  Turbo boost,hot plug Hard drives ,and few others are left .

Link to comment
Share on other sites

 Share

×
×
  • Create New...