Jump to content

Asus UX301LA (Haswell) / Dev + Guide 10.9.1 & Newer

UX301 UX301LA Haswell Github Guide Developement

  • Please log in to reply
20 replies to this topic

#1
Ramalama

Ramalama

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 230 posts
  • Gender:Not Telling
  • Location:Germany

GUIDE:

==================

Credits:

Big Thanks to EMlyDinEsH!!! Without his Help, this all wasn't possible!

Mirone for Patched AppleHDA!

RehabMan for the Haswell Patch and all his Work in the Kext Drivers!

The Clover Team!! For that awesome Bootloader!

And all  others icon_e_smile.gif

Asus UX301LA Specs:
CPU: i7-4558U (2 x 2,8 + 2HT) (Haswell-ULT)
(Cache: L1=128KB L2=512KB L3=4MB)

GPU: Intel Iris 5100 (Dev=0A2E Ven=8086)
RAM: DDR3L-1600 (2x Elpida 4GB / Onboard)
Chipset: Intel Lynx Point-LP / HM87 / ICH8(m)
Audio: Intel HD (ALC282)
SSD: 2x Sandisk X110(SD6) 128GB (M.2/NGFF)
Touchpad: Elan V6 (Firmware: 6758151)
SD Reader: (Update soon)
Wifi: Intel 7260+BT4.0 AC (M.2/NGFF)
Bluetooth: Intel 7260+BT4.0 AC (M.2/NGFF)
USB: Lynx Point-LP USB xHCI HC
Camera: HD WebCam (Ven=1BCF Dev=2987)
Touchscreen: Atmel maXTouch Digitizer (Ven=3EB Dev=8A0C)Features: smbios-2.7, dmi-2.7, vsyscall32
Bios Features: pci upgrade shadowing cdboot bootselect socketedrom edd int13floppy1200 int17printer acpi usb smartbattery biosbootspecification uefi

BIOS: UX301LAA.204 (09/11/2013) (AMI)

Working/Not Working:

Audio: (ALC282) Working with Patched AppleHDA & HDAenabler!

HDMI/DisplayPort Audio: Working!

USB: Working OTB with Issues. Better: GenericUSB3 (Sometimes it crash OSX)

Touchpad: Working with: ElanTouchpad

Graphics: Working with patched DSDT (Duallink+All Ports Working)

Sleep: GoToSleep Working, but not good / Wake causes Reboot/Shutdown

Backlight Keys: Working with patched DSDT & AsusFNKeys

Backlight Display: Working with Patched DSDT

Battery: Working with: ACPIBattery and Patched DSDT

SD Reader: Working very good OTB (But no entry in Systemprofiler)

HD WebCam: Working OTB (But doesnt turns off after you used it)

Touchscreen: Working with Touch-Base drivers!

KeyboardFN Keys: Working with AsusFNKeys

HiDPI: Doesn't Work on 10.9 (With DisplayOverride) (2560x1440 on 13'3 Inch ATM)

Wifi: Not working and never will be! You need to change the module! But it's in the NGFF/M.2 Format, there is nothing other out now!

Bluetooth: Working! But you can't turn it off! It's working, but always on!

 

(...In Progress...)

 

 

What do you need?

 

1. Make a new MacOSX Install "USB-Thumb Drive"

Download Clover Bootloader: http://sourceforge.n.../cloverefiboot/

 

2. Download and install Clover on this drive!

+Select on Clover installation under "Customize" "Install for UEFI-Motherboard"

+And under "Drivers64UEFI", you need only "EmuVariableUefi-64" & "OSXAptioFixDrv-64"

 

3. You need to have fullow files in the Clover "EFI" directory:

--->CLOVER/kexts/FakeSMC.kext (http://sourceforge.n...wsensors/files/)

--->CLOVER/kexts/VoodooPS2.kext (https://code.google..../downloads/list)

--->CLOVER/ACPI/patched/DSDT.aml (At my GitHub Repository)

--->CLOVER/config.plist (At my GitHub Repository! Use that one, that marked "for Install")

 

4. You are ready to Install! Start the computer, go in BIOS Settings,

---> VT-d ---> Disable it!

---> Add a new Entry for CLOVERX64.Efi

---> Save Changes & Restart!

 

5. Install OSX! After Installation, don't plug out your drive! Start OSX from the installed drive!

 

6. If this doesn't work, try to start "Verbose" or "Single User"

 

7. Now you have Installed OSX! Go & Buy a USB-Wifi Dongle, or use the Lan-Adapter!

 

8. Download Clover Bootloader Again! Install it on your Drive!

+Select on Clover installation under "Customize" "Install for UEFI-Motherboard"

+And under "Drivers64UEFI", you need only "EmuVariableUefi-64" & "OSXAptioFixDrv-64"

 

9. Put the files on my GitHub in the Clover EFI Directory:

--->CLOVER/config.plist (At my GitHub Repository! Use the normal One)

------->(modify in the config.plist under "Serialnumber" the "XXXXX" to anything you want!)

--->CLOVER/ACPI/patched/DSDT.aml (At my GitHub Repository)

 

And install with "Kext Utility" or "Kext Wizard" all the kext Files, i wrote in the Readme!

https://github.com/R...ter/GUIDE Files

 

10. You have 3 Options, to get OSX Running, without early reboot!

Option 1: mach_kernel patch: RehabManPatch (Safe Way)

Option 2: PMPatch (Its a BIOS Patch! Search Self! I take no warranty for this!)

Option 3: Set in Clover Config.plist: KernelPM to true! (There is an Example in the "Config for Install.plist" File!)

 

11. You need to add "Mac-3CBD00234E554E41" and "MacBookPro11,2" to the "/System/Library/CoreServices/PlatformSupport.plist"!!!

If you do not do this, you can't boot the System!

-----> This will be not necessary for OSX 10.9.2 & newer!

 

12. You are Ready! You can Reboot and Enjoy your new Mac :-)

 

 

 

 

To be Continued!!!

Im Working on this thread!

Last Update: 10.01.2014

 

 

 

Downloads on GitHub:

https://github.com/R...ama2/UX301_DSDT

 

 

 

 

========================

Developement:

 

 

Device Dump:

--------[ PCI Devices ]-------------------------------------------------------------------------------------------------

  [ High Definition Audio Controller [8086-0A0C] [NoDB] ]

    Device Properties:
      Device Description                                High Definition Audio Controller [8086-0A0C] [NoDB]
      Bus Type                                          PCI Express 1.0
      Bus / Device / Function                           0 / 3 / 0
      Device ID                                       a  8086-0A0C
      Subsystem ID                                      8086-2010
      Device Class                                      0403 (High Definition Audio)
      Revision                                          09
      Fast Back-to-Back Transactions                    Not Supported

    Device Features:
      66 MHz Operation                                  Not Supported
      Bus Mastering                                     Enabled

  [ High Definition Audio Controller [8086-9C20] [NoDB] ]

    Device Properties:
      Device Description                                High Definition Audio Controller [8086-9C20] [NoDB]
      Bus Type                                          PCI Express 1.0
      Bus / Device / Function                           0 / 27 / 0
      Device ID                                         8086-9C20
      Subsystem ID                                      1043-13BD
      Device Class                                      0403 (High Definition Audio)
      Revision                                          04
      Fast Back-to-Back Transactions                    Not Supported

    Device Features:
      66 MHz Operation                                  Not Supported
      Bus Mastering                                     Enabled

  [ Intel(R) 8 Series Chipset Family SATA AHCI Controller [8086-9C03] [NoDB] ]

    Device Properties:
      Device Description                                Intel(R) 8 Series Chipset Family SATA AHCI Controller [8086-9C03] [NoDB]
      Bus Type                                          PCI
      Bus / Device / Function                           0 / 31 / 2
      Device ID                                         8086-9C03
      Subsystem ID                                      1043-13BD
      Device Class                                      0106 (SATA Controller)
      Revision                                          04
      Fast Back-to-Back Transactions                    Supported, Disabled

    Device Features:
      66 MHz Operation                                  Supported
      Bus Mastering                                     Enabled

  [ Intel(R) 8 Series LPC Controller (Premium SKU) - 9C43 [8086-9C43] [NoDB] ]

    Device Properties:
      Device Description                                Intel(R) 8 Series LPC Controller (Premium SKU) - 9C43 [8086-9C43] [NoDB]
      Bus Type                                          PCI
      Bus / Device / Function                           0 / 31 / 0
      Device ID                                         8086-9C43
      Subsystem ID                                      1043-13BD
      Device Class                                      0601 (PCI/ISA Bridge)
      Revision                                          04
      Fast Back-to-Back Transactions                    Not Supported

    Device Features:
      66 MHz Operation                                  Not Supported
      Bus Mastering                                     Enabled

  [ Intel(R) 8 Series PCI Express Root Port #1 - 9C10 [8086-9C10] [NoDB] ]

    Device Properties:
      Device Description                                Intel(R) 8 Series PCI Express Root Port #1 - 9C10 [8086-9C10] [NoDB]
      Bus Type                                          PCI
      Bus / Device / Function                           0 / 28 / 0
      Device ID                                         8086-9C10
      Subsystem ID                                      0000-0000
      Device Class                                      0604 (PCI/PCI Bridge)
      Revision                                          E4
      Fast Back-to-Back Transactions                    Not Supported

    Device Features:
      66 MHz Operation                                  Not Supported
      Bus Mastering                                     Enabled

  [ Intel(R) 8 Series PCI Express Root Port #4 - 9C16 [8086-9C16] [NoDB] ]

    Device Properties:
      Device Description                                Intel(R) 8 Series PCI Express Root Port #4 - 9C16 [8086-9C16] [NoDB]
      Bus Type                                          PCI
      Bus / Device / Function                           0 / 28 / 3
      Device ID                                         8086-9C16
      Subsystem ID                                      0000-0000
      Device Class                                      0604 (PCI/PCI Bridge)
      Revision                                          E4
      Fast Back-to-Back Transactions                    Not Supported

    Device Features:
      66 MHz Operation                                  Not Supported
      Bus Mastering                                     Enabled

  [ Intel(R) 8 Series SMBus Controller - 9C22 [8086-9C22] [NoDB] ]

    Device Properties:
      Device Description                                Intel(R) 8 Series SMBus Controller - 9C22 [8086-9C22] [NoDB]
      Bus Type                                          PCI
      Bus / Device / Function                           0 / 31 / 3
      Device ID                                         8086-9C22
      Subsystem ID                                      1043-13BD
      Device Class                                      0C05 (SMBus Controller)
      Revision                                          04
      Fast Back-to-Back Transactions                    Supported, Disabled

    Device Features:
      66 MHz Operation                                  Not Supported
      Bus Mastering                                     Disabled

  [ Intel(R) Dual Band Wireless-AC 7260 [8086-08B1] [NoDB] ]

    Device Properties:
      Device Description                                Intel(R) Dual Band Wireless-AC 7260 [8086-08B1] [NoDB]
      Bus Type                                          PCI Express 2.0 x1
      Bus / Device / Function                           2 / 0 / 0
      Device ID                                         8086-08B1
      Subsystem ID                                      8086-C070
      Device Class                                      0280 (Network Controller)
      Revision                                          6B
      Fast Back-to-Back Transactions                    Not Supported

    Device Features:
      66 MHz Operation                                  Not Supported
      Bus Mastering                                     Enabled

  [ Intel(R) Dynamic Platform and Thermal Framework PCH Participant Driver [8086-9C24] [NoDB] ]

    Device Properties:
      Device Description                                Intel(R) Dynamic Platform and Thermal Framework PCH Participant Driver [8086-9C24] [NoDB]
      Bus Type                                          PCI
      Bus / Device / Function                           0 / 31 / 6
      Device ID                                         8086-9C24
      Subsystem ID                                      1043-13BD
      Device Class                                      1180 (Data Acquisition / Signal Processing Controller)
      Revision                                          04
      Fast Back-to-Back Transactions                    Not Supported

    Device Features:
      66 MHz Operation                                  Not Supported
      Bus Mastering                                     Enabled

  [ Intel(R) Dynamic Platform and Thermal Framework Processor Participant Driver [8086-0A03] [NoDB] ]

    Device Properties:
      Device Description                                Intel(R) Dynamic Platform and Thermal Framework Processor Participant Driver [8086-0A03] [NoDB]
      Bus Type                                          PCI
      Bus / Device / Function                           0 / 4 / 0
      Device ID                                         8086-0A03
      Subsystem ID                                      8086-2010
      Device Class                                      1180 (Data Acquisition / Signal Processing Controller)
      Revision                                          09
      Fast Back-to-Back Transactions                    Supported, Disabled

    Device Features:
      66 MHz Operation                                  Not Supported
      Bus Mastering                                     Enabled

  [ Intel(R) Iris(TM) Graphics 5100 [8086-0A2E] [NoDB] ]

    Device Properties:
      Device Description                                Intel(R) Iris(TM) Graphics 5100 [8086-0A2E] [NoDB]
      Bus Type                                          PCI
      Bus / Device / Function                           0 / 2 / 0
      Device ID                                         8086-0A2E
      Subsystem ID                                      1043-13BD
      Device Class                                      0300 (VGA Display Controller)
      Revision                                          09
      Fast Back-to-Back Transactions                    Supported, Disabled

    Device Features:
      66 MHz Operation                                  Not Supported
      Bus Mastering                                     Enabled

  [ Intel(R) Management Engine Interface [8086-9C3A] [NoDB] ]

    Device Properties:
      Device Description                                Intel(R) Management Engine Interface [8086-9C3A] [NoDB]
      Bus Type                                          PCI
      Bus / Device / Function                           0 / 22 / 0
      Device ID                                         8086-9C3A
      Subsystem ID                                      1043-13BD
      Device Class                                      0780 (Communications Controller)
      Revision                                          04
      Fast Back-to-Back Transactions                    Not Supported

    Device Features:
      66 MHz Operation                                  Not Supported
      Bus Mastering                                     Enabled

  [ Intel(R) USB 3.0 eXtensible Host Controller - 0100 (Microsoft) [8086-9C31] [NoDB] ]

    Device Properties:
      Device Description                                Intel(R) USB 3.0 eXtensible Host Controller - 0100 (Microsoft) [8086-9C31] [NoDB]
      Bus Type                                          PCI
      Bus / Device / Function                           0 / 20 / 0
      Device ID                                         8086-9C31
      Subsystem ID                                      1043-201F
      Device Class                                      0C03 (USB Controller)
      Revision                                          04
      Fast Back-to-Back Transactions                    Supported, Disabled

    Device Features:
      66 MHz Operation                                  Not Supported
      Bus Mastering                                     Enabled

  [ PCI standard host CPU bridge [8086-0A04] [NoDB] ]

    Device Properties:
      Device Description                                PCI standard host CPU bridge [8086-0A04] [NoDB]
      Bus Type                                          PCI
      Bus / Device / Function                           0 / 0 / 0
      Device ID                                         8086-0A04
      Subsystem ID                                      1043-13BD
      Device Class                                      0600 (Host/PCI Bridge)
      Revision                                          09
      Fast Back-to-Back Transactions                    Supported, Disabled

    Device Features:
      66 MHz Operation                                  Not Supported
      Bus Mastering                                     Enabled


--------[ Debug - PCI ]-------------------------------------------------------------------------------------------------

    B00 D00 F00:  PCI standard host CPU bridge [8086-0A04] [NoDB]
    B00 D02 F00:  Intel(R) Iris(TM) Graphics 5100 [8086-0A2E] [NoDB]
    B00 D03 F00:  High Definition Audio Controller [8086-0A0C] [NoDB]
    B00 D04 F00:  Intel(R) Dynamic Platform and Thermal Framework Processor Participant Driver [8086-0A03] [NoDB]
    B00 D14 F00:  Intel(R) USB 3.0 eXtensible Host Controller - 0100 (Microsoft) [8086-9C31] [NoDB]
    B00 D16 F00:  Intel(R) Management Engine Interface [8086-9C3A] [NoDB]
    B00 D1B F00:  High Definition Audio Controller [8086-9C20] [NoDB]
    B00 D1C F00:  Intel(R) 8 Series PCI Express Root Port #1 - 9C10 [8086-9C10] [NoDB]
    B00 D1C F03:  Intel(R) 8 Series PCI Express Root Port #4 - 9C16 [8086-9C16] [NoDB]
    B00 D1F F00:  Intel(R) 8 Series LPC Controller (Premium SKU) - 9C43 [8086-9C43] [NoDB]
    B00 D1F F02:  Intel(R) 8 Series Chipset Family SATA AHCI Controller [8086-9C03] [NoDB]
    B00 D1F F03:  Intel(R) 8 Series SMBus Controller - 9C22 [8086-9C22] [NoDB]
    B00 D1F F06:  Intel(R) Dynamic Platform and Thermal Framework PCH Participant Driver [8086-9C24] [NoDB]
    B02 D00 F00:  Intel(R) Dual Band Wireless-AC 7260 [8086-08B1] [NoDB]
    

    BIOS            Unknown
    HDD             SanDisk SD6SP1M128G1002
    Monitor ID      SHP1406: Generic PnP Monitor [NoDB]
    Monitor Model   LQ133T1JW14
    PCI/AGP         8086-08B1 [SubSys: 8086-C070]: Intel(R) Dual Band Wireless-AC 7260 [8086-08B1] [NoDB]
    PCI/AGP         8086-0A03 [SubSys: 8086-2010]: Intel(R) Dynamic Platform and Thermal Framework Processor Participant Driver [8086-0A03] [NoDB]
    PCI/AGP         8086-0A04 [SubSys: 1043-13BD]: PCI standard host CPU bridge [8086-0A04] [NoDB]
    PCI/AGP         8086-0A0C [SubSys: 8086-2010]: High Definition Audio Controller [8086-0A0C] [NoDB]
    PCI/AGP         8086-0A2E [SubSys: 1043-13BD]: Intel(R) Iris(TM) Graphics 5100 [8086-0A2E] [NoDB]
    PCI/AGP         8086-9C03 [SubSys: 1043-13BD]: Intel(R) 8 Series Chipset Family SATA AHCI Controller [8086-9C03] [NoDB]
    PCI/AGP         8086-9C10 [SubSys: 0000-0000]: Intel(R) 8 Series PCI Express Root Port #1 - 9C10 [8086-9C10] [NoDB]
    PCI/AGP         8086-9C16 [SubSys: 0000-0000]: Intel(R) 8 Series PCI Express Root Port #4 - 9C16 [8086-9C16] [NoDB]
    PCI/AGP         8086-9C20 [SubSys: 1043-13BD]: High Definition Audio Controller [8086-9C20] [NoDB]
    PCI/AGP         8086-9C22 [SubSys: 1043-13BD]: Intel(R) 8 Series SMBus Controller - 9C22 [8086-9C22] [NoDB]
    PCI/AGP         8086-9C24 [SubSys: 1043-13BD]: Intel(R) Dynamic Platform and Thermal Framework PCH Participant Driver [8086-9C24] [NoDB]
    PCI/AGP         8086-9C31 [SubSys: 1043-201F]: Intel(R) USB 3.0 eXtensible Host Controller - 0100 (Microsoft) [8086-9C31] [NoDB]
    PCI/AGP         8086-9C3A [SubSys: 1043-13BD]: Intel(R) Management Engine Interface [8086-9C3A] [NoDB]
    PCI/AGP         8086-9C43 [SubSys: 1043-13BD]: Intel(R) 8 Series LPC Controller (Premium SKU) - 9C43 [8086-9C43] [NoDB]
    PnP             ATK3001: Keyboard Device Filter [NoDB]
    PnP             ATK4001: ASUS Wireless Radio Control [NoDB]
    PnP             ETD0105: ELAN PS/2 Port Smart-Pad [NoDB]
    PnP             INT33A0: Intel(R) Smart Connect Technology Device [NoDB]
    PnP             INT3400: Intel(R) Dynamic Platform and Thermal Framework Driver [NoDB]
    PnP             INT3402: Intel(R) Dynamic Platform and Thermal Framework Memory Participant Driver [NoDB]
    PnP             INT340E: Motherboard resources [NoDB]
    PnP             INT3F0D: Motherboard resources [NoDB]
 

Im Working at the moment very much on the DSDT, you can see on the top whats working and whats not!

You can help me to make a stable DSDT!

 

I started over and im doing now a new DSDT (the Experimental one on GitHub)!

The Stable DSDT is working good, but i breaked some stuff with other SSDT's.

 

In the next time i going to redo all that work! I Have now Decompiled Tables from Original MacBookPro11,2!

So i have now new and more options to get things running, as they should!

 

If anyone will help me, and need GitHub access, just write here!

Any help is REALLY Welcome!!!

 

The main Goal is now to fix sleep and wake!

 

Cheers :-)

 

 

Current State of Experimental DSDT:

1. Merging all necessary SSDT to DSDT: Completed

2. Clean Up, Renaming Parts, etc: Completed

3. Fixing Audio, Graphics, FN Keys: Completed

4. Fixing more Stuff: In Progress

5. Optimizations, Cleaning, Warning Fixes: In Progress

 

SMBUS, ALS Sensor (Light Sensor), ATKD (Fn Keys), Battery, LID

HDAU, HDEF, IGPU

LPCB, MCHC, XHC1, TPCH, PNLF, RTC, SLPB, PTID, THRM

SLEEP, WAKE, TPMX, TIMR, IETM, TPCH

 

It's now Beta! :-)

ATM on the Experimental is more working, as on the stable!

 

========================

Original MacBook/iMac Tables:

 

MacBookPro11,1 Firmware Update (MBP111.0138.B03 (EFI 1.3)) 
MacBookPro11,2 Firmware Update (MBP112.0138.B02 (EFI 1.2)) 
MacBookAir6,2 Firmware Update (MBA61.0099.B04 (EFI 2.7)) 
iMac14,1 Firmware Update (IM141.0118.B00 (EFI 2.1)) 
iMac14.2 Firmware Update (IM142.0118.B00 (EFI 2.1)) 

 

You can Download them on GitHub:

https://github.com/R...ama2/UX301_DSDT

 

 

If you have requests for other Apple Tables, just post, and i upload them!

I can upload other Tables from other Laptops/PC's as well!

Just request them!

 

Cheers :-)



#2
chenkj918

chenkj918

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts
  • Gender:Male
  • Location:Germany, Dresden

have you fixed the Shutdown? i also have a Haswell Laptop, which can't exactly shutdown. if yes, how have you done? Thanks



#3
Ramalama

Ramalama

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 230 posts
  • Gender:Not Telling
  • Location:Germany

have you fixed the Shutdown? i also have a Haswell Laptop, which can't exactly shutdown. if yes, how have you done? Thanks

 

Does it reboot on shutdown?

Do you have any USB devices connected?

Did you tried without usb devices?

 

Without informations, i can't help you :-)

---------------

Und interessant wäre, welcher Laptop es ist :-) DSDT, etc :-)



#4
chenkj918

chenkj918

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts
  • Gender:Male
  • Location:Germany, Dresden

Does it reboot on shutdown?

Do you have any USB devices connected?

Did you tried without usb devices?

 

Without informations, i can't help you :-)

---------------

Und interessant wäre, welcher Laptop es ist :-) DSDT, etc :-)

 

 

ich weiss es nicht ob hier erlaubt wird, Deutsch zu sprechen :P trotzdem mein Deutsch ist auch sehr arm weil ich kein Deutsch bin und nur in Deutschland studiere :)

 

Mein Problem ist so : wenn ich den Laptop ausschalten möchte, dann wird der Bildschirm ausgeschaltet, aber die Elektrizitätsversorgung wird nicht abgeschaltet(z.B. das Tastaturlicht ist immer auf).

 

Hast du einer solchen Situation getroffen? Mein Laptop ist acer V5 573g :P

 

Vielen Dank und Gruß



#5
Ramalama

Ramalama

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 230 posts
  • Gender:Not Telling
  • Location:Germany

wenn deutsch nicht gut ist, dann weiter in englisch :-) do you use an dsdt? and did you tryed clover?



#6
chenkj918

chenkj918

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts
  • Gender:Male
  • Location:Germany, Dresden

wenn deutsch nicht gut ist, dann weiter in englisch :-) do you use an dsdt? and did you tryed clover?

 

haha beides geht :)

 

yeah DSDT+Clover, i had used clover's fix function to fix Shutdown, but there was totally no effect. 



#7
chenkj918

chenkj918

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts
  • Gender:Male
  • Location:Germany, Dresden

 

 

You have 2 Options, to get OSX Running, without early reboot!

 

and actually there's a third option : set the <PatchPM> <true> in Clover, then there's no need to replace the Kernel anymore :P



#8
Ramalama

Ramalama

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 230 posts
  • Gender:Not Telling
  • Location:Germany

haha beides geht :)

 

yeah DSDT+Clover, i had used clover's fix function to fix Shutdown, but there was totally no effect. 

 

send me your dsdt please, i need to look in :-)

 

and actually there's a third option : set the <PatchPM> <true> in Clover, then there's no need to replace the Kernel anymore :P

 

You have right :-)

Forgot about that :-)



#9
Ramalama

Ramalama

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 230 posts
  • Gender:Not Telling
  • Location:Germany

Hi, does anyone know how to patch the DSDT, to get Battery working without Kext?

 

I know i need to change all registers to 8 bit...

 

But thats not all, i miss something...

 

Can anyone help me here?



#10
RehabMan

RehabMan

    InsanelyMac Legend

  • Coders
  • 1,452 posts
  • Gender:Male
  • Location:Bellingham, WA
  • Interests:skiing, software, classic cars

and actually there's a third option : set the <PatchPM> <true> in Clover, then there's no need to replace the Kernel anymore :P


Except it is not PatchPM, it is KernelPm.

#11
chenkj918

chenkj918

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts
  • Gender:Male
  • Location:Germany, Dresden

Except it is not PatchPM, it is KernelPm.

 

right... sorry for my false guide :P



#12
Ramalama

Ramalama

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 230 posts
  • Gender:Not Telling
  • Location:Germany

I have changed that :-)

 

And the GUIDE is Updated now!!

 

-------------------------------

 

And thank everyone for that much of help, that im getting here!

That was Ironic....

 

Im searching anyone, who can help me with the Experimental DSDT on Github...

 

Thank you very much!



#13
chenkj918

chenkj918

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts
  • Gender:Male
  • Location:Germany, Dresden

send me your dsdt please, i need to look in :-)

 

 

You have right :-)

Forgot about that :-)

 

 

am Anhang ist mein DSDT zu finden :P Schau mal ob das Shutdown-Problem gelöst werden kann. Vielen Dank!

Attached Files



#14
Ramalama

Ramalama

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 230 posts
  • Gender:Not Telling
  • Location:Germany

am Anhang ist mein DSDT zu finden :P Schau mal ob das Shutdown-Problem gelöst werden kann. Vielen Dank!

 

1. "AAPL,ig-platform-id", Buffer() { 0x06, 0x00, 0x26, 0x0a }, {censored} mal nach ob das richtig ist...

Kannst es auch mal mit 0x0A, 0x00, 0x66, 0x01 Ausprobieren... (Hoffentlich hast du noch irgendein system, falls osx nicht startet und du dsdt wieder ändern kannst!) (Die erste Zahl 0x0A muss nicht stimmen, es kann auch z.B. 0x04 oder 0x06 sein... einfach mal durchprobieren!)

Hier ist ne Liste:

0x00,0x00,0x06,0x04 = HD5000 //FB: 64MB, Pipes: 3, Ports: 3, FBMem: 3 - mobile GT1
0x00,0x00,0x06,0x0c = HD5000 //FB: 64MB, Pipes: 3, Ports: 3, FBMem: 3 - SDV mobile GT1
0x00,0x00,0x16,0x04 = HD5000 //FB: 64MB, Pipes: 3, Ports: 3, FBMem: 3 - mobile GT2
0x00,0x00,0x16,0x0a = HD5000 //FB: 64MB, Pipes: 3, Ports: 3, FBMem: 3 - ULT mobile GT2
0x00,0x00,0x16,0x0c = HD5000 //FB: 64MB, Pipes: 3, Ports: 3, FBMem: 3 - SDV mobile GT2
0x00,0x00,0x26,0x04 = HD5000 //FB: 64MB, Pipes: 3, Ports: 3, FBMem: 3 - mobile GT3
0x00,0x00,0x26,0x0a = HD5000 //FB: 64MB, Pipes: 3, Ports: 3, FBMem: 3 - ULT mobile GT3
0x00,0x00,0x26,0x0c = HD5000 //FB: 64MB, Pipes: 3, Ports: 3, FBMem: 3 - SDV mobile GT3
0x00,0x00,0x26,0x0d = HD5000 //FB: 64MB, Pipes: 3, Ports: 3, FBMem: 3 - CRW mobile GT3
0x02,0x00,0x16,0x04 = HD5000 //FB: 64MB, Pipes: 1, Ports: 1, FBMem: 1 - mobile GT2
0x03,0x00,0x22,0x0d = HD5000 //FB: 0MB, Pipes: 0, Ports: 0, FBMem: 0 - CRW Desktop GT3
0x05,0x00,0x26,0x0a = HD5000 //FB: 32MB, Pipes: 3, Ports: 3, FBMem: 3 - ULT mobile GT3
0x06,0x00,0x26,0x0a = HD5000 //FB: 32MB, Pipes: 3, Ports: 3, FBMem: 3 - ULT mobile GT3
0x07,0x00,0x26,0x0d = HD5000 //FB: 64MB, Pipes: 3, Ports: 4, FBMem: 3 - CRW mobile GT3
0x08,0x00,0x26,0x0a = HD5000 //FB: 64MB, Pipes: 3, Ports: 3, FBMem: 3 - ULT mobile GT3
0x08,0x00,0x2e,0x0a = HD5000 //FB: 64MB, Pipes: 3, Ports: 3, FBMem: 3 - ULT reserved GT3

2. Bennene mal dein Device EC0 in EC um!, Dann braucht zwar die akkuanzeige ein bisschen länger beim start bis sie sich aktualisiert, aber du lädst dann noch zusätzlich apple's APCI Treiber... Das bewirkt wunder :-) xD

Vergiss aber nicht alle Links mit Umzubenennen!

 

3. Dein Device B0D3 ist eigentlich HDAU! Bennene es in HDAU um! Dann hast du auch HDMI Audio usw... Dann brauchst du HDAenabler nichtmehr, wenn du den benutzt! (Immer die Links mit Umbenennen!)

Mach dann auch eine _DSM Method rein, das ist die gleiche wie in deiner HDEF Section... einfach copy&paste! Vergiss nicht, meistens ist es layout ID 1, aber ich kann nicht hellsehen, was für ne layout id du für deine Modifizierte AppleHDA brauchst!

 

4. Und das hier ist absoluter {censored}, du hast ganz sicher keinen "Intel 5 Series usb Controller":

                    "AAPL,clock-id", Buffer() { 0x01 },
                    "built-in", Buffer() { 0x00 },
                    "subsystem-id", Buffer() { 0x70, 0x72, 0x00, 0x00 },
                    "subsystem-vendor-id", Buffer() { 0x86, 0x80, 0x00, 0x00 },
                    "AAPL,current-available", 2100,
                    "AAPL,current-extra", 2200,
                    "AAPL,current-extra-in-sleep", 1600,
                    "AAPL,device-internal", 0x02,
                    "AAPL,max-port-current-in-sleep", 2100,

Da steht das du nen 8086(Intel) 7270(Series 5 Chipsatz), abgesehen von allem anderem was mir auch falsch vorkommt...

Du kannst keine 5 Series haben, wenn du ne HD4400 drin hast... wenn das ist es 7 oder eher 8 Series!

Da wirst du wohl die meisten probleme davon bekommen... was besitzt du? Dann kann ich dir hier helfen, wenn ich die hardware kenne... (Es gibt auch neuere Macbooks mit neueren controllern)

 

Wahrscheinlich ist hier auch dein shutdown problem! Wahrscheinlich geht sleep und wake bei dir auch nicht, ein wunder wäre es, wenn doch xD

 

5. Benenne mal deine _T_0, _T_1, _T_2, usw... in T_0, T_1, T_2, usw um... das macht zwar keinen unterschied... fixt nix oder sonstwas... aber du hast dann weniger Warnungen usw... Weil der Compiler Mit _T_ Arbeitet...

 

6. In deinem LPCB Device fehlt noch ne _DSM Methode, sollte ungefähr so aussehen:

Method (_DSM, 4, NotSerialized)
                {
                    Store (Package (0x02)
                    {
                        "device-id",
                        Buffer (0x04)
                        {
                            0x44, 0x1E, 0x00, 0x00
                        }
                    }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }

7. Dann kannst du deinem SAT0 Device das hier dazumachen, das ist nur optisch... Dann steht da statt Generic AHCI etc... Intel 8 Series AHCI...

Method (_DSM, 4, NotSerialized)
            {
                If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }
                Return (Package()
                {
                    "device-id", Buffer() { 0x03, 0x8c, 0x00, 0x00 },
                    "compatible", Buffer() { "pci8086,8c03" },
                    "IOName", Buffer() { "pci8086,8c03" },
                    "name", Buffer() { "pci8086,8c03" },
                })
            }

8. Adde mal unter _SB ---> PCI0 ganz oben, direkt am ende davon, nach allen devices, das hier dazu:

Device (MCHC)
            {
                Name (_ADR, Zero)
            }

Das ist für den intel Dram Controller!

 

 

9. Du kannst auch SAT0 in SATA umbenennen, bringt zwar nicht viel, in manchen fällen gibts aber probleme mit SAT0...

 

Ansonsten passt eigentlich alles in deiner DSDT... Dein _PTS sie auch irgendwie ziemlich kompliziert aus...

Ich glaube du hast einfach zuviele patches drüber laufen lassen... Das ist echt nicht immer gut...

Vor allem wenn mann nicht weis, was die patches tun... Oder wofür die da sind...

 

 

Fix erstmal alles was ich dir geschrieben habe, dann wird sich dein Laptop schon ganz anders anfühlen :-)

 

PS: Aber gute arbeit hast du gemacht, bis auf die komischen patches, das was du per hand gemacht hast ist gut...

z.B. Alle ssdts mit der dsdt gesynct... oder wichtige teile von den ssdts in die dsdt geschoben! Und sogar die Externals korrigiert :-)

Also bist du schonmal kein noob :-)

 

-------------------

 

Im sorry for the german posts here :-)

 

The next ones are all in english! :-)

 

Cheers :-)



#15
Demonbane

Demonbane

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 132 posts

Hallo Ramalama, Gruß!

 

i have a same laptop with chenkj918 and same shutdown problem, but it's not as you said, the codes in _PTS is actually indeed so complicated... i've checked your dsdt and found it's really simple! have you probably edited it or cut anything down?

 

maybe, can i also cut down some useless sh!ts like yours?



#16
Ramalama

Ramalama

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 230 posts
  • Gender:Not Telling
  • Location:Germany

I just added:

If (LEqual (Arg0, 0x05)) {} Else {

on top, and a "}" on buttom...

 

Everything else is Original Code...

 

Just for interest, which OSX Version are you using?

 

Cheers :-)



#17
Demonbane

Demonbane

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 132 posts

I just added:

If (LEqual (Arg0, 0x05)) {} Else {

on top, and a "}" on buttom...

 

Everything else is Original Code...

 

Just for interest, which OSX Version are you using?

 

Cheers :-)

 

have already tried that but it didn't work for me :( OSX Version: 10.9.1



#18
Ramalama

Ramalama

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 230 posts
  • Gender:Not Telling
  • Location:Germany

You can leave it, its better to have it in, it doesn't breaks anything :-)

 

I can just tell how its for me:

With OSX 10.9 / 10.9.1, sleep and wake is working fine for me

With OSX 10.9.1 (13B42+) (Anything newer as 13B42), 10.9.2... sleep isn't working for me...

 

I didn't found out why, but its how its for me atm...

 

Cheers :-)



#19
Demonbane

Demonbane

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 132 posts

really? i would have a try! Trotzdem danke!



#20
wölkchen

wölkchen

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts

Hi Ramalama,

 

beim Versuch Mavericks auf meinem UX301LA (i7 4558U) scheitere ich, trotz genauem befolgen deiner Anleitung immer beim Bootvorgang des Installers. Ich komme bis zu einem grauen Bildschirm mit drehendem Cursor in der linken oberen Ecke. Hast du eine Idee, wie man das Problem beheben kann?

 

Danke für deine Mühe

 

-------------------------------------------------------------------------------------------------------------------------------------------------------------------

 

Hi Ramalama,

 

while booting my created Install Drive I get a grey screen with spinning cursor in upper left corner. I cannot pass it.

Any ideas how to fix it?

 

Thx







Also tagged with one or more of these keywords: UX301, UX301LA, Haswell, Github, Guide, Developement


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy