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

    #1
    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.
     
  2. kryten2, Aug 4, 2012
    Last edited: Aug 4, 2012

    macrumors 6502a

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

    #3
    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,
     

    Attached Files:

  4. macrumors 6502a

    #4
    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 :

    Code:
    sudo killall FanControlDaemon
    SystemStarter start FanControlDaemon
     
  5. Turboguy, Aug 5, 2012
    Last edited: Aug 5, 2012

    macrumors newbie

    #5
    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.
     
  6. macrumors newbie

    #6
  7. macrumors 6502a

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

Share This Page