From a19dbc5baaf54a12d35c5f2780b2ca56cd8796e9 Mon Sep 17 00:00:00 2001 From: Adnan Hodzic Date: Thu, 2 Jan 2020 13:19:25 +0100 Subject: [PATCH] disabled driver_check for monitor --- auto-cpufreq.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/auto-cpufreq.py b/auto-cpufreq.py index d9474e9..4fe7298 100755 --- a/auto-cpufreq.py +++ b/auto-cpufreq.py @@ -135,7 +135,9 @@ def driver_check(): driver = s.getoutput("cpufreqctl --driver") if driver != "intel_pstate": print("\n" + "-" * 32 + " Driver check " + "-" * 33 + "\n") - sys.exit("ERROR:\n\n\"intel_pstate\" CPU Performance Scaling Driver is not enabled.\n") + print("ERROR:\n\n\"intel_pstate\" CPU Performance Scaling Driver is not enabled.\n") + footer(79) + sys.exit() # check for necessary scaling governors def gov_check(): @@ -414,7 +416,7 @@ def cli(monitor, live, daemon, log): if monitor: while True: log_check() - driver_check() + #driver_check() gov_check() sysinfo() mon_autofreq()