Temp is 0 for AMD k10temp
ferrreo opened this issue · comments
ferrreo commented
As above, it's reading 0 for AMD for temps.
I can read the temp myself at: /sys/class/hwmon/hwmon6/temp1_input
I think line 292 of depend.go needs to be something like
if string(f) == "coretemp\n" || string(f) == "k10temp\n" {
Though after taking a second look I don't think the averaging code is correct as k10temp provides temps for each CCD as well as the hotspot temp so averaging them isn't correct. Should just take the hotspot (Tctl in the _label file).
sfome commented
I'll fix it tomorrow.
Lucas-101 commented
Close?