This project is a lightweight fan-control and power-management workaround for supported Acer laptops running Linux. It combines a PyQt6 desktop dashboard with an SCX auto-profile daemon so the system can automatically switch between quiet, balanced, and performance behavior based on the active power profile.
This project is an independent, unofficial project and is not affiliated with, endorsed by, or sponsored by Acer, AMD, or the sched-ext project maintainers.
This project is designed for laptop owners who want a simplified, low-overhead way to:
- control thermal profiles and fan behavior,
- synchronize power limits and scheduler policy with the active desktop power profile,
- reduce fan noise while preserving performance,
- maintain a minimal user-space interface without custom kernel patching beyond the Acer WMI support layer.
- General-purpose desktop tuning for all laptops,
- support for non-Acer hardware without matching WMI nodes,
- guaranteed compatibility with every Linux distribution or kernel configuration,
- automatic repair of broken or unsupported hardware drivers.
[Linux fan-control GUI (PyQt6)]
│
▼ (changes mode: Quiet / Balanced / Performance)
[power-profiles-daemon]
│
▼ (D-Bus signal: /net/hadess/PowerProfiles)
[SCX Auto-Profile Daemon (scx-auto-profile.sh)]
├── sched-ext scheduler switching (scx_bpfland / scx_lavd / default)
├── AMD CPU Boost policy
├── AMD EPP tuning
├── PCIe ASPM policy control
└── Acer WMI thermal/fan profile writes
- PyQt6 telemetry dashboard with CPU/GPU temperatures and RPM monitoring
- dynamic detection of laptop hardware and NVIDIA GPU state
- linked or independent fan control
- automatic transitions between quiet, balanced, and performance behavior
- single-instance tray/window toggling using local IPC sockets
- compatibility with power-profile changes from desktop environments
- Acer Nitro 5 / Nitro 7 class laptops using Acer WMI support
- AMD Ryzen systems with NVIDIA GPU configurations
- Arch Linux, CachyOS, and other distributions with
power-profiles-daemonandscxctlavailable
The project depends on the Linux Acer WMI path exposed by the relevant kernel drivers or a patched module such as linuwu-sense-dkms or facer.
- Linux kernel with Acer WMI support or a compatible patched driver
power-profiles-daemonscxctl/scx-schedsfor sched-ext switching- Python 3 and PyQt6
On Arch-based systems:
sudo pacman -S python-pyqt6 power-profiles-daemon scx-schedsOn other distributions, install the equivalent packages using the distro package manager.
Use a writable checkout path and avoid hard-coded personal home directories in scripts or service files.
PROJECT_DIR="/path/to/project"
REPOSITORY_URL="https://github.com/<owner>/<repository>.git"
git clone "$REPOSITORY_URL" "$PROJECT_DIR"
cd "$PROJECT_DIR"Apply the bundled rules so a regular user can access the Acer WMI fan and thermal nodes without root privileges.
sudo cp 99-linux-fan-control.rules /etc/udev/rules.d/
sudo udevadm control --reload-rules
sudo udevadm trigger./linux-fan-control.pyYou can also bind the launcher to a custom keyboard shortcut from your desktop environment.
mkdir -p ~/.config/systemd/user
cp scx-auto-profile.service ~/.config/systemd/user/
systemctl --user daemon-reload
systemctl --user enable --now scx-auto-profile.serviceIf your checkout lives outside the default home directory, update the service file to point to the correct script path before enabling it.
| Variable / File | Purpose | Notes |
|---|---|---|
scx-auto-profile.sh |
scheduler and thermal profile switcher | runs on profile changes and startup |
scx-auto-profile.service |
systemd user service | uses a portable path or a symlinked install path |
99-linux-fan-control.rules |
udev permissions | grants write access to hardware sysfs nodes |
powerprofilesctl |
active power profile source | used to decide quiet / balanced / performance mode |
./linux-fan-control.pysystemctl --user start scx-auto-profile.servicepowerprofilesctl get- Arch and CachyOS are the primary targets for this project.
- Thin desktop environments usually provide
power-profiles-daemonintegration automatically. - If
scxctlis unavailable, the daemon falls back to a safe no-op mode instead of invoking unsupported commands. - Kernels without the required Acer WMI support will not expose the needed sysfs nodes.
- verify the Acer WMI or patched driver is loaded,
- check
dmesgandjournalctl -bfor WMI errors, - reload udev rules and confirm the expected sysfs entries exist,
- confirm the script runs with the same user context as the desktop session.
- install
power-profiles-daemon, - verify the service is running,
- test the system profile switcher using the distro's power profile interface.
- install the
scx-schedspackage or the equivalent scheduler bundle, - check that the
scxkernel modules are available, - keep the daemon enabled only on systems that support sched-ext.
- the project does not log credentials or secrets,
- all sysfs writes are limited to the hardware control paths required by Acer WMI and the CPU governor interfaces,
- shell command execution is intentionally constrained to a fixed set of allowed scheduler actions,
- avoid running the daemon as root unless you explicitly need hardware access at the system level.
Remove the installed udev rule and disable the user service:
sudo rm -f /etc/udev/rules.d/99-linux-fan-control.rules
systemctl --user disable --now scx-auto-profile.service
rm -f ~/.config/systemd/user/scx-auto-profile.serviceThis project is licensed under the MIT License.
- PyQt6
- power-profiles-daemon
- scx-scheds / scxctl
- Acer WMI kernel driver support from the platform vendor or a compatible patched module
- platform-specific Linux sysfs interfaces exposed by the kernel and hardware drivers

