syscl / CPUTune

An open source kernel extension enables dynamic CPU performance tuning at runtime for macOS.
162 stars 36 forks source link

CPUTuneCore.kext stops working after entering sleep mode #32

Open joemac90an opened 3 years ago

joemac90an commented 3 years ago

Hi, I have a MacBook Pro 13, Retina 2012, with broken lcd temp sensor and kernel task fault I removed IOPlatform file and ran CPUTuneCore.kext (in /library/extensions/), getting back cores from 1.2ghz to normal 2.3ghz, and it works fine when booting up the computer The problem is when I close the laptop (sleep mode), after wake up, cores are back to 1.2ghz, so I have to run again the .kext in the terminal (for example with kextunload and after kextload) to get them back to 2.3ghz Is there a way to keep the .kext working even when sleep/wake? Thanks in advance!

joemac90an commented 3 years ago

Hi, I solved by myself, you just have to run on terminal: echo 1>/tmp/CPUTuneProcHotRT.conf

To make it already loaded from first run, I converted this command to an app with automator, and copied it on "startup items" on preferences, users.