mirror of
https://github.com/AdnanHodzic/auto-cpufreq.git
synced 2025-07-27 07:34:25 +02:00
disabled driver_check for monitor
This commit is contained in:
parent
f02ba0cc6d
commit
9a4a695c40
@ -135,7 +135,9 @@ def driver_check():
|
|||||||
driver = s.getoutput("cpufreqctl --driver")
|
driver = s.getoutput("cpufreqctl --driver")
|
||||||
if driver != "intel_pstate":
|
if driver != "intel_pstate":
|
||||||
print("\n" + "-" * 32 + " Driver check " + "-" * 33 + "\n")
|
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
|
# check for necessary scaling governors
|
||||||
def gov_check():
|
def gov_check():
|
||||||
@ -414,7 +416,7 @@ def cli(monitor, live, daemon, log):
|
|||||||
if monitor:
|
if monitor:
|
||||||
while True:
|
while True:
|
||||||
log_check()
|
log_check()
|
||||||
driver_check()
|
#driver_check()
|
||||||
gov_check()
|
gov_check()
|
||||||
sysinfo()
|
sysinfo()
|
||||||
mon_autofreq()
|
mon_autofreq()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user