View Single Post
  #3   (View Single Post)  
Old 1st February 2023
fvgit's Avatar
fvgit fvgit is offline
Spikes in tights
 
Join Date: May 2016
Location: perl -MMIME::Base64 -le 'print decode_base64("U2hlcndvb2QgRm9yZXN0")'
Posts: 314
Default

An alternative method to obsdfreqd (if you compile the kernel from source) was outlined by OpenBSD developer Stuart Henderson:
Quote:
Other than obsdfreqd there's a 1-line change in sys/kern/sched_bsd.c some of us use instead, I think it's better done in the kernel than by running by an extra program - change "if (hw_power) {" to "if (0 && hw_power) {".
Though, if you're a newbie you're probably better served following nipos' suggestion and using obsdfreqd from the ports collection.