# pkg install git
# git clone https://github.com/lonkamikaze/powerdxx.git# cd powerdxx/# make# make install
# nano /etc/rc.confrc.conf:powerdxx_flags="-a adp -n adp -m 480 -M 1600" # set adaptive mode, min frequency to 480 and max freq to 1600 MHz
# service powerdxx enable# service powerdxx start
cd /tmpwget -O powerdxx.pkg https://pkg.freebsd.org/FreeBSD:13:amd64/latest/All/powerdxx-0.4.4_1.pkgpkg add powerdxx.pkg
service powerdxx onestartStarting powerdxx.powerd++: (EDRIVER) frequency control driver not supported: hwpstate_intel0/usr/local/etc/rc.d/powerdxx: WARNING: failed to start powerdxx
Starting powerdxx.powerd++: (ECONFLICT) a power daemon is already running under PID: 22/usr/local/etc/rc.d/powerdxx: WARNING: failed to start powerdxx
22 root 20 0 12M 2240K select 0 0:46 0.00% /usr/sbin/powerd -b adp -a adp -n adp
root@OPNsense:/tmp # service powerdxx onestartStarting powerdxx.powerd++: (ECONFLICT) a power daemon is already running under PID: 22/usr/local/etc/rc.d/powerdxx: WARNING: failed to start powerdxxroot@OPNsense:/tmp # service powerd stopStopping powerd.Waiting for PIDS: 22.root@OPNsense:/tmp # service powerd disableCannot 'disable' powerd. Set powerd_enable to YES in /etc/rc.conf or use 'onedisable' instead of 'disable'.root@OPNsense:/tmp # service powerd onedisablepowerd disabled in /etc/rc.confroot@OPNsense:/tmp # service powerdxx enablepowerdxx enabled in /etc/rc.confroot@OPNsense:/tmp # service powerdxx startStarting powerdxx.
root@OPNsense:/tmp # powerd++ -vf -a adp -n adp -n 75% -M 1600powerd++: cannot read hw.acpi.aclineTerminal Output verbose: yes foreground: yesLoad Sampling load samples: 4 polling interval: 500 ms load average over: 2000 msFrequency Limits battery: [500 MHz, 1600 MHz] online: [500 MHz, 1600 MHz] unknown: [500 MHz, 1600 MHz]CPU Cores CPU cores: 2Core Groups 0: [0, 0] 1: [1, 1]Core Group Frequency Limits 0: [500 MHz, 1601 MHz] 1: [500 MHz, 1601 MHz]Load Targets battery power target: 50 % load online power target: 50 % load unknown power target: 75 % loadTemperature Throttling active: yes source: dev.cpu.%d.temperature 0: [95 C, 105 C] 1: [95 C, 105 C]power: unknown, load: 912 MHz, 54 C, cpu.0.freq: 1601 MHz, wanted: 1216 MHzpower: unknown, load: 900 MHz, 54 C, cpu.1.freq: 1601 MHz, wanted: 1200 MHzpower: unknown, load: 617 MHz, 54 C, cpu.0.freq: 1200 MHz, wanted: 822 MHzpower: unknown, load: 605 MHz, 53 C, cpu.1.freq: 1200 MHz, wanted: 806 MHzpower: unknown, load: 327 MHz, 54 C, cpu.0.freq: 800 MHz, wanted: 436 MHzpower: unknown, load: 308 MHz, 53 C, cpu.1.freq: 800 MHz, wanted: 410 MHzpower: unknown, load: 27 MHz, 54 C, cpu.0.freq: 500 MHz, wanted: 36 MHz
power: unknown, load: 1002 MHz, 69 C, cpu.0.freq: 1200 MHz, wanted: 1336 MHzpower: unknown, load: 993 MHz, 68 C, cpu.1.freq: 1200 MHz, wanted: 1324 MHzpower: unknown, load: 1093 MHz, 70 C, cpu.0.freq: 1300 MHz, wanted: 1457 MHzpower: unknown, load: 1075 MHz, 68 C, cpu.1.freq: 1300 MHz, wanted: 1433 MHzpower: unknown, load: 1159 MHz, 71 C, cpu.0.freq: 1400 MHz, wanted: 1545 MHzpower: unknown, load: 1117 MHz, 68 C, cpu.1.freq: 1400 MHz, wanted: 1489 MHzpower: unknown, load: 1110 MHz, 70 C, cpu.0.freq: 1500 MHz, wanted: 1480 MHzpower: unknown, load: 1045 MHz, 67 C, cpu.1.freq: 1500 MHz, wanted: 1393 MHzpower: unknown, load: 1095 MHz, 69 C, cpu.0.freq: 1400 MHz, wanted: 1460 MHz