Skip to content

Commit

Permalink
cpu: temp: add hardware monitoring of asus boards
Browse files Browse the repository at this point in the history
  • Loading branch information
e2dk4r authored and flightlessmango committed Jan 20, 2024
1 parent 3cee6f1 commit d30cf16
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/cpu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -519,9 +519,12 @@ bool CPUStats::GetCpuFile() {
} else if (name == "it8603") {
find_input(path, "temp", input, "temp1");
break;
} else if (name == "nct6797") {
} else if (starts_with(name, "nct")) {
find_input(path, "temp", input, "TSI0_TEMP");
break;
} else if (name == "asusec") {
find_input(path, "temp", input, "CPU");
break;
} else {
path.clear();
}
Expand Down

2 comments on commit d30cf16

@luisalvarado
Copy link

@luisalvarado luisalvarado commented on d30cf16 Jan 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like after this update, on the Asus Z790 Hero the CPU Temp does not show anymore. It shows as 0 always. If I rollback to 3cee6f1 then it works correctly.

@luisalvarado
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@flightlessmango I think I need to create a bug report. I do not know if this was seen. you answered everything else and thank you.

Please sign in to comment.