Contribute
Register

Cannot apply DSDT patch on Asus Zenbook Laptop

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

Last edited:

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,974
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
MacBook Air
Mobile Phone
iOS
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)
                    }
 

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

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,974
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
MacBook Air
Mobile Phone
iOS
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).
 

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
My touchpad is not working, I have tried VoodooI2CELAN, VoodooI2C and VoodooI2CHID kext but none of them works.
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,974
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
MacBook Air
Mobile Phone
iOS
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.
 
Top