ssleert/zfxtop

Temp is 0 for AMD k10temp

Closed this issue · 3 comments

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).

image

I'll fix it tomorrow.

Created a PR #14 to fix the temp values being averaged incorrectly

Close?