Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Openrc init system not supported #600

Closed
jptrzy opened this issue Nov 13, 2023 · 2 comments
Closed

Openrc init system not supported #600

jptrzy opened this issue Nov 13, 2023 · 2 comments

Comments

@jptrzy
Copy link

jptrzy commented Nov 13, 2023

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

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


@shadeyg56
Copy link
Collaborator

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?

@AdnanHodzic
Copy link
Owner

Closing the issue due to inactivity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants