ASUS K43SV/A43SV with Mountain Lion, working on it, help needed

Discussion in 'Mountain Lion Laptop Support' started by cavendishqi, Aug 3, 2012.

  1. cavendishqi

    cavendishqi

    Joined:
    Nov 2, 2011
    Messages:
    235
    Mobo:
    ASUS A43SV/K43SV
    CPU:
    Intel(R) Core(TM) i5-2430M CPU @ 2.40GHz
    Graphics:
    nVidia GT 540M 1GB(10de:0df4)
    Mac:
    iMac, MacBook, Mac mini, Mac Pro
    Mobile Phone:
    iOS, Windows Phone
    Aug 3, 2012 at 10:01 PM #1
    cavendishqi

    cavendishqi

    Joined:
    Nov 2, 2011
    Messages:
    235
    Mobo:
    ASUS A43SV/K43SV
    CPU:
    Intel(R) Core(TM) i5-2430M CPU @ 2.40GHz
    Graphics:
    nVidia GT 540M 1GB(10de:0df4)
    Mac:
    iMac, MacBook, Mac mini, Mac Pro
    Mobile Phone:
    iOS, Windows Phone
    Specifications
    http://www.asus.com/Notebooks/Versatile_Performance/K43SV/#specifications

    • CPU: Intel(R) Core(TM) i5-2430M CPU @ 2.40GHz
    • Memory: DDR3-1333 4GB x 2
    • Motherboard: K43SV(Intel HM65)
    • Graphics: nVidia GT 540M 1GB(10de:0df4)
    • Audio: ALC269(8086:1c20) + GT 540M HDMI(10de:0bea)
    • Ethernet: Realtek RTL8111
    • Harddisk: Hitachi 500GB(5400 RPM) in CDROM dock + Intel SSD 80GB
    • USB3: 1b21:1040(ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller)

    Special
    There is no GPU in CPU. That's the reason why many friends(including me) bought this model.

    Pre-Install

    • DSDT and etc: Use Linux to get some files, like DSDT and etc. More details later.
    • BIOS Update: Please update it to latest version 317, ROM is at this page, choose "Windows 7 64bit", then in "BIOS" section. Or you could download it in the attachment files. You can use the utility in BIOS("Advanced"->"Start Easy Flash") or the utility in your Windows("Programs"->"ASUS Utility"->"WinFlash"). I used the "WinFlash" way.
    • USB 3.0 Firmware Update: you could get firmware 12220E in "Asmedia ASM1041/ASM1042 USB3 Controller Firmware" section from http://www.station-drivers.com/page/asmedia.htm , run the exe file on Windows, you will get 1222_0E.bin file; and for update software, try to open this page, http://support.asus.com/Download.aspx?SLanguage=en&m=P8Z68-V+PRO , choose "Windows 7 64bit", then "USB 3.0 Boost Full Package Version V1.00.05" item in "USB" section, the file name is U3Setup_V10005.zip, unzip it, you can find a sub-folder, U3Firmware, remove the .bin file in this folder, and move the previous 1222_0E.bin under this folder, run Firmware.exe on Windows 7, it will help you update the firmware for ASMedia USB 3.0.

    Install
    • UniBeast 1.5.x + Mountain Lion 10.8(from Apple Store) (I used 1.5.0)
    • Remember to type "PCIRootUID=0" when booting from UniBeast (Reference: "Asus Motherboard + NVIDIA Graphics - type PCIRootUID=0" from http://www.tonymacx86.com/61-unibea...untain-lion-any-supported-intel-based-pc.html)
    • Fresh install to my SSD, partition name "Intel"
    • Remember to type "PCIRootUID=0" when booting from Chimera/USB and "Intel"
    • MultiBeast 4.6.1, UserDSDT Install, FakeSMC, FakeSMC Plugin, NullCPUPowerManagement, PS/2 Keyboard/Mouse and TrackPads, Lnx2Mac's Realtek RTL81xx Ethernet, Chimera, MacBook Pro 8,1(The dsdt.aml file should be from the attachment file, and put on Desktop)
    • Remember to type "PCIRootUID=0" when booting from Chimera"Intel"
    • Add following two lines in /Extra/org.chameleon.Boot.plist:
      Code (Text):
      <key>Kernel Flags</key>
      <string>PCIRootUID=0</string>
    • About wifi, AR9285 works fine after following work:
      edit /System/Library/Extensions/IO80211Family.kext/Contents/Plugins/AirPortAtheros40.kext/Contents/Info.plist ,
      add this line:
      Code (Text):
      <string>pci168c,2b</string>
      after this line:
      Code (Text):
      <string>pci168c,2a</string>
    • About OpenCL, reference is "Third step - modifying libclh.dylib to allow OpenCL 2.0" in http://legacy.tonymacx86.com/viewtopic.php?f=15&t=35148, result in http://www.luxrender.net/luxmark/detail/result/1609, run following code:
      Code (Text):
      sudo perl -pi -e '$c++ if s|\xeb\xa8\x83\xf8\x02\x7c\x15|\xeb\xa8\x83\xf8\x03\x7c\x15|; s|\x78\xe8\x83\xf8\x02\x7c\x11|\x78\xe8\x83\xf8\x03\x7c\x11|; END { unless ($c) { warn "No substitutions made\n"; $? =1 } }' /System/Library/Extensions/GeForceGLDriver.bundle/Contents/MacOS/GeForceGLDriver
    • About CUDA, installed CUDA Driver 4.2.10 from http://developer.nvidia.com/cuda/cuda-downloads , and upgrade to 5.0.17. For building "nbody", you need to install the Toolkit and SDK too.
    • About ALC269 audio, DSDT patch like this: (or in this page https://gist.github.com/3294402), please use it to replace the current HDEF part. (remember to patch the DTGP too). And the driver, patched AppleHDA is in attachement, just put it into /S/L/E.
      Code (Text):

                  Device (HDEF)
                  {
                      Name (_ADR, 0x001B0000)
                      Method (_DSM, 4, NotSerialized)
                      {
                          Store (Package (0x0C)
                              {
                                  "revision-id",
                                  Buffer (0x04)
                                  {
                                      0x05, 0x00, 0x00, 0x00
                                  },
                                  "subsystem-id",
                                  Buffer (0x04)
                                  {
                                      0x70, 0x72, 0x00, 0x00
                                  },
                                  "subsystem-vendor-id",
                                  Buffer (0x04)
                                  {
                                      0x86, 0x80, 0x00, 0x00
                                  },
                                  "layout-id",
                                  Buffer (0x04)
                                  {
                                      0x1C, 0x00, 0x00, 0x00
                                  },
                                  "PinConfigurations",
                                  Buffer (Zero) {},
                                  "PlatformFamily",
                                  Buffer (One)
                                  {
                                      0x00
                                  }
                              }, Local0)
                          DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                          Return (Local0)
                      }
                  }
       
    • About HDMI audio, change in DSDT file, reference: http://www.tonymacx86.com/hdmi-audi...o-part-2a-dsdt-edits-discrete-amd-nvidia.html
    • Because lack the ability for power management, better to do following: System Preferences->Energy Saver, set "Computer sleep" and "Display sleep" to "Never", uncheck "Put hard disks to sleep when possible".
    • For battery management, just use AppleSmartBatteryManager.kext from http://www.tonymacx86.com/mountain-lion-laptop-support/62178-asus_k53sc_mountain_lion_guide.html
    • Note for update from 10.8.1 to 10.8.2, after update, please use "-x" safe mode, and copy AppleACPIPlatform.kext to /S/L/E, and also for AppleHDA.kext, AppleSmartBatteryManager.kext, redo the work for IO80211Family.kext, and use "Kext Utility" to repair the permission and update the kext caches. Reboot the machine works fine.

    ToDo

    Working List
    • NVidia GT 540M OpenGL, OpenCL and CUDA
    • Audio: ALC269, all function including internal speaker and mic, external headphone and mic
    • Audio: HDMI
    • Atheros AR9285 Wifi
    • Realtek LAN
    • Asus VGA Webcam (Using CamTwist App 2.4, with Flip-Flop effect, at least Skype could work)
    • ASMedia USB 3.0
    • HDMI
    • Battery management
    • Elan Touchpad, not full multitouch functions, but much more than a mouse

    Non Working List
    • Power Management for CPU
    • Power Management for GPU
    • Realtek USB 2.0 CardReader
    • Sleep, Processor Speedsteps

    Test Results

    Kudos
     

    Attached Files:

  2. T1hom7as

    T1hom7as

    Joined:
    Feb 26, 2012
    Messages:
    867
    Mobo:
    Acer Aspire 5750G
    CPU:
    Intel Core i7 2630QM @ 2GHz
    Graphics:
    NVIDIA GeForce GT 540M + Intel HD Graphics 3000
    Mobile Phone:
    iOS
    Aug 21, 2012 at 3:47 PM #2
    T1hom7as

    T1hom7as

    Joined:
    Feb 26, 2012
    Messages:
    867
    Mobo:
    Acer Aspire 5750G
    CPU:
    Intel Core i7 2630QM @ 2GHz
    Graphics:
    NVIDIA GeForce GT 540M + Intel HD Graphics 3000
    Mobile Phone:
    iOS
    ALC269 for me works out of the box, along with AppleIntelCPUManagement.kext.

    However I have updated my BIOS into now having EFI/UEFI support which now allows the use of these (I think).

    Although I was having to use NullCPUManagement.kext before I updated my BIOS. So my advice may be if you can update BIOS... do so!

    Also cavendishqi I have PM'd you I would like some help in getting my GT540m working.

    Thanks.
     
  3. cavendishqi

    cavendishqi

    Joined:
    Nov 2, 2011
    Messages:
    235
    Mobo:
    ASUS A43SV/K43SV
    CPU:
    Intel(R) Core(TM) i5-2430M CPU @ 2.40GHz
    Graphics:
    nVidia GT 540M 1GB(10de:0df4)
    Mac:
    iMac, MacBook, Mac mini, Mac Pro
    Mobile Phone:
    iOS, Windows Phone
    Aug 22, 2012 at 3:12 PM #3
    cavendishqi

    cavendishqi

    Joined:
    Nov 2, 2011
    Messages:
    235
    Mobo:
    ASUS A43SV/K43SV
    CPU:
    Intel(R) Core(TM) i5-2430M CPU @ 2.40GHz
    Graphics:
    nVidia GT 540M 1GB(10de:0df4)
    Mac:
    iMac, MacBook, Mac mini, Mac Pro
    Mobile Phone:
    iOS, Windows Phone
  4. cavendishqi

    cavendishqi

    Joined:
    Nov 2, 2011
    Messages:
    235
    Mobo:
    ASUS A43SV/K43SV
    CPU:
    Intel(R) Core(TM) i5-2430M CPU @ 2.40GHz
    Graphics:
    nVidia GT 540M 1GB(10de:0df4)
    Mac:
    iMac, MacBook, Mac mini, Mac Pro
    Mobile Phone:
    iOS, Windows Phone
    Aug 23, 2012 at 7:54 PM #4
    cavendishqi

    cavendishqi

    Joined:
    Nov 2, 2011
    Messages:
    235
    Mobo:
    ASUS A43SV/K43SV
    CPU:
    Intel(R) Core(TM) i5-2430M CPU @ 2.40GHz
    Graphics:
    nVidia GT 540M 1GB(10de:0df4)
    Mac:
    iMac, MacBook, Mac mini, Mac Pro
    Mobile Phone:
    iOS, Windows Phone
    Upgraded to 10.8.1 today, looks like only need to copy AppleSmartBatteryManager.kext again. Others are fine.
     
  5. T1hom7as

    T1hom7as

    Joined:
    Feb 26, 2012
    Messages:
    867
    Mobo:
    Acer Aspire 5750G
    CPU:
    Intel Core i7 2630QM @ 2GHz
    Graphics:
    NVIDIA GeForce GT 540M + Intel HD Graphics 3000
    Mobile Phone:
    iOS
    Aug 24, 2012 at 12:18 AM #5
    T1hom7as

    T1hom7as

    Joined:
    Feb 26, 2012
    Messages:
    867
    Mobo:
    Acer Aspire 5750G
    CPU:
    Intel Core i7 2630QM @ 2GHz
    Graphics:
    NVIDIA GeForce GT 540M + Intel HD Graphics 3000
    Mobile Phone:
    iOS
    I have had someone patch my AGPM with my nVidia injection over at insanely, however I still cannot get my 540M to even be recognized, I can't boot when its enabled, iv tried all sorts! :/ it just freezes! My battery was also natively found and is working, in Lion I had to use a different kext though.
     
  6. cavendishqi

    cavendishqi

    Joined:
    Nov 2, 2011
    Messages:
    235
    Mobo:
    ASUS A43SV/K43SV
    CPU:
    Intel(R) Core(TM) i5-2430M CPU @ 2.40GHz
    Graphics:
    nVidia GT 540M 1GB(10de:0df4)
    Mac:
    iMac, MacBook, Mac mini, Mac Pro
    Mobile Phone:
    iOS, Windows Phone
    Aug 24, 2012 at 6:58 AM #6
    cavendishqi

    cavendishqi

    Joined:
    Nov 2, 2011
    Messages:
    235
    Mobo:
    ASUS A43SV/K43SV
    CPU:
    Intel(R) Core(TM) i5-2430M CPU @ 2.40GHz
    Graphics:
    nVidia GT 540M 1GB(10de:0df4)
    Mac:
    iMac, MacBook, Mac mini, Mac Pro
    Mobile Phone:
    iOS, Windows Phone
    Would you like to share some patches for AGPM? Maybe I could have a try with them. And any application could confirm whether they works fine or not? Thanks in advance.
     
  7. T1hom7as

    T1hom7as

    Joined:
    Feb 26, 2012
    Messages:
    867
    Mobo:
    Acer Aspire 5750G
    CPU:
    Intel Core i7 2630QM @ 2GHz
    Graphics:
    NVIDIA GeForce GT 540M + Intel HD Graphics 3000
    Mobile Phone:
    iOS
    Aug 24, 2012 at 10:09 AM #7
    T1hom7as

    T1hom7as

    Joined:
    Feb 26, 2012
    Messages:
    867
    Mobo:
    Acer Aspire 5750G
    CPU:
    Intel Core i7 2630QM @ 2GHz
    Graphics:
    NVIDIA GeForce GT 540M + Intel HD Graphics 3000
    Mobile Phone:
    iOS
    Try these two kexts, and let me know if its working, to find out, open the console application and you will see AppleGraphicsPowerManagement.kext being shown if its working :)

    Bare in mind these are for my configuration so it might not work.
     

    Attached Files:

  8. designerferro

    designerferro

    Joined:
    Jan 29, 2011
    Messages:
    14
    Mobo:
    ASUS K53sv
    CPU:
    Core i7
    Graphics:
    Intel HD3000 and GeForce 540M
    Mac:
    MacBook Pro
    Mobile Phone:
    iOS
    Aug 31, 2012 at 6:09 PM #8
    designerferro

    designerferro

    Joined:
    Jan 29, 2011
    Messages:
    14
    Mobo:
    ASUS K53sv
    CPU:
    Core i7
    Graphics:
    Intel HD3000 and GeForce 540M
    Mac:
    MacBook Pro
    Mobile Phone:
    iOS
  9. aa_lan2

    aa_lan2

    Joined:
    May 16, 2011
    Messages:
    7
    Mobo:
    Asus K43SV
    CPU:
    Intel Core i5 2.30 GHz
    Graphics:
    Nvidia GT 540 M
    Mobile Phone:
    Android, Other
    Sep 9, 2012 at 12:50 AM #9
    aa_lan2

    aa_lan2

    Joined:
    May 16, 2011
    Messages:
    7
    Mobo:
    Asus K43SV
    CPU:
    Intel Core i5 2.30 GHz
    Graphics:
    Nvidia GT 540 M
    Mobile Phone:
    Android, Other
    My Laptop is Asus k43sv, it may be same with yours. i've followed your installation steps, but the touchpad doesn't work till now. i hope someone gives me a solution to fix this problem. Thanks.
     
  10. aa_lan2

    aa_lan2

    Joined:
    May 16, 2011
    Messages:
    7
    Mobo:
    Asus K43SV
    CPU:
    Intel Core i5 2.30 GHz
    Graphics:
    Nvidia GT 540 M
    Mobile Phone:
    Android, Other
    Sep 9, 2012 at 4:51 AM #10
    aa_lan2

    aa_lan2

    Joined:
    May 16, 2011
    Messages:
    7
    Mobo:
    Asus K43SV
    CPU:
    Intel Core i5 2.30 GHz
    Graphics:
    Nvidia GT 540 M
    Mobile Phone:
    Android, Other
    how about bluetooth?

    how to turn on/off bloetooth device?
     

Share This Page