How To fix GNVS Object Does Not Exist Error in DSDT Patching

Hello, in this post i will share you how to fix “Object does not exist (GNVS)” error when compiling DSDT Patching. In this case, i used to apply patch to fixing backlight manual on hackintosh Thinkpad L490. Actually, the function key is working with YogaSMC. But, i found an issue for the function key after wake up from S3 Sleep. So i tried to fixing the backlight from rehabman guide on this thread. Unfortunatelly, the guide didn’t fix the function key issue after wake up from S3 Sleep. But in this post i just want to share how to fix the error, not for fixing those issue. Because when i searching arround google, it’s hard to find how to fix the error when compiling DSDT patching. Here what’s we gonna do (DWYOR).

First, you will get error like this

when you go to line 317 which my GNVS location, you will see this

Let’s look closer between line 310-317. You will see the code like this


Name (SS1, 0x00)
Name (SS2, 0x00)
Name (SS3, One)
One
Name (SS4, One)
One
OperationRegion (GNVS, SystemMemory, 0x8A21F000, 0x07FE)
Field (GNVS, AnyAcc, Lock, Preserve)

The solution is just add double slash (//) before the double “One” line like this


Name (SS1, 0x00)
Name (SS2, 0x00)
Name (SS3, One)
//One
Name (SS4, One)
//One
OperationRegion (GNVS, SystemMemory, 0x8A21F000, 0x07FE)
Field (GNVS, AnyAcc, Lock, Preserve)

Finally, try to compile again and save. Hwala, problem solved. Remember, the location of your GNVS might be different with me. Have a good day!

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.