When you give "nosmt" to your kernel, you still get directories under
/sys that correspond to inactive hyperthreads, but there's nothing
writable inside those directories, which causes auto-cpufreq to
generate lots of logspam.
* add s6 script.
* fixing s6 init system with reload and call s6-svscan
* Fix my typo.
forgot to add slash to this dir.
* repalce reload init in bottom
* replace the samethings like install section
Co-authored-by: Anas <AnasR7@protonmail>
* Add min/max allowed frequencies option (#309)
Setting the minimum/maximum allowed CPU frequencies is now possible
via 'scaling_min_freq' and 'scaling_max_freq' options in config
for both modes (charger and battery).
Values should be given in kHZ.
Example:
scaling_min_freq = 1800000
scaling_max_freq = 2000000
I also did autoformatting via 'black', using --line-length 100.
Code is now a bit tidier than before.
* Fixes for min/max allowed frequencies option
* Further modify min/max frequency option
* Fix temporary modification in min/max allowed frequency option
Co-authored-by: Akos Varady <akos.varady@ericsson.com>
* Implement python virtual environment
* added venv instead of using system env pip
* adjusted the unit file to startup the app from the venv
* created a wrapper script to call the app from the venv
* extended cleanup for venv and additional scripts
* refactored the is_running() function to find the process now that it
is called from a venv
* remove update_service_file since we changed the binary path to the venv location
* fix bug in argument handling; upgrade pip before installing python packages
* fix bug in syntax
* Renamed auto-cpufreq wrapper
* Change permissions to use --stats as user
* Changed init scripts to use wrapper
Co-authored-by: aroundthfur <velimir@foolcontrol.org>
* Ignore Pycharm descriptors from VCS.
* Rename all occurances of `log` to `stats`.
* Rename log file to stats and move to /var/run
* Bring back --log switch with deprecation message.
* Add the feature that makes EPP changeable
* Remove .vscode folder
* Fix little statement thing
* implemented mechanism to backup/restore original cpufreqctl file
Co-authored-by: Adnan Hodzic <adnan@hodzic.org>
- on SELinux enabled systems, the daemon fails to start unless
the logfile is already present, because the systemd unit file
redirects the STDOUT to a file.