Contribute
Register

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

Status
Not open for further replies.
Joined
Nov 2, 2011
Messages
218
Motherboard
ASUS A43SV/K43SV
CPU
i5-2430M
Graphics
GT 540M
Mac
  1. iMac
  2. MacBook
  3. Mac mini
  4. Mac Pro
Mobile Phone
  1. iOS
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:
    <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:
    <string>pci168c,2b</string>
    after this line:
    Code:
    <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:
    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:
                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
 

Attachments

  • Asus_K43SV-OpenGL-fullscreen-result.png
    Asus_K43SV-OpenGL-fullscreen-result.png
    102.9 KB · Views: 927
  • Asus_K43SV-OpenGL-window-result.png
    Asus_K43SV-OpenGL-window-result.png
    100.7 KB · Views: 848
  • 11_529_CB25720demo_2C_4T_2394_Intel_Core_i5_2430M_CPU__NVIDIA_Corporation_NVIDIA_GeForce_GT_540M.txt
    957 bytes · Views: 559
  • Asus_K43SV-CUDA-Z-result-1.png
    Asus_K43SV-CUDA-Z-result-1.png
    76.2 KB · Views: 984
  • Asus_K43SV-CUDA-Z-result-2.png
    Asus_K43SV-CUDA-Z-result-2.png
    56.3 KB · Views: 2,610
  • Asus_K43SV-CUDA-Z-result-3.png
    Asus_K43SV-CUDA-Z-result-3.png
    68.3 KB · Views: 1,159
  • AppleHDA.kext_10.8_Patched.zip
    720.9 KB · Views: 861
  • AppleSmartBatteryManager.kext.zip
    39.6 KB · Views: 495
  • AppleACPIPlatform.kext.zip
    232.6 KB · Views: 523
  • ASUS-K43SV-20120812.zip
    494.3 KB · Views: 943
  • K43SVAS317.zip
    1.1 MB · Views: 2,346
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.
 
Upgraded to 10.8.1 today, looks like only need to copy AppleSmartBatteryManager.kext again. Others are fine.
 
Hi, thanks.

Already patched AppleIntelCPUManagement.kext myself, at least no KP now.

For battery, just use a kext from this thread, http://www.tonymacx86.com/mountain-lion-laptop-support/62178-asus_k53sc_mountain_lion_guide.html

Looks like need to patch Graphics Power Management next step.

BTW, didn't find any EFI/UEFI update for the BIOS of my laptop yet.

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.
 
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.

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.
 
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.

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.
 

Attachments

  • AppleGraphicsPowerManagement.kext.zip
    48.1 KB · Views: 190
  • IOPlatformPluginFamily.kext.zip
    354.3 KB · Views: 190
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.
 
how about bluetooth?

how to turn on/off bloetooth device?
 
Status
Not open for further replies.
Back
Top