auto-cpufreq icon indicating copy to clipboard operation
auto-cpufreq copied to clipboard

Openrc init system not supported

Open jptrzy opened this issue 1 year ago • 1 comments

I successfully installed cpufreq-auto, but I can't enable it in my init system.

I'm using Alpine Linux which uses openrc as an init system.


Error output:

~ $ doas auto-cpufreq --install

--------------------- Deploying auto-cpufreq as a daemon ----------------------

* Turn off bluetooth on boot

* Deploy auto-cpufreq install script

* Deploy auto-cpufreq remove script

------------------ Running auto-cpufreq daemon install script ------------------

* Unsupported init system detected, could not install the daemon


* Please open an issue on https://github.com/AdnanHodzic/auto-cpufreq


----------------- auto-cpufreq daemon installed and running -----------------

To view live stats, run:
auto-cpufreq --stats

To disable and remove auto-cpufreq daemon, run:
sudo auto-cpufreq --remove

-------------------------------------------------------------------------------


System information:

~ $ doas auto-cpufreq --debug

-------------------------------------------------------------------------------

Linux distro: Alpine Linux 3.19_alpha20230901 
Linux kernel: 6.1.62-0-lts
Processor: Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
Cores: 4
Architecture: x86_64
Driver: intel_pstate

------------------------------ Current CPU stats ------------------------------

CPU max frequency: 3100 MHz
CPU min frequency: 400 MHz

Core	Usage	Temperature	Frequency
CPU0      4.2%        37 °C      2938 MHz
CPU1      1.0%        37 °C      2492 MHz
CPU2      2.1%        37 °C      3067 MHz
CPU3      8.0%        37 °C      2903 MHz

CPU fan speed: 0 RPM

auto-cpufreq version: 2.0.0 (git: 15c17fc)

Python: 3.11.6
psutil package: 5.9.6
platform package: 1.0.8
click package: 8.1.7
distro package: 1.8.0

Computer type: Notebook
Battery is: discharging

auto-cpufreq system resource consumption:
cpu usage: 0.0 %
memory use: 0.16 %

Total CPU usage: 0.5 %
Total system load: 0.88
Average temp. of all cores: 37.00 °C 

Currently using: powersave governor
Currently turbo boost is: on

-------------------------------------------------------------------------------


jptrzy avatar Nov 13 '23 12:11 jptrzy

Openrc is supported in the install script so something weird is going on here.

Could you run ps h -o comm 1 and paste the output?

shadeyg56 avatar Nov 13 '23 19:11 shadeyg56

Closing the issue due to inactivity.

AdnanHodzic avatar May 25 '24 18:05 AdnanHodzic