Skip to content
This repository has been archived by the owner on Dec 31, 2023. It is now read-only.

Adjust CPU temperature colors with devicetree thermal-zone setting #1

Open
mstroh76 opened this issue Jul 12, 2020 · 2 comments
Open

Comments

@mstroh76
Copy link
Member

/proc/device-tree/thermal-zones/cpu_thermal/trips/cpu_warm/temperature
/proc/device-tree/thermal-zones/cpu_thermal/trips/cpu_hot/temperature
proc/device-tree/thermal-zones/cpu_thermal/trips/cpu_very_hot/temperature
/proc/device-tree/thermal-zones/cpu_thermal/trips/cpu_crit/temperature

holds binary signed int value of limit. With warning limit system starts to reducing CPU frequency.
Banana Pi M2 Zero:
warning: '0001 1170' = 70.000 °C
hot: '0001 4c08' = 85.000 °C
very hot: '0001 7318 = 95.000 °C
crit: '0001 9a28' = 105.000 °C

see https://www.kernel.org/doc/Documentation/devicetree/bindings/thermal/thermal.txt

@mstroh76
Copy link
Member Author

Allwinner A20

/proc/device-tree/thermal-zones/cpu_thermal/trips/cpu_alert0/temperature
: ' 000124f8' = 75.000 °C
/proc/device-tree/thermal-zones/cpu_thermal/trips/cpu_crit/
temperature
: ' 000186a0' = 100.000 °C

@mstroh76
Copy link
Member Author

mstroh76 commented Jul 13, 2020

Raspberry Pi:
trips not found

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant