From 179182d59f9ffbb230d1641762e131fb43856ba9 Mon Sep 17 00:00:00 2001 From: Benny Baumann Date: Fri, 30 Aug 2024 21:56:18 +0200 Subject: [PATCH] Be less strict about thermal zones for RockChip RK3588 SoC --- linux/LibSensors.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/linux/LibSensors.c b/linux/LibSensors.c index 8ac349801..1b1753d3d 100644 --- a/linux/LibSensors.c +++ b/linux/LibSensors.c @@ -142,6 +142,7 @@ static int tempDriverPriority(const sensors_chip_name* chip) { { "littlecore_thermal", 0 }, { "bigcore0_thermal", 0 }, { "bigcore1_thermal", 0 }, + { "bigcore2_thermal", 0 }, /* Low priority drivers */ { "acpitz", 1 }, }; @@ -233,7 +234,7 @@ void LibSensors_getCPUTemperatures(CPUData* cpus, unsigned int existingCPUs, uns coreTempCount += 2; continue; } - if (String_eq(chip->prefix, "bigcore1_thermal")) { + if (String_eq(chip->prefix, "bigcore1_thermal") || String_eq(chip->prefix, "bigcore2_thermal")) { data[7] = temp; data[8] = temp; coreTempCount += 2;