Open bhundven opened 5 months ago
Should be fixed in latest master.
Tested on Fedora Workstation 41.
So this is "kind of fixed". Let me get some more info an elaborate.
Here is my config:
---
sensors:
- tpacpi: /proc/acpi/ibm/thermal
- nvml: 01:00.0
- hwmon: /sys/class/hwmon
name: coretemp
indices: [1, 2, 3, 4, 5, 6, 7, 8, 9]
- hwmon: /sys/class/hwmon
name: nvme
indices: [1]
model: WD_BLACK SN770 1TB
fans:
- tpacpi: /proc/acpi/ibm/fan
levels:
- ["level 0", 0, 28]
- ["level auto", 25, 55]
- ["level 6", 50, 75]
- ["level 7", 70, 110]
- ["level full-speed", 105, 9000]
I have an internal nvme named:
$ cat /sys/class/hwmon/hwmon3/name
nvme
$ cat /sys/class/hwmon/hwmon3/device/model
WD_BLACK SN770 1TB
And sometimes an external nvme for backup (thunderbolt 4):
$ cat /sys/class/hwmon/hwmon4/name
nvme
$ cat /sys/class/hwmon/hwmon4/device/model
WDS200T1XHE-00AFY0
With both plugged in with the above config, I get:
ERROR: hwmon sensor driver: /sys/class/hwmon: Found multiple hwmons with this name: /sys/class/hwmon/hwmon4 /sys/class/hwmon/hwmon3
If I comment out name
:
- hwmon: /sys/class/hwmon
# name: nvme
indices: [1]
model: WD_BLACK SN770 1TB
Then this works. indices
seems to be needed to be set.
In https://github.com/vmatare/thinkfan/pull/211, I implemented the hwmon
model
config option. In the latest git build,model
is no longer valid:config:
log:
This is on the current head: b1ad819e4ec79776cb5ccc61e2206a0c5d506ef5