Repository navigation
Conversation
…mperatures The SMC of a J514S (MacBook Pro 14", M3 Pro) reports more temperatures than its hwmon node lists. Add the two airflow sensors (TaLP, TaRF), the battery gas gauge's temperature (TB2T) and four GPU temperatures (Tf24, Tf28, Tf29, Tf2E). TB2T reads exactly what macOS publishes as "gas gauge battery" on the same model; TB1T repeats the existing TB0T hotspot and is left out. The airflow names are those macOS tools give these keys on Apple silicon. The GPU's own Tg keys read 0 C or -3.15 C under Linux, even with the GPU rendering, while macOS on the same model reads them normally. The Tf2x keys follow the GPU: on macOS they track its Tg keys about 8 C below them (both rose 8-10 C in 30 s of GPU load while the CPU cooled), and here they rose 11-14 C with only the GPU busy and about 1 C with all P cores busy. Assisted-by: Claude:claude-opus-5-5 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Ilyas Akin <ashnwor@gmail.com>
scottjones
left a comment
There was a problem hiding this comment.
Thanks, this looks good. One question, not a blocker: does Tf2E read differently from Tf24 under GPU load? If they track each other, one of them may be redundant.
|
Measured on the J514S: 15 s idle, 90 s of glmark2
Tf2E stayed within 0.2 C of Tf24 for the whole run (correlation 1.000; Tf28 1.000, Tf29 0.999). So under a full GPU load they track each other, and Tf2E adds nothing to the zone's maximum there. It may still differ under a partial load (one GPU region busy), which I haven't isolated. It read on every one of the 135 samples here and in the earlier runs, so it doesn't add a read-failure risk I've seen. I'd keep it: it's cheap, and dropping it would lose the one key that might separate under a partial load. If you'd rather keep the die list minimal for the thermal cap, I'm happy to drop Tf2E from |
|
Tested on a second J514S, at idle on AC: Airflow Left 36 °C, Airflow Right 37 °C, Battery Gas Gauge 28 °C (Battery Hotspot 29 °C), GPU Temperature 1–4 at 44 °C. All seven channels are present and readable. Not tested: GPU load. Test setup
Testing and write-up assisted by Claude Code. |
What this changes and why
The SMC of the J514S (MacBook Pro 14", M3 Pro) reports more temperatures than its hwmon node lists. This adds seven of them to
t6030-j514s.dts:TaLP"Airflow Left",TaRF"Airflow Right"TB2T"Battery Gas Gauge", beside the existing hotspotTB0TTf24,Tf28,Tf29andTf2Eas "GPU Temperature 1–4"How each was checked against macOS on another J514S (macOS 27.2, SMC keys read through AppleSMC, HID sensors through IOHIDEventSystem):
TB2Treads exactly the HID sensor macOS names "gas gauge battery" (35.0 °C both).TB1TrepeatsTB0Ton both systems, so it is left out.Tgkeys. TheTf2xkeys track them about 8 °C lower. In 30 s of Metal load,Tg05went 62.6 → 70.4 °C andTf2453.0 → 62.8 °C, while the CPU'sTp0Ucooled 77.2 → 66.3 °C.TaLP/TaRF. The names come from the Stats app's key list, and the readings rise slowly with system heat. This is the least certain of the three.Why
Tf2xfor the GPU: the GPU's ownTgkeys read 0 °C or -3.15 °C under Linux, even with the GPU rendering. macOS on the same model reads 49–55 °C from them, so something in the Linux GPU/PMP path does not feed them yet. TheTf2xkeys rose 11–14 °C with only the GPU busy and about 1 °C with all P cores busy, so they stand in for the GPU.The new nodes are appended after the existing ones, so channel indices that thermal zones refer to (#481) do not change.
What was tested
linux-aurorarecipe viatools/aurora-ci/prepare-recipe.py.sensorsshows the new channels: Airflow Left/Right 43–44 °C and the battery 33 °C at idle on AC; GPU Temperature 1–4 49 °C at idle, rising to 54 °C after 35 s of glmark2. (Tested with the first version, which also hadTB1T; the amended DTB only drops that node and relabelsTB2T, and builds clean.)cpu-e0-thermalstill reads the E-cluster key.make apple/t6030-j514s.dtbis clean.What was NOT tested
Tgkeys: why they read 0 under Linux is not solved here.Risk
AI assistance
🤖 Generated with Claude Code