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

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

Description

@mstroh76

/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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions