Comments (11)
Thanks, systemd daemon now works fine!
from auto-cpufreq.
What happens if you run auto-cpufreq-installer?
I also released auto-cpufreq
to Snap store which would definitely fix your problem. But as I stated for full functionality auto-cpufreq
needs snapd version 2.4.4 which is currently only available in Ubuntu 20.04.
from auto-cpufreq.
I got this pip warning:
WARNING: The directory '/home/filip/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
And after that, everything goes fine, but after the sudo auto-cpufreq --install command, I had the error stated in the previous message.
Maybe I will just wait the snapd 2.4.4 version.
from auto-cpufreq.
Well now i got same error with systemd daemon (daemon not starting):
from auto-cpufreq.
Since some changes were pushed in meantime. What happens if you do:
sudo auto-cpufreq --remove
sudo ./auto-cpufreq-installer --remove
sudo ./auto-cpufreq-installer --install
from auto-cpufreq.
sudo auto-cpufreq --remove
sudo ./auto-cpufreq-installer --remove
sudo ./auto-cpufreq-installer --install
Same error after reinstalling last version.
from auto-cpufreq.
What does whereis auto-cpufreq
return and are you able to run i.e: auto-cpufreq --live
Does it make any difference if you run:
sudo su -
auto-cpufreq --remove
./auto-cpufreq-installer --remove
./auto-cpufreq-installer --install
from auto-cpufreq.
What does whereis auto-cpufreq
are you able to run i.e: auto-cpufreq --live
Weird but it works.
sudo su -
auto-cpufreq --remove
./auto-cpufreq-installer --remove
./auto-cpufreq-installer --install
No difference
from auto-cpufreq.
Right, so problem is that same path /usr/local/bin/auto-cpufreq
for some weird reason isn't found in your case, when it's run by root user as part of the systemd service.
What I suggest you do as a workaround is:
after sudo auto-cpufreq --install
Run: sudo systemctl stop auto-cpufreq
Edit /etc/systemd/system/auto-cpufreq.service
file with editor of your choice, i.e:
sudo vim /etc/systemd/system/auto-cpufreq.service
Change line 9:
ExecStart=auto-cpufreq --daemon
to:
ExecStart=/usr/local/bin/auto-cpufreq --daemon
Followed by:
sudo systemctl daemon-reload
sudo systemctl start auto-cpufreq
auto-cpufreq daemon should be running now which you can verify by running: auto-cpufreq --log
from auto-cpufreq.
Great. I won't make any changes in code yet, as I want to see if anyone else has this problem and until then will leave this issue open.
from auto-cpufreq.
This problem has been permanently fixed as part of 1.1.2 release.
from auto-cpufreq.
Related Issues (20)
- Auto-cpufreq doesn't check the state of `hwp_dynamic_boost`, and so wrongly reports that EPP is not supported HOT 2
- Ubuntu Install Error HOT 7
- Incorrect CPU Core Usage Measurement HOT 3
- Install on an immutable system? HOT 1
- Installation errors out saying permission denied HOT 4
- GUI not opening if not connected to internet HOT 1
- Lenovo L512 - min CPU frequency seems higher than expected. HOT 1
- /usr/local/bin/auto-cpufreq wrapper drops parameters HOT 1
- Avoid hardcoded paths pointing to uncommon paths HOT 4
- CPU temperature sensors show low temperature while CPU is cooking HOT 5
- `scaling_available_frequencies`: No such file or directory HOT 2
- Frequencies are not respected from config-file? HOT 4
- issue w.r.t --monitor and --live flag HOT 8
- Battery conservation_mode? HOT 8
- auto-cpufreq daemon not installing on solus os HOT 1
- Charging thresholds. Matebook 13 & deprecated APIs HOT 2
- Disabling CPU cores crashes the daemon. HOT 9
- How to enable Battery Threshold on Asus Vivobook K3502ZA_S3502ZA HOT 4
- KeyError on updating auto-cpufreq during exhausted GitHub API calls HOT 4
- System doesn't boot after disabling intel_pstate HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from auto-cpufreq.