Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Aug 4, 2012, 07:59 PM   #1
Turboguy
macrumors newbie
 
Join Date: Aug 2011
Terminal Tips For Fan Control Mod?

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.
Turboguy is offline   0 Reply With Quote
Old Aug 4, 2012, 09:33 PM   #2
kryten2
macrumors 6502a
 
Join Date: Mar 2012
Location: Belgium
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
__________________
Space Corps Directive 34124

Last edited by kryten2; Aug 4, 2012 at 09:53 PM.
kryten2 is offline   0 Reply With Quote
Old Aug 4, 2012, 10:20 PM   #3
Turboguy
Thread Starter
macrumors newbie
 
Join Date: Aug 2011
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 Thumbnails
Click image for larger version

Name:	Screen Shot 2012-08-04 at 10.18.56 PM.png
Views:	32
Size:	321.4 KB
ID:	351461   Click image for larger version

Name:	Screen Shot 2012-08-04 at 10.13.39 PM.png
Views:	50
Size:	439.1 KB
ID:	351462  
Turboguy is offline   0 Reply With Quote
Old Aug 5, 2012, 10:19 AM   #4
kryten2
macrumors 6502a
 
Join Date: Mar 2012
Location: Belgium
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
__________________
Space Corps Directive 34124
kryten2 is offline   0 Reply With Quote
Old Aug 5, 2012, 12:16 PM   #5
Turboguy
Thread Starter
macrumors newbie
 
Join Date: Aug 2011
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.

Last edited by Turboguy; Aug 5, 2012 at 12:21 PM. Reason: More Info
Turboguy is offline   0 Reply With Quote
Old Aug 5, 2012, 12:38 PM   #6
Turboguy
Thread Starter
macrumors newbie
 
Join Date: Aug 2011
OK, so I did this: http://www.funnyordie.com/videos/fd7...om-airplanefan

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

HD temp is still 0. Thoughts?
Turboguy is offline   0 Reply With Quote
Old Aug 5, 2012, 03:49 PM   #7
kryten2
macrumors 6502a
 
Join Date: Mar 2012
Location: Belgium
Quote:
HD temp is still 0. Thoughts?
Look at ZeD X's thread especially post #37 thru #42.
Good luck
__________________
Space Corps Directive 34124
kryten2 is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
iBook G4 Fan Mod (rewiring) questions? Cox Orange PowerPC Macs 18 Mar 28, 2014 08:51 PM
Windows bootcamp control panel works after AHCI mod Gav Mack Windows, Linux & Others on the Mac 1 Jan 29, 2014 03:40 PM
MacBook Pro Fan Mod (Photo Results) nlynch77 MacBook Pro 11 Jan 10, 2014 02:29 PM
Fan control Marvin16 Mac mini 2 Aug 31, 2013 12:51 PM
Looking for fan control app that can automatically adjust fan speeds? thomas223 iMac 12 Oct 7, 2012 08:51 PM

Forum Jump

All times are GMT -5. The time now is 07:54 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC