Contribute
Register

[Guide] ASUS Zenbook UX310UA (& UX310UQK) macOS Mojave / Catalina with Clover (& Big Sur / Monterey using OpenCore EFI) Installation Guide

Status
Not open for further replies.
Hi,

Did anyone get the battery status working on menu bar for High Sierra? It seems Sierra does not have such problem.
 
If anyone is trying to get VoodooI2C 2.0.1 working for their trackpad and having a problem after following the GPIO pinning steps, try 0x51. Following the steps, I got 6D/0x55 which didn't work. 0x51 got everything working

Hi mpmclaugh, does your power management still work after this change? As my cpu usage bumps up to 100% after this change.
 
OMG! So frustrating!!
I've grabbed my DSDT files, etc from Clover via the F4 method, but every time I go to recompile with the patches, I'm always receiving "syntax error, unexpected $end and premature End-Of-File" at the end of the file. Like line 32974!
I can't find the mismatched bracket and my eyes are ready to fall out.
Answer: Yes! I've tried grabbing the files from Clover several times. Always with the same error. I've even changed Clover versions several times/reinstalls/etc. Gone through RehabMan's laptop guide multiple times too.
Any code guru can point me to a script or program that can give me a better idea of where to find the mismatched bracket???
I can upload my DSDT file here if someone wants to take a crack at it, but I'd like to learn how to find these errors myself as well for future use.
BTW: My profile states a Gigabyte board and it works as advertised, but I'm trying to get my Asus ux310u Zenbook going too.
Thanks in advance :)
 
OMG! So frustrating!!
I've grabbed my DSDT files, etc from Clover via the F4 method, but every time I go to recompile with the patches, I'm always receiving "syntax error, unexpected $end and premature End-Of-File" at the end of the file. Like line 32974!
I can't find the mismatched bracket and my eyes are ready to fall out.
Answer: Yes! I've tried grabbing the files from Clover several times. Always with the same error. I've even changed Clover versions several times/reinstalls/etc. Gone through RehabMan's laptop guide multiple times too.
Any code guru can point me to a script or program that can give me a better idea of where to find the mismatched bracket???
I can upload my DSDT file here if someone wants to take a crack at it, but I'd like to learn how to find these errors myself as well for future use.
BTW: My profile states a Gigabyte board and it works as advertised, but I'm trying to get my Asus ux310u Zenbook going too.
Thanks in advance :)
As per rules, please update your hardware profile to allow others to help you easier
https://www.tonymacx86.com/account/

Read FAQ, "Problem Reporting"
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/

Upload your "problem reporting" files here

Use the gen_debug.sh tool mentioned in the FAQ
 
Hi guys,
I have the Asus ZenBook UX310UA, change the hard drive for an SSD and the wifi card for the DW1560.
Start with the tutorial and install MacOS High Sierra 10.13.5 and I have had enough problems
1. Copy the EFI folder from the boot disk and place it in the EFI partition to boot without a boot disk. With the steps indicated in this guide it was impossible for me
2. I have problems with Step 9, I manage to build the file DSDT.aml and I try to do this "iasl -da -dl -fe refs.txt DSDT.aml SSDT * .aml" and I get these errors:
iasl -da -dl -fe refs.txt DSDT.aml SSDT*.aml

Intel ACPI Component Architecture
ASL+ Optimizing Compiler/Disassembler version 20180427(RM)
Copyright (c) 2000 - 2018 Intel Corporation

Input file DSDT.aml, Length 0x2C013 (180243) bytes
ACPI: DSDT 0x0000000000000000 02C013 (v02 _ASUS_ Notebook 01072009 INTL 20180427)
External object resolution file SSDT-x3_6-HwpLvt.aml
Input file SSDT-x3_6-HwpLvt.aml, Length 0x1A4 (420) bytes
ACPI: SSDT 0x0000000000000000 0001A4 (v02 PmRef HwpLvt 00003000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-x3_5-ApHwp.aml
Input file SSDT-x3_5-ApHwp.aml, Length 0x197 (407) bytes
ACPI: SSDT 0x0000000000000000 000197 (v02 PmRef ApHwp 00003000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-x3_4-Cpu0Hwp.aml
Input file SSDT-x3_4-Cpu0Hwp.aml, Length 0x115 (277) bytes
ACPI: SSDT 0x0000000000000000 000115 (v02 PmRef Cpu0Hwp 00003000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-x3_3-ApCst.aml
Input file SSDT-x3_3-ApCst.aml, Length 0x18A (394) bytes
ACPI: SSDT 0x0000000000000000 00018A (v02 PmRef ApCst 00003000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-x3_2-Cpu0Cst.aml
Input file SSDT-x3_2-Cpu0Cst.aml, Length 0x3FF (1023) bytes
ACPI: SSDT 0x0000000000000000 0003FF (v02 PmRef Cpu0Cst 00003001 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-x3_1-ApIst.aml
Input file SSDT-x3_1-ApIst.aml, Length 0x65C (1628) bytes
ACPI: SSDT 0x0000000000000000 00065C (v02 PmRef ApIst 00003000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-x3_0-Cpu0Ist.aml
Input file SSDT-x3_0-Cpu0Ist.aml, Length 0x6F6 (1782) bytes
ACPI: SSDT 0x0000000000000000 0006F6 (v02 PmRef Cpu0Ist 00003000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-9-SgPch.aml
Input file SSDT-9-SgPch.aml, Length 0x829 (2089) bytes
ACPI: SSDT 0x0000000000000000 000829 (v02 SgRef SgPch 00001000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-8-SgUlt.aml
Input file SSDT-8-SgUlt.aml, Length 0x39B (923) bytes
ACPI: SSDT 0x0000000000000000 00039B (v02 SgRef SgUlt 00001000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-7-UsbCTabl.aml
Input file SSDT-7-UsbCTabl.aml, Length 0x10B0 (4272) bytes
ACPI: SSDT 0x0000000000000000 0010B0 (v02 _ASUS_ UsbCTabl 00001000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-6-TbtTypeC.aml
Input file SSDT-6-TbtTypeC.aml, Length 0x50D (1293) bytes
ACPI: SSDT 0x0000000000000000 00050D (v02 INTEL TbtTypeC 00000000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-5-sensrhub.aml
Input file SSDT-5-sensrhub.aml, Length 0x29F (671) bytes
ACPI: SSDT 0x0000000000000000 00029F (v02 INTEL sensrhub 00000000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-4-HdaDsp.aml
Input file SSDT-4-HdaDsp.aml, Length 0x141 (321) bytes
ACPI: SSDT 0x0000000000000000 000141 (v02 INTEL HdaDsp 00000000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-3-CpuSsdt.aml
Input file SSDT-3-CpuSsdt.aml, Length 0xEDE (3806) bytes
ACPI: SSDT 0x0000000000000000 000EDE (v02 CpuRef CpuSsdt 00003000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-2-SaSsdt.aml
Input file SSDT-2-SaSsdt.aml, Length 0x3164 (12644) bytes
ACPI: SSDT 0x0000000000000000 003164 (v02 SaSsdt SaSsdt 00003000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-10-OptTabl.aml
Input file SSDT-10-OptTabl.aml, Length 0x1F39 (7993) bytes
ACPI: SSDT 0x0000000000000000 001F39 (v01 OptRef OptTabl 00001000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-1-DptfTabl.aml
Input file SSDT-1-DptfTabl.aml, Length 0x5E76 (24182) bytes
ACPI: SSDT 0x0000000000000000 005E76 (v02 DptfTa DptfTabl 00001000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-0-SataTabl.aml
Input file SSDT-0-SataTabl.aml, Length 0x359 (857) bytes
ACPI: SSDT 0x0000000000000000 000359 (v01 SataRe SataTabl 00001000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
refs.txt: Importing method external (1 arguments) MDBG
refs.txt: Importing method external (0 arguments) _GPE.MMTB
refs.txt: Importing method external (2 arguments) _SB.PCI0.LPCB.H_EC.ECWT
refs.txt: Importing method external (1 arguments) _SB.PCI0.LPCB.H_EC.ECRD
refs.txt: Importing method external (1 arguments) _SB.PCI0.LPCB.H_EC.ECMD
refs.txt: Importing method external (2 arguments) _SB.PCI0.PEG0.PEGP.SGPO
refs.txt: Importing method external (1 arguments) _SB.PCI0.GFX0.DD02._BCM
refs.txt: Importing method external (4 arguments) _SB.PCI0.SAT0.SDSM
refs.txt: Importing method external (3 arguments) _GPE.VHOV
refs.txt: Importing method external (2 arguments) _SB.PCI0.XHC.RHUB.TPLD
iASL: Segmentation Fault
iASL: Terminating


I'm using ALL the SSDTs in the origin folder. I attach my DSDT and SSDT files
Please help me
Greetings from Santiago de Chile
 

Attachments

  • folder.zip
    70.7 KB · Views: 184
Hi guys,
I have the Asus ZenBook UX310UA, change the hard drive for an SSD and the wifi card for the DW1560.
Start with the tutorial and install MacOS High Sierra 10.13.5 and I have had enough problems
1. Copy the EFI folder from the boot disk and place it in the EFI partition to boot without a boot disk. With the steps indicated in this guide it was impossible for me
2. I have problems with Step 9, I manage to build the file DSDT.aml and I try to do this "iasl -da -dl -fe refs.txt DSDT.aml SSDT * .aml" and I get these errors:
iasl -da -dl -fe refs.txt DSDT.aml SSDT*.aml

Intel ACPI Component Architecture
ASL+ Optimizing Compiler/Disassembler version 20180427(RM)
Copyright (c) 2000 - 2018 Intel Corporation

Input file DSDT.aml, Length 0x2C013 (180243) bytes
ACPI: DSDT 0x0000000000000000 02C013 (v02 _ASUS_ Notebook 01072009 INTL 20180427)
External object resolution file SSDT-x3_6-HwpLvt.aml
Input file SSDT-x3_6-HwpLvt.aml, Length 0x1A4 (420) bytes
ACPI: SSDT 0x0000000000000000 0001A4 (v02 PmRef HwpLvt 00003000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-x3_5-ApHwp.aml
Input file SSDT-x3_5-ApHwp.aml, Length 0x197 (407) bytes
ACPI: SSDT 0x0000000000000000 000197 (v02 PmRef ApHwp 00003000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-x3_4-Cpu0Hwp.aml
Input file SSDT-x3_4-Cpu0Hwp.aml, Length 0x115 (277) bytes
ACPI: SSDT 0x0000000000000000 000115 (v02 PmRef Cpu0Hwp 00003000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-x3_3-ApCst.aml
Input file SSDT-x3_3-ApCst.aml, Length 0x18A (394) bytes
ACPI: SSDT 0x0000000000000000 00018A (v02 PmRef ApCst 00003000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-x3_2-Cpu0Cst.aml
Input file SSDT-x3_2-Cpu0Cst.aml, Length 0x3FF (1023) bytes
ACPI: SSDT 0x0000000000000000 0003FF (v02 PmRef Cpu0Cst 00003001 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-x3_1-ApIst.aml
Input file SSDT-x3_1-ApIst.aml, Length 0x65C (1628) bytes
ACPI: SSDT 0x0000000000000000 00065C (v02 PmRef ApIst 00003000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-x3_0-Cpu0Ist.aml
Input file SSDT-x3_0-Cpu0Ist.aml, Length 0x6F6 (1782) bytes
ACPI: SSDT 0x0000000000000000 0006F6 (v02 PmRef Cpu0Ist 00003000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-9-SgPch.aml
Input file SSDT-9-SgPch.aml, Length 0x829 (2089) bytes
ACPI: SSDT 0x0000000000000000 000829 (v02 SgRef SgPch 00001000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-8-SgUlt.aml
Input file SSDT-8-SgUlt.aml, Length 0x39B (923) bytes
ACPI: SSDT 0x0000000000000000 00039B (v02 SgRef SgUlt 00001000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-7-UsbCTabl.aml
Input file SSDT-7-UsbCTabl.aml, Length 0x10B0 (4272) bytes
ACPI: SSDT 0x0000000000000000 0010B0 (v02 _ASUS_ UsbCTabl 00001000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-6-TbtTypeC.aml
Input file SSDT-6-TbtTypeC.aml, Length 0x50D (1293) bytes
ACPI: SSDT 0x0000000000000000 00050D (v02 INTEL TbtTypeC 00000000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-5-sensrhub.aml
Input file SSDT-5-sensrhub.aml, Length 0x29F (671) bytes
ACPI: SSDT 0x0000000000000000 00029F (v02 INTEL sensrhub 00000000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-4-HdaDsp.aml
Input file SSDT-4-HdaDsp.aml, Length 0x141 (321) bytes
ACPI: SSDT 0x0000000000000000 000141 (v02 INTEL HdaDsp 00000000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-3-CpuSsdt.aml
Input file SSDT-3-CpuSsdt.aml, Length 0xEDE (3806) bytes
ACPI: SSDT 0x0000000000000000 000EDE (v02 CpuRef CpuSsdt 00003000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-2-SaSsdt.aml
Input file SSDT-2-SaSsdt.aml, Length 0x3164 (12644) bytes
ACPI: SSDT 0x0000000000000000 003164 (v02 SaSsdt SaSsdt 00003000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-10-OptTabl.aml
Input file SSDT-10-OptTabl.aml, Length 0x1F39 (7993) bytes
ACPI: SSDT 0x0000000000000000 001F39 (v01 OptRef OptTabl 00001000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-1-DptfTabl.aml
Input file SSDT-1-DptfTabl.aml, Length 0x5E76 (24182) bytes
ACPI: SSDT 0x0000000000000000 005E76 (v02 DptfTa DptfTabl 00001000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-0-SataTabl.aml
Input file SSDT-0-SataTabl.aml, Length 0x359 (857) bytes
ACPI: SSDT 0x0000000000000000 000359 (v01 SataRe SataTabl 00001000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
refs.txt: Importing method external (1 arguments) MDBG
refs.txt: Importing method external (0 arguments) _GPE.MMTB
refs.txt: Importing method external (2 arguments) _SB.PCI0.LPCB.H_EC.ECWT
refs.txt: Importing method external (1 arguments) _SB.PCI0.LPCB.H_EC.ECRD
refs.txt: Importing method external (1 arguments) _SB.PCI0.LPCB.H_EC.ECMD
refs.txt: Importing method external (2 arguments) _SB.PCI0.PEG0.PEGP.SGPO
refs.txt: Importing method external (1 arguments) _SB.PCI0.GFX0.DD02._BCM
refs.txt: Importing method external (4 arguments) _SB.PCI0.SAT0.SDSM
refs.txt: Importing method external (3 arguments) _GPE.VHOV
refs.txt: Importing method external (2 arguments) _SB.PCI0.XHC.RHUB.TPLD
iASL: Segmentation Fault
iASL: Terminating


I'm using ALL the SSDTs in the origin folder. I attach my DSDT and SSDT files
Please help me
Greetings from Santiago de Chile

Your files have no need for refs.txt (they have External opcodes embedded).

Disassembly: iasl -da -dl DSDT.aml SSDT*.aml
 
Your files have no need for refs.txt (they have External opcodes embedded).

Disassembly: iasl -da -dl DSDT.aml SSDT*.aml


Thanks for the prompt response. Execute the command "iasl -da -dl DSDT.aml SSDT * .aml" and for each file aml a file with dsl extension was generated. What should I do with those files?
 
Hello and thanks for the great guide!

Everything's working great except one small issue regarding sleep:

- external usb HDD's are improperly unmounted. I'm currently using a sleepwatcher script to unmount before sleep and mount at wake, but I'd like to know if there is a USB DSDT patch to prevent sleep from completely cutting the power from USB ports

I'm also not very sure wether ALS is working or not. I have the Auto set brightness checkbox in the Monitor PrefPane, but nothing happens if I uncheck it, se brightness to max, and check it back.

Attached are my dsl files and the patched aml's and here are the DSDT patches I applied:


"Fix _WAK Arg0 v2"
"HPET Fix"
"SMBUS Fix"
"IRQ Fix"
"RTC Fix"
"OS Check Fix"
"Fix Mutex with non-zero SyncLevel"
“Audio Layout 3” [audio]
“Asus N55SL/Vivobook” [bat]
“ALS (Haswell)” from Asus DSDT patches
“Fn Brightness Keys” from Asus DSDT patches
“KeyboardBacklight Patch 4”
“NullEthernet”
“Shutdown Fix v2”
 

Attachments

  • dsl.zip
    301.5 KB · Views: 183
  • patched.zip
    115.4 KB · Views: 182
Last edited:
Status
Not open for further replies.
Back
Top