COSCUP x RubyConf TW 2021

Exploring Your Apple M1 devices with Open Source Tools

演講摘要

This talk will be an updated and extended MacOS M1 version of my previous talk on getting iDevice thermal sensors [1]. Since a macOS device comes with root already, getting non-trivial information on M1 devices is much easier than on A14 devices. I'll talk about:

  1. thermal sensors on without root [2]
  2. further thermal sensors you can get with root and SIP disabled, such as [3]
  3. how get similar information by using IOKit functions [4]

[1] https://www.slideshare.net/kstan2/exploring-thermal-related-stuff-in-idevices-using-opensource-tool

[2] https://github.com/freedomtan/sensors, https://github.com/freedomtan/sensors_cmdline

[3] https://github.com/freedomtan/m1_smc_senors

[4] https://developer.apple.com/documentation/iokit/iokit_functions

英文演講摘要

This talk will be an updated and extended MacOS M1 version of my previous talk on getting iDevice thermal sensors [1]. Since a macOS device comes with root already, getting non-trivial information on M1 devices is much easier than on A14 devices. I'll talk about:

  1. thermal sensors on without root [2]
  2. further thermal sensors you can get with root and SIP disabled, such as [3]
  3. how get similar information by using IOKit functions [4]

[1] https://www.slideshare.net/kstan2/exploring-thermal-related-stuff-in-idevices-using-opensource-tool

[2] https://github.com/freedomtan/sensors, https://github.com/freedomtan/sensors_cmdline

[3] https://github.com/freedomtan/m1_smc_senors

[4] https://developer.apple.com/documentation/iokit/iokit_functions

Koan-Sin Tan