I have a thelio, popOS was on it before and everything was perfect. when I switched to nixos I noticed the fans were always running at a fast speed even when I am not doing anything.
so I enabled this option hardware.system76.enable.all = true
and rebooted, a few good things happened (that I noticed)
- the packages
system76-power
andsystem76-firmware
were installed - their services were enabled respectively
the bad things I noticed:
- the fans were still loud
- running
system76-power profile
returned?
where on popOS it returnedbalanced
if I remember correctly
I tried running system76-power daemon
which is the command that is supposed to be running as a service after enabling the enable.all
option before, and a few things happened once again:
- the fans suddenly went quite, at the time I wasn’t sure if they turned off completly or if they just went down temporarly because the temps were low
- I got a bunch of errors
[nix-shell:~]$ sudo system76-power daemon
[INFO] Starting daemon
[INFO] Connecting to dbus system bus
[INFO] Rescanning PCI bus
[INFO] 0000:09:00.0: AMD graphics
[INFO] 0000:09:00.0: Function for 0000:09:00.0
[INFO] 0000:09:00.1: Function for 0000:09:00.0
[INFO] Disabling NMI Watchdog (for kernel debugging only)
[WARN] /proc/sys/kernel/nmi_watchdog does not exist
[INFO] Setting automatic graphics power
[WARN] Failed to set automatic graphics power: does not have switchable graphics
[INFO] Initializing with the balanced profile
setting schedutil with max 4408593
failed to set value in /sys/devices/system/cpu/cpu12/cpufreq/scaling_min_freq: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu12/cpufreq/scaling_max_freq: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu12/cpufreq/scaling_governor: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu13/cpufreq/scaling_min_freq: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu13/cpufreq/scaling_max_freq: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu13/cpufreq/scaling_governor: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu14/cpufreq/scaling_min_freq: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu14/cpufreq/scaling_max_freq: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu14/cpufreq/scaling_governor: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu15/cpufreq/scaling_min_freq: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu15/cpufreq/scaling_max_freq: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu15/cpufreq/scaling_governor: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu16/cpufreq/scaling_min_freq: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu16/cpufreq/scaling_max_freq: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu16/cpufreq/scaling_governor: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu17/cpufreq/scaling_min_freq: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu17/cpufreq/scaling_max_freq: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu17/cpufreq/scaling_governor: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu18/cpufreq/scaling_min_freq: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu18/cpufreq/scaling_max_freq: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu18/cpufreq/scaling_governor: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu19/cpufreq/scaling_min_freq: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu19/cpufreq/scaling_max_freq: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu19/cpufreq/scaling_governor: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu20/cpufreq/scaling_min_freq: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu20/cpufreq/scaling_max_freq: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu20/cpufreq/scaling_governor: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu21/cpufreq/scaling_min_freq: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu21/cpufreq/scaling_max_freq: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu21/cpufreq/scaling_governor: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu22/cpufreq/scaling_min_freq: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu22/cpufreq/scaling_max_freq: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu22/cpufreq/scaling_governor: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu23/cpufreq/scaling_min_freq: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu23/cpufreq/scaling_max_freq: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu23/cpufreq/scaling_governor: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu24/cpufreq/scaling_min_freq: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu24/cpufreq/scaling_max_freq: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu24/cpufreq/scaling_governor: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu25/cpufreq/scaling_min_freq: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu25/cpufreq/scaling_max_freq: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu25/cpufreq/scaling_governor: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu26/cpufreq/scaling_min_freq: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu26/cpufreq/scaling_max_freq: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu26/cpufreq/scaling_governor: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu27/cpufreq/scaling_min_freq: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu27/cpufreq/scaling_max_freq: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu27/cpufreq/scaling_governor: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu28/cpufreq/scaling_min_freq: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu28/cpufreq/scaling_max_freq: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu28/cpufreq/scaling_governor: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu29/cpufreq/scaling_min_freq: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu29/cpufreq/scaling_max_freq: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu29/cpufreq/scaling_governor: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu30/cpufreq/scaling_min_freq: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu30/cpufreq/scaling_max_freq: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu30/cpufreq/scaling_governor: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu31/cpufreq/scaling_min_freq: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu31/cpufreq/scaling_max_freq: No such file or directory (os error 2)
failed to set value in /sys/devices/system/cpu/cpu31/cpufreq/scaling_governor: No such file or directory (os error 2)
[INFO] Registering dbus name com.system76.PowerDaemon
[INFO] Adding dbus path /com/system76/PowerDaemon with interface com.system76.PowerDaemon
[INFO] Handling dbus requests
[ERROR] hid_backlight: no system76_acpi::kbd_backlight led
^C[INFO] caught signal: SIGINT
[INFO] daemon exited from loop
then I went to check the service that was supposed to be running this command and it looked like this: which means the service tried running the same command as I did and got a bunch of errors so it went inactive
[nix-shell:~]$ systemctl status system76-power.service
○ system76-power.service - System76 Power Daemon
Loaded: loaded (/etc/systemd/system/system76-power.service; enabled; preset: enabled)
Active: inactive (dead) since Fri 2022-12-09 15:20:40 CET; 1h 8min ago
Duration: 3.008s
Process: 953 ExecStart=/nix/store/ibzryww0kzswrcrsc0k9a53csz3jyhaq-system76-power-1.1.23/bin/system76-power daemon (code=exited, status=0/SUCCES>
Main PID: 953 (code=exited, status=0/SUCCESS)
IP: 0B in, 0B out
CPU: 9ms
Dec 09 15:20:37 beetwo system76-power[953]: [INFO] Registering dbus name com.system76.PowerDaemon
Dec 09 15:20:37 beetwo system76-power[953]: [INFO] Adding dbus path /com/system76/PowerDaemon with interface com.system76.PowerDaemon
Dec 09 15:20:37 beetwo systemd[1]: Started System76 Power Daemon.
Dec 09 15:20:37 beetwo system76-power[953]: [INFO] Handling dbus requests
Dec 09 15:20:37 beetwo system76-power[953]: [ERROR] hid_backlight: no system76_acpi::kbd_backlight led
Dec 09 15:20:40 beetwo system76-power[953]: [INFO] caught signal: SIGTERM
Dec 09 15:20:40 beetwo systemd[1]: Stopping System76 Power Daemon...
Dec 09 15:20:40 beetwo system76-power[953]: [INFO] daemon exited from loop
Dec 09 15:20:40 beetwo systemd[1]: system76-power.service: Deactivated successfully.
Dec 09 15:20:40 beetwo systemd[1]: Stopped System76 Power Daemon.