-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Description
Thinkfan goes into a device folder instead of the hwmonX folder (see the longest line in the below error message).
× thinkfan.service - thinkfan 1.3.1
Loaded: loaded (/usr/lib/systemd/system/thinkfan.service; enabled; preset: disabled)
Drop-In: /usr/lib/systemd/system/service.d
└─10-timeout-abort.conf
Active: failed (Result: exit-code) since Wed 2024-07-17 09:29:56 CEST; 10ms ago
Duration: 13ms
Process: 11271 ExecStart=/usr/sbin/thinkfan -n $OPTIONS (code=exited, status=1/FAILURE)
Main PID: 11271 (code=exited, status=1/FAILURE)
CPU: 13ms
Jul 17 09:29:56 P14s-G4 systemd[1]: Started thinkfan.service - thinkfan 1.3.1.
Jul 17 09:29:56 P14s-G4 thinkfan[11271]: ERROR: /etc/thinkfan.conf:16:
- hwmon: /sys/devices/pci0000:00/0000:00:02.2/0000:02:00.0/ieee80211/phy0
^
Could not find an `hwmon*' directory or `temp*_input' file in /sys/devices/pci0000:00/0000:00:02.2/0000:02:00.0/ieee80211/phy0/device..
Jul 17 09:29:56 P14s-G4 systemd[1]: thinkfan.service: Main process exited, code=exited, status=1/FAILURE
Jul 17 09:29:56 P14s-G4 systemd[1]: thinkfan.service: Failed with result 'exit-code'.
The phy0/hwmonX folder contains temp*_input file, but instead of going into there, thinkfan chooses to got into device. Is there a way to force thinkfan to use hwmonX?
The config file I'm using is the following:
sensors:
#CPU
- hwmon: /sys/devices/pci0000:00/0000:00:18.3/hwmon
indices: [1]
#GPU
- hwmon: /sys/devices/pci0000:00/0000:00:08.1/0000:64:00.0/hwmon
indices: [1]
#SSD
- hwmon: /sys/devices/pci0000:00/0000:00:02.4/0000:03:00.0
name: nvme
indices: [1,2,3]
#Wifi:
- hwmon: /sys/devices/pci0000:00/0000:00:02.2/0000:02:00.0/ieee80211/phy0
indices: [1]
#Motherboard
- hwmon: /sys/devices/virtual/thermal/thermal_zone0/hwmon1
indices: [1]
fans:
- tpacpi: /proc/acpi/ibm/fan
# Complex level config
levels:
- speed: 0
upper_limit: [55, 55, 55, 52, 52, 55, 55]
- speed: 1
lower_limit: [53, 53, 53, 50, 50, 53, 53]
upper_limit: [60, 60, 60, 57, 57, 60, 60]
- speed: 2
lower_limit: [55, 55, 55, 52, 52, 55, 55]
upper_limit: [63, 63, 63, 60, 60, 63, 63]
- speed: 3
lower_limit: [56, 56, 56, 53, 53, 56, 56]
upper_limit: [65, 65, 65, 62, 62, 65, 65]
- speed: 4
lower_limit: [58, 58, 58, 55, 55, 58, 58]
upper_limit: [67, 67, 67, 64, 64, 67, 67]
- speed: 5
lower_limit: [60, 60, 60, 57, 57, 60, 60]
upper_limit: [69, 69, 69, 66, 66, 69, 69]
- speed: 6
lower_limit: [62, 62, 62, 59, 59, 62, 62]
upper_limit: [71, 71, 71, 68, 68, 71, 71]
- speed: 7
lower_limit: [65, 65, 65, 62, 62, 65, 65]
Metadata
Metadata
Assignees
Labels
No labels