From 232094a24e84c639cb0a03afb2e4737ef9ebb65e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tolnai=20Zolt=C3=A1n?= Date: Mon, 22 Apr 2019 11:11:04 +0200 Subject: [PATCH] Add some missing names for macbook pro retina 2012 --- lib/iStats/smc.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/iStats/smc.rb b/lib/iStats/smc.rb index 72630a2..3d88d9f 100644 --- a/lib/iStats/smc.rb +++ b/lib/iStats/smc.rb @@ -77,6 +77,7 @@ def name(key) 'TG1H' => 'GPU 1 Heatsink', 'TH0P' => 'Harddisk 0 Proximity', 'Th1H' => 'NB/CPU/GPU HeatPipe 1 Proximity', + 'Th2H' => 'NB/CPU/GPU HeatPipe 2 Proximity', 'TL0P' => 'LCD Proximity', 'TM0P' => 'Memory Slot Proximity', 'TM0S' => 'Memory Slot 1', @@ -84,11 +85,14 @@ def name(key) 'TO0P' => 'Optical Drive Proximity', 'Tp0P' => 'PowerSupply Proximity', 'TPCD' => 'Platform Controller Hub Die', + 'TP0P' => 'Platform Controller Hub Proximity', 'TS0C' => 'Expansion slots', 'Ts0P' => 'Palm rest L', 'Ts0S' => 'Memory Bank Proximity', + 'Ts1S' => 'Memory Bank 2 Proximity', 'Ts1p' => 'Palm rest R', - 'TW0P' => 'AirPort Proximity' + 'TW0P' => 'AirPort Proximity', + 'TH0a' => 'SSD temperature' } return sensors_name.fetch(key,"Unknown")