mirror of
https://codeberg.org/icewind/palantir.git
synced 2026-06-03 18:24:08 +02:00
use Tccd temp sensors
This commit is contained in:
parent
c6769056da
commit
6a4594cbc7
1 changed files with 4 additions and 1 deletions
|
|
@ -23,7 +23,10 @@ impl TemperatureSource {
|
||||||
|| device.name() == "soc_thermal"
|
|| device.name() == "soc_thermal"
|
||||||
{
|
{
|
||||||
for sensor in device.sensors().flatten() {
|
for sensor in device.sensors().flatten() {
|
||||||
if sensor.name() == "Tdie" || sensor.name().starts_with("Core ") {
|
if sensor.name() == "Tdie"
|
||||||
|
|| sensor.name().starts_with("Tccd")
|
||||||
|
|| sensor.name().starts_with("Core ")
|
||||||
|
{
|
||||||
cpu_sensors.push(sensor.reader().context("error opening cpu temp sensor")?);
|
cpu_sensors.push(sensor.reader().context("error opening cpu temp sensor")?);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue