use Tccd temp sensors

This commit is contained in:
Robin Appelman 2025-02-01 13:28:56 +01:00
commit 6a4594cbc7

View file

@ -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")?);
}
}