I don't believe Clover handles the same property in different ways. The question: does Clover check for S/L/E/FakeSMC.kext. The answer, Clover does not/cannot check anything in S/L/E. Clover has finished when the User selects the partition (/S/L/E) to "boot."
The statement/GUI/Custom:"... if FakeSMC is not present in KernelCache or /S/L/E. " is not valid.
Valid/SystemParameter: "... if FakeSMC is not present in the kernelcache."
Valid and correct: "... if FakeSMC is not present in the kextcache."
Hi
@toleda Thank you for your explanation with which I can completely identify myself. What this boils down to is that one should not rely upon what the Clover WiKi is trying to convey to the user that wants to broaden his knowledge/horizon
Sad state of affairs indeed.
My original problem is however not solved yet, even though I now totally agree with your statement "Valid/SystemParameter: "... if FakeSMC is not present in the kernelcache."
We can thus have a number of scenarios, that compels me to adjust my original interpretation and or understanding as follows:
FakeSMC not present in kernelcache.
To me this means that kexts will be loaded from "/Clover/Kexts/other" irrespective of whether the "InjectKexts" parameter is set to "Yes" or "Detect". Duplicate kexts that are also in kernelcache will be ignored.
FakeSMC present in kernelcache. "InjectKexts Yes"
To me this means that kexts will be loaded from "/Clover/Kexts/other" when the "InjectKexts" parameter is set to "Yes". Duplicate kexts that are also in kernelcache will be ignored.
FakeSMC present in kernelcache. "InjectKexts Detect"
To me this means that kexts will be loaded from kernelcache when the "InjectKexts" parameter is set to "Detect" Duplicate kexts that are also in "/Clover/Kexts/other" will be ignored.
The original problem revisited:
Provided my above interpretations are correct now, and it is my intention to load all my kexts from kernelcache, after having ascertained that FakeSMC is indeed present in kernelcache and "injectKexts was verified to be set to "Detect" I am ready to go. FakeSMC, Lilu, shiki, realtekALC as well as nvidiagraphicsfixup kexts, that are all in kernelcache as well as in /Clover/Kexts/other, will be loaded from kernelcache, the duplicate kexts in /Clover/Kextx/other will be ignored.
When I now run the "audio_cloverALC-130_v0.4.command" script, the hard coded "injectKexts Yes" of that script overrides my "InjectKexts Detect", to "Yes". During the reboot, after the script completed its routines, all kexts will now be loaded from /Clover/Kexts/other and the duplicates in kernelcache will be ignored. For Skylake
in combination with High Sierra an undesirable situation.
To prevent that happening I reset the "InjectKexts" parameter from the scripts's "Yes" to "Detect" , and with Kextbeast copy the newly generated realtekALC.kext to /L/E then run "sudo kextcache -i /" to get the cache updated after the copy operation. Only when I completed all that after your script in turn completed its routines will I restart the computer with the knowledge that kexts will indeed now be loaded from kernelcache.
I can off cause circumvent all the extra steps I am applying after your script has completed running, by just modifying your script and that is then dusted and done with, but I am also considering many other users that are suffering from "Random reboots" during and after sleep, which appears to be related to kexts not being loaded from kernelcache. My random reboots and system lockups, during or immediately after waking from sleep, seem to have vanished after I started applying the extra steps I eluded upon, earlier.
@RehabMan is also advising users that ask him for assistance in resolving the random reboot lockup problem during and shortly after sleep, to set "injectKexts" to "Detect"
I subsequently also adopted
@RehabMan 's advice which seemed to fix the sleep problem with my rig, albeit only temporarily, and until I discovered that my "InjectKext Detect" gets overridden by the "audio_cloverALC-130_v0.4.command" script.
Presently my rig has been sleeping for just over 2 days without any sleep problems, a period already longer than I am used to.
Once again I would appreciate your valued comments.
Thanks Henties