I have recently discovered that /sys/class/hwmon/hwmon6/temp1_input was moved to /sys/class/hwmon/hwmon9/temp1_input after a reboot and thus thinkfan SystemD service failed. FYI /sys/class/hwmon/hwmon9/name contains coretemp. This change might be related to updating my firmware using fwupdmgr, but I am not sure.
I think it might be a good idea to support paths with globs (like /sys/class/hwmon/hwmon*/temp1_input and the program would check all available files that match that path.
I have recently discovered that
/sys/class/hwmon/hwmon6/temp1_input
was moved to/sys/class/hwmon/hwmon9/temp1_input
after a reboot and thusthinkfan
SystemD service failed. FYI/sys/class/hwmon/hwmon9/name
containscoretemp
. This change might be related to updating my firmware usingfwupdmgr
, but I am not sure.I think it might be a good idea to support paths with globs (like
/sys/class/hwmon/hwmon*/temp1_input
and the program would check all available files that match that path.