PDA

View Full Version : Terminal Tips For Fan Control Mod?




Turboguy
Aug 4, 2012, 06:59 PM
Was using ZeD X's cool guide to adding the HD temp sensor function for a new iMac by downloading iMac Fan Control and trying to follow these instructions:

After installing it, download the modified files (include sources) on this post and them double click extracted preference panel, and for the Daemon you do the following, in the terminal:
sudo killall FanControlDaemon
sudo mv /FanControlDaemon /Library/StartupItems/FanControlDaemon/FanControlDaemon
sudo chmod 0755 /Library/StartupItems/FanControlDaemon/FanControlDaemon
sudo chown root:wheel /Library/StartupItems/FanControlDaemon/FanControlDaemon

For the second command, you should put the extracted FanControlDaemon in your "/" dir ("Macintosh HD" root, or edit the command with the file path).

Can someone please walk me through how to do this in Terminal? I pasted this info and tried to navigate to right directory and inserted the Daemon, and then restarted, but it was a no go and I'm sure I made a newbie mistake...

Thanks.



kryten2
Aug 4, 2012, 08:33 PM
Post the output of the following command :
ls -alR /Library/StartupItems/
and
launchctl list | grep FanControlDaemon
Post a screenshot of your /Library/StartupItems folder.
In Terminal :
man launchctl

Turboguy
Aug 4, 2012, 09:20 PM
1st output:

total 0
drwxr-xr-x@ 3 root wheel 102 Aug 2 18:57 .
drwxr-xr-x+ 60 root wheel 2040 Aug 2 18:57 ..
drwxr-xr-x 4 root wheel 136 Jul 10 2008 FanControlDaemon

/Library/StartupItems//FanControlDaemon:
total 64
drwxr-xr-x 4 root wheel 136 Jul 10 2008 .
drwxr-xr-x@ 3 root wheel 102 Aug 2 18:57 ..
-rwxr-xr-x 1 root wheel 28144 Jul 10 2008 FanControlDaemon
-rwxr-xr-x 1 root wheel 677 Jul 10 2008 StartupParameters.plist
Ricks-iMac:~ rickjensen1$

2nd output: only shows Ricks-iMac:~ rickjensen1$

Screenshots attached. Wasn't sure if you meant a shot of code in terminal, or of HD folder, so attached them both.

Thanks,

kryten2
Aug 5, 2012, 09:19 AM
I found ZeD X's thread : http://forums.macrumors.com/showthread.php?t=1156571
Provided you installed iMacFanControl1.2.dmg and downloaded the modified FanControlDaemon and moved it to the /Library/StartupItems/FanControlDaemon folder. Ownership and permissions seem to be right judging from the output.

Try this in Terminal :

sudo killall FanControlDaemon
SystemStarter start FanControlDaemon

Turboguy
Aug 5, 2012, 11:16 AM
Well, I screwed this up. I don't know why I mess with this stuff...

No matching processes were found.

That's probably because:

I incorrectly just replaced the factory daemon exec file with the modified one in fan control by navigating through HD/Library/StartupItems/FanControlDaemon folder and replacing it with the downloaded file. (I thought that's what I was supposed to do based on your reply).

Now I got a message saying that fan control didn't start up and fancontrol is showing 0 rpm / 0 degree readings now...

How can I put the correct exec back in ASAP?

HELP!

SHOWING: Insecure Startup Item disabled. “/Library/StartupItems/FanControlDaemon” has not been started because it does not have the proper security settings.

Turboguy
Aug 5, 2012, 11:38 AM
OK, so I did this: http://www.funnyordie.com/videos/fd70f76148/calm-down-get-a-hold-of-yourself-from-airplanefan

Then re-installed the software to get the fancontrol pane working again...

HD temp is still 0. Thoughts?

kryten2
Aug 5, 2012, 02:49 PM
HD temp is still 0. Thoughts?

Look at ZeD X's thread especially post #37 thru #42.
Good luck