Permalink
Browse files

fancontrol fix

  • Loading branch information...
1 parent 9a332aa commit 0ac4aaa17629fadec5ef2ad8dbcb6ee1d3445fca @graysky2 committed Apr 4, 2013
Showing with 21 additions and 17 deletions.
  1. +21 −17 etc/fancontrol
View
@@ -1,30 +1,34 @@
#
# FANS
-#
-# hwmon0/device/pwm1 = back
-# hwmon0/device/pwm3 = top
-# hwmon0/device/pwm4 = 80mm
-# hwmon0/device/pwm5 = 120mm
+# pwm1 = back
+# pwm3 = top
+# pwm4 = 80mm
+# pwm5 = 120mm
+# Use this in case the order of symlinks change
# ls /sys/class/hwmon/ -al
-# hwmon2 = coretemp.0
-# hwmon3 = nct6775
+# hwmon0 = coretemp.0
+# hwmon1 = nct6775
+
+# subsitution in vim:
+# :%s/hwmon2/hwmon0/g
+# :%s/hwmon3/hwmon1/g
# DEVICES
# cat /sys/class/hwmon/hwmon1/device/temp{1,2,3,4,5}_input
# 1 is physical and 2-5 are cores 0-3
INTERVAL=10
-DEVPATH=hwmon2=devices/platform/coretemp.0 hwmon3=devices/platform/nct6775.656
-DEVNAME=hwmon2=coretemp hwmon3=nct6779
-FCTEMPS=hwmon3/device/pwm5=hwmon2/device/temp4_input hwmon3/device/pwm4=hwmon2/device/temp4_input hwmon3/device/pwm3=hwmon2/device/temp4_input hwmon3/device/pwm1=hwmon2/device/temp4_input
-FCFANS=hwmon3/device/pwm5=hwmon3/device/fan5_input hwmon3/device/pwm4=hwmon3/device/fan4_input hwmon3/device/pwm3=hwmon3/device/fan3_input hwmon3/device/pwm1=hwmon3/device/fan1_input
+DEVPATH=hwmon0=devices/platform/coretemp.0 hwmon1=devices/platform/nct6775.656
+DEVNAME=hwmon0=coretemp hwmon1=nct6779
+FCTEMPS=hwmon1/device/pwm5=hwmon0/device/temp4_input hwmon1/device/pwm4=hwmon0/device/temp4_input hwmon1/device/pwm3=hwmon0/device/temp4_input hwmon1/device/pwm1=hwmon0/device/temp4_input
+FCFANS=hwmon1/device/pwm5=hwmon1/device/fan5_input hwmon1/device/pwm4=hwmon1/device/fan4_input hwmon1/device/pwm3=hwmon1/device/fan3_input hwmon1/device/pwm1=hwmon1/device/fan1_input
###################### CPU FANS ################################# CASE FANS #####################
# 120mm fan 80mm fan top fan back fan
-MINTEMP=hwmon3/device/pwm5=20 hwmon3/device/pwm4=20 hwmon3/device/pwm3=20 hwmon3/device/pwm1=20
-MAXTEMP=hwmon3/device/pwm5=60 hwmon3/device/pwm4=60 hwmon3/device/pwm3=60 hwmon3/device/pwm1=60
-MINSTOP=hwmon3/device/pwm5=75 hwmon3/device/pwm4=65 hwmon3/device/pwm3=60 hwmon3/device/pwm1=60
-MINSTART=hwmon3/device/pwm5=80 hwmon3/device/pwm4=80 hwmon3/device/pwm3=80 hwmon3/device/pwm1=80
-MINPWM=hwmon3/device/pwm5=75 hwmon3/device/pwm4=65 hwmon3/device/pwm3=60 hwmon3/device/pwm1=60
-MAXPWM=hwmon3/device/pwm5=255 hwmon3/device/pwm4=255 hwmon3/device/pwm3=255 hwmon3/device/pwm1=255
+MINTEMP=hwmon1/device/pwm5=20 hwmon1/device/pwm4=20 hwmon1/device/pwm3=20 hwmon1/device/pwm1=20
+MAXTEMP=hwmon1/device/pwm5=60 hwmon1/device/pwm4=60 hwmon1/device/pwm3=60 hwmon1/device/pwm1=60
+MINSTOP=hwmon1/device/pwm5=75 hwmon1/device/pwm4=65 hwmon1/device/pwm3=60 hwmon1/device/pwm1=60
+MINSTART=hwmon1/device/pwm5=80 hwmon1/device/pwm4=80 hwmon1/device/pwm3=80 hwmon1/device/pwm1=80
+MINPWM=hwmon1/device/pwm5=75 hwmon1/device/pwm4=65 hwmon1/device/pwm3=60 hwmon1/device/pwm1=60
+MAXPWM=hwmon1/device/pwm5=255 hwmon1/device/pwm4=255 hwmon1/device/pwm3=255 hwmon1/device/pwm1=255

0 comments on commit 0ac4aaa

Please sign in to comment.