Contribute
Register

[HELP] ASUS ZenBook UX330UAR DSDT

Status
Not open for further replies.
Joined
Jun 12, 2017
Messages
55
Motherboard
ASUSTeK UX330UAR
CPU
i5-8250U
Graphics
UHD 620
Mac
  1. Mac Pro
Classic Mac
  1. iMac
  2. SE
Mobile Phone
  1. iOS
My laptop's specification:
ASUS ZenBook UX330UAR
Intel Core i5-8250U
Intel UHD Graphics 620
macOS High Sierra 10.13.6

Hello, I'm trying to get macOS High Sierra working on my laptop, however I have acquired all of the kexts to make everything load, but when I go to patch the DSDT/SSDT, the patches don't seem to apply. I have provided the following .dsl, .aml and patches in a zip file below, but I am using this guide (I know it says UX330UAK but they're I believe essentially the same, just a core bump.) Could someone help me out? I got to the point of the SSDT-5.dsl in MaciASL (Patched with iasl 6.2) when a syntax error had erupted. Is this causing problems or are these patches old or won't work for my device? Any help I can get is appreciated.

EDIT: Everything works except the things I want to patch, such as the Battery Indicator, FN keys for my device, Brightness Control and MAYBE a Keyboard Backlight. I'm new at this and have read the Beginner Guides but don't know what to do now.
 

Attachments

  • UX330UAR.zip
    194.1 KB · Views: 80
My laptop's specification:
ASUS ZenBook UX330UAR
Intel Core i5-8250U
Intel UHD Graphics 620
macOS High Sierra 10.13.6

Hello, I'm trying to get macOS High Sierra working on my laptop, however I have acquired all of the kexts to make everything load, but when I go to patch the DSDT/SSDT, the patches don't seem to apply. I have provided the following .dsl, .aml and patches in a zip file below, but I am using this guide (I know it says UX330UAK but they're I believe essentially the same, just a core bump.) Could someone help me out? I got to the point of the SSDT-5.dsl in MaciASL (Patched with iasl 6.2) when a syntax error had erupted. Is this causing problems or are these patches old or won't work for my device? Any help I can get is appreciated.

EDIT: Everything works except the things I want to patch, such as the Battery Indicator, FN keys for my device, Brightness Control and MAYBE a Keyboard Backlight. I'm new at this and have read the Beginner Guides but don't know what to do now.

No need to patch SSDT-5, so why are you attempting to compile it?

See guide:
https://www.tonymacx86.com/threads/guide-patching-laptop-dsdt-ssdts.152573/

Hint: Your profile indicates only Intel graphics, so no need to put any OEM SSDTs (patched or not) in ACPI/patched.
 
So the only thing I need to patch is the DSDT?

Assuming your profile is accurate (no second graphics device), yes.

Would that make it work at that point just leaving the SSDTs alone?

No idea what you mean by "it".
 
Assuming your profile is accurate (no second graphics device), yes.



No idea what you mean by "it".

The patches, even with the DSDT patched the exact way specified in the guide nothing would take affect when placing the patched DSDT.aml in the ACPI/patched folder. As I didn't gain a battery indication even though the patch I used supports the UX330UA, the FN keys still refused to work even though the keyboard layout is identical to the one which worked for the UX330UAK, and the Brightness was still non-functional due to the IGPU patch not working and the FN keys being useless. At this point idc about the Backlit Keyboard, I knew that would be hit or miss but I at least need those features.

I'm just trying to troubleshoot why nothing took affect when I put the files in Clover.
 
The patches, even with the DSDT patched the exact way specified in the guide nothing would take affect when placing the patched DSDT.aml in the ACPI/patched folder. As I didn't gain a battery indication even though the patch I used supports the UX330UA, the FN keys still refused to work even though the keyboard layout is identical to the one which worked for the UX330UAK, and the Brightness was still non-functional due to the IGPU patch not working and the FN keys being useless. At this point idc about the Backlit Keyboard, I knew that would be hit or miss but I at least need those features.

I'm just trying to troubleshoot why nothing took affect when I put the files in Clover.

No "Problem Reporting" files attached.
Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
Use the gen_debug.sh tool mentioned in the FAQ, that way it is less likely you'll omit something.
 
@RehabMan I'm going to try this over again, I think I patched everything wrong. HOWEVER I go to do the first command with IASL`./iasl -da -dl -fe refs.txt DSDT.aml SSDT-*.aml`and I immediately get a Segmentation Fault.

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

Input file DSDT.aml, Length 0x2B663 (177763) bytes
ACPI: DSDT 0x0000000000000000 02B663 (v02 _ASUS_ Notebook 01072009 INTL 20160422)
External object resolution file SSDT-6.aml
Input file SSDT-6.aml, Length 0x517 (1303) bytes
ACPI: SSDT 0x0000000000000000 000517 (v02 INTEL TbtTypeC 00000000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-5.aml
Input file SSDT-5.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.aml
Input file SSDT-4.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.aml
Input file SSDT-3.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.aml
Input file SSDT-2.aml, Length 0x3147 (12615) bytes
ACPI: SSDT 0x0000000000000000 003147 (v02 SaSsdt SaSsdt 00003000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-1.aml
Input file SSDT-1.aml, Length 0x5ECD (24269) bytes
ACPI: SSDT 0x0000000000000000 005ECD (v02 DptfTa DptfTabl 00001000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-0.aml
Input file SSDT-0.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
 
@RehabMan I'm going to try this over again, I think I patched everything wrong. HOWEVER I go to do the first command with IASL`./iasl -da -dl -fe refs.txt DSDT.aml SSDT-*.aml`and I immediately get a Segmentation Fault.

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

Input file DSDT.aml, Length 0x2B663 (177763) bytes
ACPI: DSDT 0x0000000000000000 02B663 (v02 _ASUS_ Notebook 01072009 INTL 20160422)
External object resolution file SSDT-6.aml
Input file SSDT-6.aml, Length 0x517 (1303) bytes
ACPI: SSDT 0x0000000000000000 000517 (v02 INTEL TbtTypeC 00000000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-5.aml
Input file SSDT-5.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.aml
Input file SSDT-4.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.aml
Input file SSDT-3.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.aml
Input file SSDT-2.aml, Length 0x3147 (12615) bytes
ACPI: SSDT 0x0000000000000000 003147 (v02 SaSsdt SaSsdt 00003000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-1.aml
Input file SSDT-1.aml, Length 0x5ECD (24269) bytes
ACPI: SSDT 0x0000000000000000 005ECD (v02 DptfTa DptfTabl 00001000 INTL 20160422)
Pass 1 parse of [SSDT]
Pass 2 parse of [SSDT]
External object resolution file SSDT-0.aml
Input file SSDT-0.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

You forgot to attach the files you're disassembling.

Note: It is not likely you need refs.txt. Using it when not needed is a mistake. Try without -fe refs.txt.
 
You forgot to attach the files you're disassembling.

Note: It is not likely you need refs.txt. Using it when not needed is a mistake. Try without -fe refs.txt.

At that point it worked. Okay so one out of two. I followed your guide earlier today, adding all of the recommended DSDT patches, became very confused with the SSDT patches, and now my system doesn't boot. I used a USB Drive with Clover to get into macOS and honestly at this point, I'm so confused. Does the SSDT need to be patched? I'm following a guide on YouTube (Since I'm more of a visual learner and SSDT-5 is still giving me those problems described before.

EDIT: This is at the point I'm at, used IASL and have the patches for my use and the files ready.
 

Attachments

  • Patch.zip
    201.7 KB · Views: 58
Last edited:
@RehabMan
Current problem:
Line Code Message
10648 6126 syntax error, unexpected PARSEOP_NAMESEG
10651 6126 syntax error, unexpected PARSEOP_NAMESEG
10654 6126 syntax error, unexpected PARSEOP_NAMESEG

Seems to have something to do with _WAK? I applied the v2 patch.....
 

Attachments

  • DSDT.dsl
    1.3 MB · Views: 193
Last edited:
Status
Not open for further replies.
Back
Top