Contribute
Register

Cannot apply DSDT patch on Asus Zenbook Laptop

Status
Not open for further replies.

s3d

Joined
Apr 18, 2018
Messages
3
Motherboard
ASUS ZenBook UX330UA - Clover EFI
CPU
Intel Core i5 7200U 2.7GHz
Graphics
Integrated Intel HD Graphics 520

Attachments

  • DSDT.dsl
    1.3 MB · Views: 95
Last edited:
Hello, I have installed Mojave 10.14 and followed the following guide and disassembled the files:
https://www.tonymacx86.com/threads/guide-patching-laptop-dsdt-ssdts.152573/

but when compiling the DSDT.dsl file, getting the following error:

illegal forward reference (GALS)

please help, thanks.

(file attached below)

Not a desktop. Moved to laptop support.

Easy fix... move GALS method to beginning of WMNB method:
Code:
            Method (WMNB, 3, Serialized)
            {
// moved from below...
                    Method (GALS, 0, NotSerialized)
                    {
                        Store (Zero, Local0)
                        Or (Local0, 0x20, Local0)
                        If (ALAE)
                        {
                            Or (Local0, 0x10, Local0)
                        }

                        Store (0x0A, Local1)
                        ShiftLeft (Local1, 0x08, Local1)
                        Or (Local0, Local1, Local0)
                        Return (Local0)
                    }
 
Thanks for your reply, fixed previous error, but now getting error when trying to patch keyboard backlight fix:
Object is not available from this scope (PWKB)

Also, touchpad is not working, I have tried VoodooI2CELAN and VoodooI2C kext but both not working.
 

Attachments

  • DSDT.dsl
    1.3 MB · Views: 68
Thanks for your reply, fixed previous error, but now getting error when trying to patch keyboard backlight fix:
Object is not available from this scope (PWKB)

Also, touchpad is not working, I have tried VoodooI2CELAN and VoodooI2C kext but both not working.

If a patch you applied causes an error, problem is in the patch (patch has a bug, or is not appropriate for your hardware).
 
My touchpad is not working, I have tried VoodooI2CELAN, VoodooI2C and VoodooI2CHID kext but none of them works.
 
My touchpad is not working, I have tried VoodooI2CELAN, VoodooI2C and VoodooI2CHID kext but none of them works.

The I2C guide is linked from the FAQ.
Best to address your issue there.
 
Status
Not open for further replies.
Back
Top