Maldela / fancontrol-gui

GUI for Fancontrol. It uses the KAuth module of the KDE Frameworks 5 to write the generated config file. Furthermore it communicates with systemd via dbus to control the fancontrol service. If you want to compile without systemd support set the -DNO_SYSTEMD option.
GNU General Public License v2.0
309 stars 31 forks source link

No support for absolute paths #47

Closed mschabhuettl closed 3 years ago

mschabhuettl commented 4 years ago

The GUI does not support the usage of absolute paths, described in ArchWiki. So I get the error message:

Invalid temp entry: '/sys/devices/platform/nct6775.656/hwmon/[[:print:]]*/temp2_input'

on every fan.

My /etc/fancontrol:

# Configuration file generated by pwmconfig, changes will be lost
INTERVAL=10
DEVPATH=hwmon3=devices/platform/nct6775.656
DEVNAME=hwmon3=nct6779
FCTEMPS=hwmon3/pwm2=/sys/devices/platform/nct6775.656/hwmon/[[:print:]]*/temp2_input hwmon3/pwm3=/sys/devices/platform/nct6775.656/hwmon/[[:print:]]*/temp2_input hwmon3/pwm4=/sys/devices/platform/>
FCFANS=hwmon3/pwm2=hwmon3/fan2_input hwmon3/pwm3=hwmon3/fan3_input hwmon3/pwm4=hwmon3/fan4_input hwmon3/pwm5=hwmon3/fan5_input
MINTEMP=hwmon3/pwm2=20 hwmon3/pwm3=20 hwmon3/pwm4=20 hwmon3/pwm5=20
MAXTEMP=hwmon3/pwm2=85 hwmon3/pwm3=85 hwmon3/pwm4=85 hwmon3/pwm5=85
MINSTART=hwmon3/pwm2=150 hwmon3/pwm3=150 hwmon3/pwm4=150 hwmon3/pwm5=150
MINSTOP=hwmon3/pwm2=0 hwmon3/pwm3=100 hwmon3/pwm4=100 hwmon3/pwm5=100
Maldela commented 3 years ago

I'm not planning to support this in fancontrol-gui. But I'm working on a replacement for the fancontrol script that will have this feature by default.