the-braveknight
Moderator
- Joined
- Nov 24, 2015
- Messages
- 1,220
- Motherboard
- Lenovo Legion Y520 (Clover)
- CPU
- i7-7700HQ
- Graphics
- HD 630 (1920x1080) + Nvidia GTX 1060
- Mac
- Mobile Phone
I did that too, and verified that _REG is being called.Start by replacing _REG with a version that just calls XREG only.
And verify your _REG is being called by using ACPIDebug.
Wrong scope how? My original _REG method is located at _SB.PCI0.LPCB.EC0._REG, and so is the _REG method in SSDT-NVDA.It means your _REG method has been placed in the wrong scope.
I don't know how that is done, but I'm attaching my SSDTs for you to check.It implies you have coded an order dependency between those two SSDTs.
In conclusion, my SSDT-NVDA which contains a modified _OFF method, and a modified _REG method works just fine. The only problem is that for some unknown reason, the _REG code in SSDT-NVDA does not work (_REG cannot be reached) when the SSDT is loaded after SSDT-BATT, the _OFF related code in SSDT-NVDA still works though, and with the _REG method unreachable, my _Qxx methods are broken too, that's all what's it about.
I don't know if there is an order dependency between my SSDTs and how I could find out, I hope you can take a look and see... Maybe it has something to do with both SSDTs have access to EC? I don't really know... but I don't want to use SortedOrder in my config.plist, I might need to do it though...
I hope you can take a look and give me some clues/info.
Thanks.