Skip to content

Commit

Permalink
Add Raspberry Pi hwmon and thermal zone names
Browse files Browse the repository at this point in the history
  • Loading branch information
nokyan committed Dec 24, 2024
1 parent 58b7b62 commit 81ce8e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/cpu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ use std::{
sync::LazyLock,
};

const KNOWN_HWMONS: &[&str] = &["zenpower", "coretemp", "k10temp"];
const KNOWN_HWMONS: &[&str] = &["rp1_adc", "zenpower", "coretemp", "k10temp"];

const KNOWN_THERMAL_ZONES: &[&str] = &["x86_pkg_temp", "acpitz"];
const KNOWN_THERMAL_ZONES: &[&str] = &["cpu-thermal", "x86_pkg_temp", "acpitz"];

static RE_LSCPU_MODEL_NAME: Lazy<Regex> = lazy_regex!(r"Model name:\s*(.*)");

Expand Down

0 comments on commit 81ce8e1

Please sign in to comment.