-
-
Notifications
You must be signed in to change notification settings - Fork 428
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing temperature on last 2 cores (rk3588) #1530
Comments
Can you check if the code block added by the patch in #1411 is ran 3 times per temperature update cycle: Once for each of the sub-blocks? |
Nope I'm confused as to why that is the case? |
Any objections to the following patch proposal? diff --git a/linux/LibSensors.c b/linux/LibSensors.c
index 8ac34980..7d6d17e9 100644
--- a/linux/LibSensors.c
+++ b/linux/LibSensors.c
@@ -233,7 +233,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; |
This would also need |
Okay, updated proposal: diff --git a/linux/LibSensors.c b/linux/LibSensors.c
index 8ac34980..1b1753d3 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; |
LGTM 👍 |
Hopefully now fixed by 179182d … |
Hello, As of a few hours ago this issue has been solved and temperature finally shows up on rk3588. Woo!
However temperature is not shown for the last 2 cores.
Context:
Orange Pi 5 plus 16gb
Armtix linux
Linux 6.11 rc1 (Mainline)
The text was updated successfully, but these errors were encountered: