ITADN

M4 Pro: three CPU core temperature keys are absent (Te09, Te0H, Tp0V) — cores missing from Sensors

#3270Closedyisding 创建于 2026-06-04
Y
yisdingcommented
## Summary On Apple **M4 Pro** (`Mac16,8`, 8 performance + 4 efficiency cores) three of the `m4Gen` CPU temperature SMC keys in `Modules/Sensors/values.swift` **do not exist on the hardware**, so the matching cores never appear in the Sensors list: | key | label | M4 Pro | |-----|-------|--------| | `Te09` | CPU efficiency core 3 | **absent** | | `Te0H` | CPU efficiency core 4 | **absent** | | `Tp0V` | CPU performance core 5 | **absent** | The other nine M4 CPU keys (`Te05`, `Te0S`, `Tp01`/`Tp05`/`Tp09`/`Tp0D`/`Tp0Y`/`Tp0b`/`Tp0e`) are present and report real per-core temperatures. Since `sensors()` only adds a sensor when its key is present in `SMC.shared.getAllKeys()`, the three absent keys are silently dropped and those cores are missing from the UI. ## How it was found Reading the SMC directly on `Mac16,8`: the three keys above are not in the key list at all (even under full load), while these replacements exist and report real per-core temperatures under load: | key | label | under load | |-----|-------|-----------| | `Te06` | CPU efficiency core 3 | ~67 °C | | `Te0T` | CPU efficiency core 4 | ~64 °C | | `Tp0H` | CPU performance core 5 | ~67 °C | ## Proposed fix (diff) I've prepared a branch that scopes `Te09` / `Te0H` / `Tp0V` to `[.m4, .m4Max, .m4Ultra]` (leaving non-Pro behavior unchanged) and adds the verified `[.m4Pro]` keys above — mirroring how the M4 GPU keys are already split between `[.m4]` and `[.m4Pro, .m4Max, .m4Ultra]`: ➡️ **Diff:** https://github.com/exelban/stats/compare/master...yisding:stats:fix/m4pro-cpu-temp-keys ## Caveat Only verified on **M4 Pro** (`Mac16,8`). I scoped the new keys to `.m4Pro` and left base M4 / M4 Max / M4 Ultra untouched, but I don't know whether those variants also have these absent keys — they may need the same treatment. Confirmation from owners of other M4 chips would help. ## Environment - Stats: `master` (576254a0) - Mac: M4 Pro (`Mac16,8`), macOS 26.5.1 (25F80)
关闭于 2026-06-07 4 条评论