3Dmitchell Forum

Operating Systems => OS X => Topic started by: martinc on February 07, 2013, 06:22:13 PM



Title: smcFanControl
Post by: martinc on February 07, 2013, 06:22:13 PM
smcFanControl is just what it sounds like, a way to control your Mac's fan. However, I work on systems frequently and manually setting the speeds through gui is tedious at best so heres the "config" file, as it were, set at 200rpm intervals

Mac stores said files at ~/Library/Preferences (/Users/<your_username>/Library/Preferences)

com.eidac.smcFanControl2.plist
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AutoStart</key>
<true/>
<key>Favorites</key>
<array>
<dict>
<key>FanData</key>
<array>
<dict>
<key>Description</key>
<string>MainFan</string>
<key>Maxspeed</key>
<integer>6200</integer>
<key>Minspeed</key>
<integer>1800</integer>
<key>menu</key>
<true/>
<key>selspeed</key>
<integer>1800</integer>
</dict>
</array>
<key>Title</key>
<string>Default</string>
</dict>
<dict>
<key>FanData</key>
<array>
<dict>
<key>Description</key>
<string>MainFan</string>
<key>Maxspeed</key>
<integer>6200</integer>
<key>Minspeed</key>
<integer>1800</integer>
<key>menu</key>
<true/>
<key>selspeed</key>
<real>2000</real>
</dict>
</array>
<key>Standard</key>
<integer>0</integer>
<key>Title</key>
<string>2000</string>
</dict>
<dict>
<key>FanData</key>
<array>
<dict>
<key>Description</key>
<string>MainFan</string>
<key>Maxspeed</key>
<integer>6200</integer>
<key>Minspeed</key>
<integer>1800</integer>
<key>menu</key>
<true/>
<key>selspeed</key>
<real>2200</real>
</dict>
</array>
<key>Standard</key>
<integer>0</integer>
<key>Title</key>
<string>2200</string>
</dict>
<dict>
<key>FanData</key>
<array>
<dict>
<key>Description</key>
<string>MainFan</string>
<key>Maxspeed</key>
<integer>6200</integer>
<key>Minspeed</key>
<integer>1800</integer>
<key>menu</key>
<true/>
<key>selspeed</key>
<real>2400</real>
</dict>
</array>
<key>Standard</key>
<integer>0</integer>
<key>Title</key>
<string>2400</string>
</dict>
<dict>
<key>FanData</key>
<array>
<dict>
<key>Description</key>
<string>MainFan</string>
<key>Maxspeed</key>
<integer>6200</integer>
<key>Minspeed</key>
<integer>1800</integer>
<key>menu</key>
<true/>
<key>selspeed</key>
<real>2600</real>
</dict>
</array>
<key>Standard</key>
<integer>0</integer>
<key>Title</key>
<string>2600</string>
</dict>
<dict>
<key>FanData</key>
<array>
<dict>
<key>Description</key>
<string>MainFan</string>
<key>Maxspeed</key>
<integer>6200</integer>
<key>Minspeed</key>
<integer>1800</integer>
<key>menu</key>
<true/>
<key>selspeed</key>
<real>2800</real>
</dict>
</array>
<key>Standard</key>
<integer>0</integer>
<key>Title</key>
<string>2800</string>
</dict>
<dict>
<key>FanData</key>
<array>
<dict>
<key>Description</key>
<string>MainFan</string>
<key>Maxspeed</key>
<integer>6200</integer>
<key>Minspeed</key>
<integer>1800</integer>
<key>menu</key>
<true/>
<key>selspeed</key>
<real>3000</real>
</dict>
</array>
<key>Standard</key>
<integer>0</integer>
<key>Title</key>
<string>3000</string>
</dict>
<dict>
<key>FanData</key>
<array>
<dict>
<key>Description</key>
<string>MainFan</string>
<key>Maxspeed</key>
<integer>6200</integer>
<key>Minspeed</key>
<integer>1800</integer>
<key>menu</key>
<true/>
<key>selspeed</key>
<real>3200</real>
</dict>
</array>
<key>Standard</key>
<integer>0</integer>
<key>Title</key>
<string>3200</string>
</dict>
<dict>
<key>FanData</key>
<array>
<dict>
<key>Description</key>
<string>MainFan</string>
<key>Maxspeed</key>
<integer>6200</integer>
<key>Minspeed</key>
<integer>1800</integer>
<key>menu</key>
<true/>
<key>selspeed</key>
<real>3400</real>
</dict>
</array>
<key>Standard</key>
<integer>0</integer>
<key>Title</key>
<string>3400</string>
</dict>
<dict>
<key>FanData</key>
<array>
<dict>
<key>Description</key>
<string>MainFan</string>
<key>Maxspeed</key>
<integer>6200</integer>
<key>Minspeed</key>
<integer>1800</integer>
<key>menu</key>
<true/>
<key>selspeed</key>
<real>3600</real>
</dict>
</array>
<key>Standard</key>
<integer>0</integer>
<key>Title</key>
<string>3600</string>
</dict>
<dict>
<key>FanData</key>
<array>
<dict>
<key>Description</key>
<string>MainFan</string>
<key>Maxspeed</key>
<integer>6200</integer>
<key>Minspeed</key>
<integer>1800</integer>
<key>menu</key>
<true/>
<key>selspeed</key>
<real>3800</real>
</dict>
</array>
<key>Standard</key>
<integer>0</integer>
<key>Title</key>
<string>3800</string>
</dict>
<dict>
<key>FanData</key>
<array>
<dict>
<key>Description</key>
<string>MainFan</string>
<key>Maxspeed</key>
<integer>6200</integer>
<key>Minspeed</key>
<integer>1800</integer>
<key>menu</key>
<true/>
<key>selspeed</key>
<real>4000</real>
</dict>
</array>
<key>Standard</key>
<integer>0</integer>
<key>Title</key>
<string>4000</string>
</dict>
</array>
<key>SUCheckAtStartup</key>
<false/>
<key>SelDefault</key>
<integer>4</integer>
<key>Unit</key>
<integer>1</integer>
</dict>
</plist>

the key section is as follows, and can just be copied and pasted with the values you desire
Code:
<dict>
<key>FanData</key>
<array>
<dict>
<key>Description</key>
<string>MainFan</string>
<key>Maxspeed</key>
<integer>6200</integer>
<key>Minspeed</key>
<integer>1800</integer>
<key>menu</key>
<true/>
<key>selspeed</key>
<real>2000</real>
</dict>
</array>
<key>Standard</key>
<integer>0</integer>
<key>Title</key>
<string>2000</string>
</dict>

      <key>selspeed</key>
      <real>2000</real>
sets the speed

         <key>Title</key>
         <string>2000</string>
sets the display name

When you're all done, kill smc and restart it to see your new speed options
(http://s3.postimage.org/8zzd1gejz/Screen_shot_2013_02_07_at_11_17_30_AM.jpg) (http://postimage.org/image/8zzd1gejz/)