Running osquery 5.3.0 on my i9 MBP. Running a chec...
# macos
s
Running osquery 5.3.0 on my i9 MBP. Running a check on fan speed sensors and not seeing what I thought would be actual speed results:
Copy code
/usr/local/bin/osqueryi --line "select * from fan_speed_sensors desc;"  
   fan = 0
  name = 0
actual = -1
   min = -1
   max = -1
target = -1

   fan = 1
  name = 0
actual = -1
   min = -1
   max = -1
target = -1
The result is the same on my M1 Pro.
z
I'm seeing the same for a handful of macs. I wonder if the APIs have been deprecated? @Steve Poe can you please file an issue? @sharvil any idea?
s
Very likely that apple has changed the actual SMC keys we use to correlate this:
Copy code
std::map<std::string, std::string> kSMCFanSpeeds = {
    {"F%dID", "name"},
    {"F%dAc", "actual"},
    {"F%dMn", "min"},
    {"F%dMx", "max"},
    {"F%dTg", "target"}};
s