Skip to content

Commit

Permalink
Update Readme for issue of auto-cpufreq not autostarting on AUR (#485)
Browse files Browse the repository at this point in the history
* Updated Readme for issue auto-cpufreq not autostarting

Added solution to issue #463

* Fixed minor errors

* Fixed auto-cpufreq.serivce Typo

* Reprashed text as per suggestion
  • Loading branch information
siddharthkumarjha authored Feb 12, 2023
1 parent c65eac3 commit 9912f9d
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ auto-cpufreq is looking for [co-maintainers & open source developers to help sha
* [Remove - auto-cpufreq daemon](https://github.com/AdnanHodzic/auto-cpufreq/#remove---auto-cpufreq-daemon)
* [stats](https://github.com/AdnanHodzic/auto-cpufreq/#stats)
* [Troubleshooting](https://github.com/AdnanHodzic/auto-cpufreq/#troubleshooting)
* [AUR](https://github.com/AdnanHodzic/auto-cpufreq/#aur)
* [Discussion](https://github.com/AdnanHodzic/auto-cpufreq/#discussion)
* [Donate](https://github.com/AdnanHodzic/auto-cpufreq/#donate)
* [Financial donation](https://github.com/AdnanHodzic/auto-cpufreq/#financial-donation)
Expand Down Expand Up @@ -102,7 +103,7 @@ In case you encounter any problems with `auto-cpufreq-installer`, please [submit

### AUR package (Arch/Manjaro Linux)

*AUR is currently unmaintained & has issues*! Until someone starts maintaining it, use the [auto-cpufreq-installer](https://github.com/AdnanHodzic/auto-cpufreq#auto-cpufreq-installer) if you intend to have the latest changes as otherwise you'll run into errors, i.e: [#471](https://github.com/AdnanHodzic/auto-cpufreq/issues/471).
*AUR is currently unmaintained & has issues*! Until someone starts maintaining it, use the [auto-cpufreq-installer](https://github.com/AdnanHodzic/auto-cpufreq#auto-cpufreq-installer) if you intend to have the latest changes as otherwise you'll run into errors, i.e: [#471](https://github.com/AdnanHodzic/auto-cpufreq/issues/471). However, if you still wish to use AUR then follow the [Troubleshooting](https://github.com/AdnanHodzic/auto-cpufreq/#aur) section for solved known issues.

* [Binary Package](https://aur.archlinux.org/packages/auto-cpufreq)
(For the latest binary release on github)
Expand Down Expand Up @@ -317,6 +318,21 @@ GRUB_CMDLINE_LINUX_DEFAULT="quiet splash initcall_blacklist=amd_pstate_init amd_

After you are done, run `sudo update-grub` or `sudo grub-mkconfig -o /boot/grub/grub.cfg`, if you are using Arch.

### AUR

* The command ```sudo auto-cpufreq --install``` produces error [#471](https://github.com/AdnanHodzic/auto-cpufreq/issues/471) please don't use it.
* This script is supposed to automate the process of enabling auto-cpufreq.service so you need to manually open terminal and type
~~~
sudo systemctl enable --now auto-cpufreq.service
~~~
for the service to work.
* Power Profiles Daemon is [automatically disabled by auto-cpufreq-installer](https://github.com/AdnanHodzic/auto-cpufreq#1-power_helperpy-script-snap-package-install-only) due to it's conflict with auto-cpufreq.service. However this doesn't happen with AUR package and will lead to problems (i.e: [#463](https://github.com/AdnanHodzic/auto-cpufreq/issues/463)) if not masked manually.
* So open your terminal and type
~~~
sudo systemctl mask power-profiles-daemon.service
~~~
Following this command ```enable``` the auto-cpufreq.service if you haven't already.
## Discussion:
* Blogpost: [auto-cpufreq - Automatic CPU speed & power optimizer for Linux](http://foolcontrol.org/?p=3124)
Expand Down

0 comments on commit 9912f9d

Please sign in to comment.