And, just checked, it also works with hwmon 1 and hwmon 2 (CPU Core Temp). So for me it works when the info is in /sys/class/hwmon/hwmon0 and when the info is in /sys/class/hwmon/hwmon1/device.
Here is the listing of my hwmon dir
ctrler@jupiter:/sys/class/hwmon$ ls */* hwmon0/fan1_input hwmon0/in0_input hwmon0/in2_input hwmon0/name hwmon0/fan1_label hwmon0/in0_label hwmon0/in2_label hwmon0/temp1_crit hwmon0/fan1_max hwmon0/in0_max hwmon0/in2_max hwmon0/temp1_input hwmon0/fan1_min hwmon0/in0_min hwmon0/in2_min hwmon0/temp1_label hwmon0/fan2_input hwmon0/in1_input hwmon0/in3_input hwmon0/temp1_max hwmon0/fan2_label hwmon0/in1_label hwmon0/in3_label hwmon0/uevent hwmon0/fan2_max hwmon0/in1_max hwmon0/in3_max hwmon1/uevent hwmon0/fan2_min hwmon0/in1_min hwmon0/in3_min hwmon2/uevent
hwmon0/device: driver hid hwmon modalias path power subsystem uevent
hwmon0/power: wakeup
hwmon0/subsystem: hwmon0 hwmon1 hwmon2
hwmon1/device: driver modalias power temp1_crit temp1_input temp1_max hwmon name subsystem temp1_crit_alarm temp1_label uevent
hwmon1/power: wakeup
hwmon1/subsystem: hwmon0 hwmon1 hwmon2
hwmon2/device: driver modalias power temp1_crit temp1_input temp1_max hwmon name subsystem temp1_crit_alarm temp1_label uevent
hwmon2/power: wakeup
hwmon2/subsystem: hwmon0 hwmon1 hwmon2 ctrler@jupiter:/sys/class/hwmon$
Thanks Cesare,
Ricardo
And, just checked, it also works with hwmon 1 and hwmon 2 (CPU Core Temp). hwmon/hwmon0 and when the info is in /sys/class/ hwmon/hwmon1/ device.
So for me it works when the info is in /sys/class/
Here is the listing of my hwmon dir
ctrler@ jupiter: /sys/class/ hwmon$ ls */*
hwmon0/fan1_input hwmon0/in0_input hwmon0/in2_input hwmon0/name
hwmon0/fan1_label hwmon0/in0_label hwmon0/in2_label hwmon0/temp1_crit
hwmon0/fan1_max hwmon0/in0_max hwmon0/in2_max hwmon0/temp1_input
hwmon0/fan1_min hwmon0/in0_min hwmon0/in2_min hwmon0/temp1_label
hwmon0/fan2_input hwmon0/in1_input hwmon0/in3_input hwmon0/temp1_max
hwmon0/fan2_label hwmon0/in1_label hwmon0/in3_label hwmon0/uevent
hwmon0/fan2_max hwmon0/in1_max hwmon0/in3_max hwmon1/uevent
hwmon0/fan2_min hwmon0/in1_min hwmon0/in3_min hwmon2/uevent
hwmon0/device:
driver hid hwmon modalias path power subsystem uevent
hwmon0/power:
wakeup
hwmon0/subsystem:
hwmon0 hwmon1 hwmon2
hwmon1/device:
driver modalias power temp1_crit temp1_input temp1_max
hwmon name subsystem temp1_crit_alarm temp1_label uevent
hwmon1/power:
wakeup
hwmon1/subsystem:
hwmon0 hwmon1 hwmon2
hwmon2/device:
driver modalias power temp1_crit temp1_input temp1_max
hwmon name subsystem temp1_crit_alarm temp1_label uevent
hwmon2/power:
wakeup
hwmon2/subsystem: jupiter: /sys/class/ hwmon$
hwmon0 hwmon1 hwmon2
ctrler@
Thanks Cesare,
Ricardo