hholtmann / smcFanControl

Control the fans of every Intel Mac to make it run cooler
GNU General Public License v2.0
2.4k stars 304 forks source link

how to get smc key description? #141

Open MarcWeigert opened 2 years ago

MarcWeigert commented 2 years ago

how to get smc key description like this https://logi.wiki/index.php/SMC_Sensor_Codes

krackers commented 1 year ago

I don't think there's a canonical mapping anywhere, people just used trial and error to work out what these are. Some were mentioned in old apple repair manuals I believe. I believe apple diagnostics image also has some (https://web.archive.org/web/20220824070530/https://twitter.com/marcan42/status/1484155025266180097), although the full version was never posted publicly from what I can see.

krackers commented 1 year ago

You might also be interested in this talk: https://www.youtube.com/watch?v=nSqpinjjgmg I don't know if anyone has ever besides him has publicly RE"d the smc firmware

krackers commented 1 year ago

Also https://github.com/theopolis/smc-fuzzer and https://fossies.org/linux/osquery/osquery/tables/system/darwin/smc_keys.cpp (latter enumerates the "hidden keys" as well).

Edit: https://github.com/acidanthera/VirtualSMC/blob/master/Docs/SMCKeys.txt seems to be the work of RE'ing the SMC firmware