Repository navigation
FF Power Manager v2.1.0
FF Power Manager v2.1.0
FF Power Manager v2.1.0 hardens security, eliminates hardcoded hardware assumptions, and adds scriptable kernel residency diagnostics for Intel and AMD Linux laptops.
Key Highlights
- Hardware & Residency Diagnostics (
ffctl doctor [--json]): Inspects/sys/power/mem_sleep,/lib/systemd/system-sleep/ff-sleep-guard, armed non-lid ACPI wake triggers (/proc/acpi/wakeup), active P-state/EPP drivers, PCI Runtime PM (suspendedvsactive), and conflicts withtlp/auto-cpufreqin< 2 ms, with--jsonoutput forstatus,health, anddoctor+ integrated live UI in GTK4 Diagnostics tab. - Zero-Setuid Privilege Hardening: Removed
04755setuid-root permissions fromffctl(0755) and replacedsystem()shell invocations inffctl_native.c/ff_tui_native.cwith strictfork()+execv()PolicyKit /sudo -ndelegation. Added bothsudo(Ubuntu/Debian) andwheel(Fedora) support ininstall.sh, Polkit rules, andudevHID rules (TAG+="uaccess"). - True Universal Topology & Sensor Discovery: Replaced remaining 16-core/5.4GHz/Samsung-OLED assumptions across
core.py,ffctl_native.c,ff_tui_native.c, andextension.js. Dynamically discovers P/E/LP-E cores (detect_cpu_topology), clamps frequencies tocpuinfo_min/max_freqand RAPL PL1/PL2 to OEMconstraint_0_max_power_uw, pins IRQs/compositors dynamically to P-cores, discovers PCI SD Host Controllers (0x0805*), and resolves real CPU package temperature (coretemp/k10temp/zenpower/x86_pkg_temp). - Focused Native Linux Identity: Replaced all proprietary/marketing labels with accurate Linux kernel & Mutter subsystems (Adaptive Refresh Rate, Hybrid Topology & C-State Tuning, Interactive QoS).
- Daemon & Packaging Fixes:
auto_boost.pynow preserves user-chosenmax_battery/cool_quietmodes after load spikes and applies thermal guardrails on battery boosts;build-deb.shnow addsprermcleanup, UIRecommends, and only setsLIBVA_DRIVER_NAME=iHDwhen Intel display hardware is present.