mirror of
https://codeberg.org/icewind/palantir.git
synced 2026-06-03 10:14:09 +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"
|
||||
{
|
||||
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")?);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue