Page 1 of 1

Preferences and Sensors gone after power cycle/ unplugging

Posted: 26 Sep 2014, 09:25
by clemens2
Hello.

I recently built a SSD into my iMac 27inch 2011. I placed it behind the Optical drive and attached it to the 3rd SATA connection.
When I booted from the SSD first time the fans were going crazy.
Anyway this is a known issue. I'm pretty sure that I did not damage anything.
Macs Fan Control helped me to solve this annoyance - THANKS!

But there is one thing that is keeping me puzzled.
I have MFC as startup item. In the beginning after shutting down and unplugging my iMac ( I do that overnight) the fans raved up again. Having a look at the preferences I saw that almost all sensors where gone and the fan- preferences where switched back to 'Auto'.
Restarting MFC resolved the issue.

Have a look at the logs before and after restarting MFC.

Code: Select all

INFO  2014-09-26T08:38:12.152 MacFanControl/app.cpp @ 154 "Macs Fan Control 1.2.0 beta" 
INFO  2014-09-26T08:38:12.153 MacFanControl/app.cpp @ 155 "Mac OS X 10.8" 
INFO  2014-09-26T08:38:12.153 MacFanControl/app.cpp @ 156 "iMac12,2" 
INFO  2014-09-26T08:38:12.153 MacFanControl/app.cpp @ 157 "Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz" 
INFO  2014-09-26T08:38:12.153 MacFanControl/app.cpp @ 158 "Qt 5.3.1" 
INFO  2014-09-26T08:38:12.979 MacFanControl/core/FanControl.cpp @ 436 "QFanControl::Init" 
INFO  2014-09-26T08:38:12.979 MacFanControl/core/FanControl.cpp @ 450 "QFanControl::Init - LoadCachedFansAndTempSensors" 
INFO  2014-09-26T08:38:12.980 MacFanControl/core/FanControl.cpp @ 455 "QFanControl::Init - FilterSupportedTempSensors" 
WARN  2014-09-26T08:38:12.982 MacFanControl/core/FanControl.cpp @ 343 "FilterSupportedTempSensors - skipping sensor TA0P with value of 0" 
WARN  2014-09-26T08:38:12.983 MacFanControl/core/FanControl.cpp @ 343 "FilterSupportedTempSensors - skipping sensor TC0H with value of 0" 
WARN  2014-09-26T08:38:12.985 MacFanControl/core/FanControl.cpp @ 343 "FilterSupportedTempSensors - skipping sensor TC0P with value of 0" 
WARN  2014-09-26T08:38:12.987 MacFanControl/core/FanControl.cpp @ 179 "smc_get_temp - skipping sensor TG0D with value of 129" 
WARN  2014-09-26T08:38:12.987 MacFanControl/core/FanControl.cpp @ 343 "FilterSupportedTempSensors - skipping sensor TG0D with value of -1" 
WARN  2014-09-26T08:38:12.988 MacFanControl/core/FanControl.cpp @ 343 "FilterSupportedTempSensors - skipping sensor TG0H with value of 0" 
WARN  2014-09-26T08:38:12.990 MacFanControl/core/FanControl.cpp @ 343 "FilterSupportedTempSensors - skipping sensor TL0P with value of 0" 
WARN  2014-09-26T08:38:12.992 MacFanControl/core/FanControl.cpp @ 343 "FilterSupportedTempSensors - skipping sensor TO0P with value of 0" 
WARN  2014-09-26T08:38:12.994 MacFanControl/core/FanControl.cpp @ 343 "FilterSupportedTempSensors - skipping sensor Tm0P with value of 0" 
WARN  2014-09-26T08:38:12.996 MacFanControl/core/FanControl.cpp @ 343 "FilterSupportedTempSensors - skipping sensor Tp3H with value of 0" 
INFO  2014-09-26T08:38:12.996 MacFanControl/core/FanControl.cpp @ 459 "QFanControl::Init - smc_get_fans_control_mode" 
INFO  2014-09-26T08:38:12.998 MacFanControl/core/FanControl.cpp @ 96 "Fan " 0 ": auto" 
INFO  2014-09-26T08:38:12.998 MacFanControl/core/FanControl.cpp @ 96 "Fan " 1 ": auto" 
INFO  2014-09-26T08:38:12.998 MacFanControl/core/FanControl.cpp @ 96 "Fan " 2 ": auto" 
INFO  2014-09-26T08:38:12.998 MacFanControl/core/FanControl.cpp @ 463 "QFanControl::Init - QTempSensorSmart::LoadAvailableSensors" 
INFO  2014-09-26T08:38:13.003 MacFanControl/core/FanControl.cpp @ 467 "QFanControl::Init: number of supported SMC sensors: 0" 
INFO  2014-09-26T08:38:13.003 MacFanControl/core/FanControl.cpp @ 468 "QFanControl::Init: number of supported SMART sensors: 2" 

Code: Select all

INFO  2014-09-26T11:20:49.985 MacFanControl/app.cpp @ 154 "Macs Fan Control 1.2.0 beta" 
INFO  2014-09-26T11:20:49.985 MacFanControl/app.cpp @ 155 "Mac OS X 10.8" 
INFO  2014-09-26T11:20:49.985 MacFanControl/app.cpp @ 156 "iMac12,2" 
INFO  2014-09-26T11:20:49.985 MacFanControl/app.cpp @ 157 "Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz" 
INFO  2014-09-26T11:20:49.985 MacFanControl/app.cpp @ 158 "Qt 5.3.1" 
INFO  2014-09-26T11:20:50.244 MacFanControl/core/FanControl.cpp @ 436 "QFanControl::Init" 
INFO  2014-09-26T11:20:50.244 MacFanControl/core/FanControl.cpp @ 450 "QFanControl::Init - LoadCachedFansAndTempSensors" 
INFO  2014-09-26T11:20:50.244 MacFanControl/core/FanControl.cpp @ 455 "QFanControl::Init - FilterSupportedTempSensors" 
INFO  2014-09-26T11:20:50.258 MacFanControl/core/FanControl.cpp @ 459 "QFanControl::Init - smc_get_fans_control_mode" 
INFO  2014-09-26T11:20:50.259 MacFanControl/core/FanControl.cpp @ 96 "Fan " 0 ": auto" 
INFO  2014-09-26T11:20:50.259 MacFanControl/core/FanControl.cpp @ 96 "Fan " 1 ": auto" 
INFO  2014-09-26T11:20:50.259 MacFanControl/core/FanControl.cpp @ 96 "Fan " 2 ": auto" 
INFO  2014-09-26T11:20:50.259 MacFanControl/core/FanControl.cpp @ 463 "QFanControl::Init - QTempSensorSmart::LoadAvailableSensors" 
INFO  2014-09-26T11:20:50.266 MacFanControl/core/FanControl.cpp @ 467 "QFanControl::Init: number of supported SMC sensors: 9" 
INFO  2014-09-26T11:20:50.266 MacFanControl/core/FanControl.cpp @ 468 "QFanControl::Init: number of supported SMART sensors: 2" 
Image
Image

Meanwhile this behaviour of MFC persists, but strangely enough the fans stay quiet and at normal speed.
So there is not really a problem anymore, right?

I really would like to know what happened and what I can do to make the fan- preferences and sensors make 'stick'.
Thanks in advance.

Clemens

Re: Preferences and Sensors gone after power cycle/ unplugging

Posted: 28 Sep 2014, 08:19
by Steven
clemens2
Do you have any other startup apps that can read sensors?

Re: Preferences and Sensors gone after power cycle/ unplugging

Posted: 28 Sep 2014, 11:17
by clemens2
Steven wrote:clemens2
Do you have any other startup apps that can read sensors?
Hello Steven.

No, there are no startup items that read sensors.
After I had this issue I installed 'Hardware Monitor' to see if other programs do read those missing sensors and HM does see and read them. Does not seem to be a hardware issue.

Re: Preferences and Sensors gone after power cycle/ unplugging

Posted: 28 Sep 2014, 11:20
by Steven
clemens2
Looks like MFC is not able to read sensors just right after boot. If you run it little later - it's fine, right?

Re: Preferences and Sensors gone after power cycle/ unplugging

Posted: 28 Sep 2014, 12:44
by clemens2
That is right. Like I said using it as a startup item, right after boot MFC cannot read the sensors I' ve set earlier. Therefore it switches back into 'Auto' mode.
Restarting MFC gives me back every functionality. But I have to reassign the sensors and set the temperatures.

I just would like to have some peace of mind never to experience those roaring fans again.

Re: Preferences and Sensors gone after power cycle/ unplugging

Posted: 29 Sep 2014, 17:24
by Steven
clemens2
1. Please post technical information (from Preferences/Diagnostics) when sensors are missing.
2. Please try this version for some time (and post feedback afterwards)?

Re: Preferences and Sensors gone after power cycle/ unplugging

Posted: 30 Sep 2014, 06:48
by clemens2
Steven wrote:clemens2
1. Please post technical information (from Preferences/Diagnostics) when sensors are missing.
2. Please try this version for some time (and post feedback afterwards)?
Hello Steven,

Thanks for the version you provided. It really seems to do the trick.
Sensors and control- configurations are available after reboot/ unplugging.
Thanks a lot.
What did you do, can you elaborate what was the problem?

greetings,

Clemens

Re: Preferences and Sensors gone after power cycle/ unplugging

Posted: 30 Sep 2014, 11:50
by Steven
I'd like to have tech info from 1.1.2 version (current stable) when sensors are missing...
What did you do, can you elaborate what was the problem?
I just removed zero check when checking sensors on the start. Not sure if it's a good idea to put this change into general release

Re: Preferences and Sensors gone after power cycle/ unplugging

Posted: 30 Sep 2014, 21:14
by clemens2
Hi Steven.

Here is the technical info you asked for.

Code: Select all

Macs Fan Control 1.1.12.2, iMac12,2, Mac OS X 10.8

Fans:
ODD-min{1150}curr{1148}max{2700}mode{}
HDD-min{1100}curr{1338}max{5500}mode{0}
CPU-min{940}curr{939}max{2600}mode{}


TempSensors:
TA0P (Ambient) - 22.7344
TA0V () - 22.6953
TA0p () - 28.125
TC0H (CPU Heatsink) - 44.125
TC0P (CPU Proximity) - 50.75
TC0c () - 49
TC0h () - 44.125
TC0p () - 50.75
TC1c () - 46
TC2c () - 50
TC3c () - 49
TCGc () - 49
TCSc () - 48
TCXc () - 50.2969
TG0D (GPU Diode) - 76.25
TG0H (GPU Heatsink) - 67.5
TG0d () - 76.25
TG0h () - 67.5
TG0p () - 67
TH0O () - 6
TH1O () - 4.42578
TL0P (LCD proximity) - 37.0625
TL0V () - 47.3086
TL0p () - 50.3125
TL1P () - 51.5625
TL1V () - 40.5312
TL1p () - 51.5625
TL1v () - 40.8203
TL2V () - 49.1992
TLAV () - 49.1992
TLBV () - 42.332
TLCV () - 47.3086
TO0P (Optical Drive) - 46.5
TO0p () - 47.5
TPCD () - 61
TS0P () - 47
TS0V () - 43.8633
TS0p () - 47
TS2P () - 46
TS2V () - 43.6797
TS2p () - 46
Tm0P (Mem Controller) - 52.125
Tm0p () - 52.125
Tp1P () - 57.625
Tp1p () - 57.625
Tp2H () - 63.25
Tp2h () - 63.25
Tp3H (PSU Primary) - 56.625
Tp3h () - 56.625

Re: Preferences and Sensors gone after power cycle/ unplugging

Posted: 30 Sep 2014, 23:28
by Steven
clemens2
Thanks. Maybe a better option is to run MFC after boot with a small delay (passed with command line for example).

Re: Preferences and Sensors gone after power cycle/ unplugging

Posted: 01 Oct 2014, 07:09
by clemens2
Steven,

Thanks for your efforts and good software.
I made an Automator file to delay startup of MFC.

The question that remains to me is wether there is an issue with my iMac or has MFC developed a bit further to deal with such occasions?

greetings

Clemens

Re: Preferences and Sensors gone after power cycle/ unplugging

Posted: 01 Oct 2014, 08:16
by Steven
I think it's an issue with your iMac. But it's definetely not a problem, just a particularity

Re: Preferences and Sensors gone after power cycle/ unplugging

Posted: 01 Oct 2014, 10:53
by clemens2
Hi Steven,

One last thing before everything runs like I would like to:
MFC is starting with a delay. Thats good.
The main window pops up instead of staying minimised as menu item.

Can you please point me the right direction how to script something like that:
Launch application and keep it minimised.
Or 'hide to menu bar'- script like the button of your app does.

Thanks a lot.

Re: Preferences and Sensors gone after power cycle/ unplugging

Posted: 01 Oct 2014, 11:23
by Steven

Re: Preferences and Sensors gone after power cycle/ unplugging

Posted: 01 Oct 2014, 13:27
by clemens2
Thanks Steven.

Unfortunately I failed to use the '/minimized'- parameter.
That is what I tried:

Code: Select all

open /Applications/Macs\ Fan\ Control.app /minimized

Code: Select all

open /Applications/Macs\ Fan\ Control.app -minimized
Would you be so kind to tell me the proper command?

Thanks.

Re: Preferences and Sensors gone after power cycle/ unplugging

Posted: 01 Oct 2014, 18:30
by Steven
clemens2

Code: Select all

/Applications/Macs\ Fan\ Control.app/Contents/MacOS/MacsFanControl /minimized

Re: Preferences and Sensors gone after power cycle/ unplugging

Posted: 01 Oct 2014, 18:37
by clemens2
Hi Steve.

Still not working. To get it straight we are talking about using this command in Terminal, right?

Code: Select all

open /Applications/Macs\ Fan\ Control.app/Contents/MacOS/MacsFanControl /minimized
I get the response

Code: Select all

The file /minimized does not exist.
Which makes sense to me because '/' is used to describe a path.
Possible parameters are:

Code: Select all

Usage: open [-e] [-t] [-f] [-W] [-R] [-n] [-g] [-h] [-b <bundle identifier>] [-a <application>] [filenames] [--args arguments]
Update: I get it, I do not have to use 'open'. Just the part

Code: Select all

/Applications/Macs\ Fan\ Control.app/Contents/MacOS/MacsFanControl /minimized
Works!

Steven, thank you so much for your help and patience.
That is a great piece of software you have written. Keep on the good work!



thx

Re: Preferences and Sensors gone after power cycle/ unplugging

Posted: 01 Oct 2014, 18:51
by Steven
clemens2
8-) Thank you, good luck and stay in touch