We have discontinued this forum and moved support tickets to the GitHub issue tracker. More info

RPM Calculation

Control fans on Apple hardware: iMacs, Macbooks, etc

Moderator: Steven

Post Reply
Walter
Posts: 3
Joined: 01 May 2014, 18:03

RPM Calculation

Post by Walter »

Hey,

first of all, a big thank you. I really like your program.
ATM I'm writing a small program that let me read and write directly to the smc.
After some testing I noticed a small offset between the rpm shown in your software and my calculation based on the raw smc output.

For example:
The min fan speed (F0Mn) is reads as 0x144C (fpe2 type).
In order to get the resulting rpm i rightshifted it by 2 and converted it to a decimal.
That results in 1299.
But if i look at your program, it shows 1294.

Now i don't really care about such a minor difference, but i'm curious why they are not the same and if i made a mistake.
User avatar
Steven
CrystalIDEA Developer
Posts: 2294
Joined: 21 Dec 2009, 11:48
Location: CrystalIDEA headquarters
Contact:

Re: RPM Calculation

Post by Steven »

Walter
Hello, can you please show MFC main window screenshot running on your mac?
Walter
Posts: 3
Joined: 01 May 2014, 18:03

Re: RPM Calculation

Post by Walter »

Here it is:
Attachments
mfc.jpg
mfc.jpg (249.09 KiB) Viewed 8001 times
User avatar
Steven
CrystalIDEA Developer
Posts: 2294
Joined: 21 Dec 2009, 11:48
Location: CrystalIDEA headquarters
Contact:

Re: RPM Calculation

Post by Steven »

Walter
Thanks for the help! You seem to be correct, please try the newest version 1.1.1 (available for Windows only at the moment):

A screenshot of the 1.1.11 window is appriciated.
Walter
Posts: 3
Joined: 01 May 2014, 18:03

Re: RPM Calculation

Post by Walter »

Hey that was quick :smile:
They match now, thank you!
Attachments
mfc.jpg
mfc.jpg (75.14 KiB) Viewed 7981 times
User avatar
Steven
CrystalIDEA Developer
Posts: 2294
Joined: 21 Dec 2009, 11:48
Location: CrystalIDEA headquarters
Contact:

Re: RPM Calculation

Post by Steven »

Fixed for Mac as well! Thanks
Post Reply