1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

Terminal Tips For Fan Control Mod?

Discussion in 'Mac Programming' started by Turboguy, Aug 4, 2012.

  1. macrumors newbie

    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...

  2. kryten2, Aug 4, 2012
    Last edited: Aug 4, 2012

    macrumors 6502a

    Post the output of the following command :
    ls -alR /Library/StartupItems/
    launchctl list | grep FanControlDaemon
    Post a screenshot of your /Library/StartupItems folder.
    In Terminal :
    man launchctl
  3. macrumors newbie

    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

    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.


    Attached Files:

  4. macrumors 6502a

    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
  5. Turboguy, Aug 5, 2012
    Last edited: Aug 5, 2012

    macrumors newbie

    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?


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

  7. macrumors 6502a

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

Share This Page