Package Details: auto-cpufreq 2.4.0-1

Git Clone URL: https://aur.archlinux.org/auto-cpufreq.git (read-only, click to copy)
Package Base: auto-cpufreq
Description: Automatic CPU speed & power optimizer
Upstream URL: https://github.com/AdnanHodzic/auto-cpufreq
Licenses: LGPL-3.0-or-later
Submitter: liljaylj
Maintainer: parmjot (MusicalArtist12)
Last Packager: parmjot
Votes: 79
Popularity: 0.80
First Submitted: 2020-10-29 00:09 (UTC)
Last Updated: 2024-09-09 20:59 (UTC)

Pinned Comments

liljaylj commented on 2021-06-03 12:13 (UTC)

@coxe87b you don't need to --install daemon manually, this package contains systemd service already. instead, you need to start and enable service using: systemctl enable --now auto-cpufreq.service

Latest Comments

1 2 3 4 5 6 .. 10 Next › Last »

archdem commented on 2024-09-27 17:34 (UTC) (edited on 2024-09-27 18:12 (UTC) by archdem)

I have installed this package and lost power profile options. It shows power profile "not available" despite power-profile-daemon is enabled and running. Uninstalling this package or reinstalling power-profile-daemon did not help. Does anyone have any suggestion to fix?

Edit: It seems it is caused by powerprofilesctl command returning profiles as "placeholder". Any idea why auto-cpufreq caused this and how to fix?

parmjot commented on 2024-09-09 20:53 (UTC) (edited on 2024-09-09 20:53 (UTC) by parmjot)

@adachi flagging as out of date is enough.

adachi commented on 2024-09-06 16:03 (UTC)

Now it is version 2.4.0.

Dioswilson commented on 2024-08-25 23:36 (UTC)

I get the following error:

Started auto-cpufreq - Automatic CPU speed & power optimizer for Linux.
Traceback (most recent call last):
  File "/opt/auto-cpufreq/venv/bin/auto-cpufreq", line 4, in <module>
    __import__('pkg_resources').run_script('auto-cpufreq==1.9.4+cde4cbeb', 'auto-cpufreq')
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
No module named 'pkg_resources'
Main process exited, code=exited, status=1/FAILURE
Failed with result 'exit-code'.
Scheduled restart job, restart counter is at 5.
Start request repeated too quickly.
Failed with result 'exit-code'.
Failed to start auto-cpufreq - Automatic CPU speed & power optimizer for Linux.

Installing setuptools with pacman -S python-setuptools did not help

FosRex commented on 2024-05-10 09:05 (UTC) (edited on 2024-05-10 09:05 (UTC) by FosRex)

Think you need to add python-pyinotify as dependency.

+1

After the recent update I get this error:

Traceback (most recent call last):
  File "/usr/bin/auto-cpufreq", line 5, in <module>
    from auto_cpufreq.bin.auto_cpufreq import main
  File "/usr/lib/python3.12/site-packages/auto_cpufreq/bin/auto_cpufreq.py", line 14, in <module>
    from auto_cpufreq.core import *
  File "/usr/lib/python3.12/site-packages/auto_cpufreq/core.py", line 29, in <module>
    from auto_cpufreq.utils.config import config
  File "/usr/lib/python3.12/site-packages/auto_cpufreq/utils/config.py", line 2, in <module>
    from auto_cpufreq.utils.config_event_handler import ConfigEventHandler
  File "/usr/lib/python3.12/site-packages/auto_cpufreq/utils/config_event_handler.py", line 1, in <module>
    import pyinotify
ModuleNotFoundError: No module named 'pyinotify'

After installing python-pyinotify, the issue is resolved.

harry commented on 2024-05-09 20:02 (UTC)

Think you need to add python-pyinotify as dependency.

parmjot commented on 2024-05-02 22:15 (UTC) (edited on 2024-05-02 22:16 (UTC) by parmjot)

@lalaluke the dependencies should be pulled, as they themselves are depended on the dependencies of auto-cpufreq, namely python-requests. I believe that the build dependencies that you have listed should also be pulled. Please configure your AUR helper correctly, since makepkg can pull them just fine within a clean chroot.

parmjot commented on 2024-05-02 01:51 (UTC)

@Lalaluke413 is the first list to build the package? The second list should be general dependencies. I'll have a look and see what's wrong

Lalaluke413 commented on 2024-05-02 01:40 (UTC)

I had to manually install the following packages to install: python-jinja python-markupsafe python-packaging python-fastjsonschema

and the following packages to run: python-urllib3 python-charset-normalizer python-idna

parmjot commented on 2024-04-28 08:07 (UTC)

I have pushed an update to trigger a rebuild for Python 3.12. This should not change any behaviour.