cool
cool copied to clipboard
Fan speed not displayed
Computer
MacBook Pro (13-inch, 2018) Big Sur 11.2.3 Cool v0.3.0
Details
The screenshot above basically explains it — when I run sudo cool, the fan speed display doesn't update (even though I can feel the fan working). It looks like cool.go has been updated since then, so maybe a new release is needed?
Hello! Could I get the output of smc -l and smc -f, please?
Thanks for reporting this bug!
Okie, now run sudo cool 10 and pastebin the new outputs of smc -l and smc -f (while cool is running)
Thanks a lot! Sorry for taking so long, but the latest release should hopefully fix this bug! Get the latest cool with brew upgrade quackduck/tap/cool.
It's very likely that it won't work lol, fingers crossed.
I had to figure out some very low level stuff. Keeping resources here so I don't forget
#include <stdio.h>
#include <string.h>
int main()
{
float fval;
unsigned char arr3[]={0x00, 0x40, 0x9c, 0x44}; // 00 40 9c 44
memcpy(&fval,arr3,sizeof(float));
printf("%.0f ", fval);
return 0;
}
https://play.golang.org/p/riuszP170t_Y
No change in behavior 😞