- Joined
- Dec 31, 2016
- Messages
- 19
- Motherboard
- XiaoMi 4
- CPU
- Intel I5-6300HQ
- Graphics
- HD530 & GTX960M(HDMI is dedicated to the Nvidia)
- Mobile Phone
So... let's look at the call sequence.
ACEL.ADJT is called from ACEL.INIT.
ACEL.INIT is called from EC0.ECMI.
And ECMI is called from EC0._REG.
In other words, ACEL.INIT is part of EC initialization (_REG announces the availability of the host EC driver).
Your change was to re-order some manipulations in INIT. The most significant part would be moving the store to PLGS from before the Sleep to after.
That Sleep for 3000 ms (3 sec) is very very long... (borders on ridiculous).
I think the ACPI interpreter in macOS may be likely to timeout during the _REG call with a 3 second sleep in there, as it is probably longer than they allow for an ACPI call to complete. It would timeout during the Sleep-op, so other code after that would just fail to run.
You might try reducing the duration of the Sleep, or eliminating the call to ACEL.INIT from ECMI completely.
Wow,Thx! I'll have a try according to your advice.