Advertisement
donniezazen

thinkfan_complex_config

Apr 29th, 2012
309
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.09 KB | None | 0 0
  1. ######################################################################
  2. # thinkfan 0.8 example config file
  3. # ================================
  4. #
  5. # ATTENTION: There is only very basic sanity checking on the configuration.
  6. # That means you can set your temperature limits as insane as you like. You
  7. # can do anything stupid, e.g. turn off your fan when your CPU reaches 70°C.
  8. #
  9. # That's why this program is called thinkfan: You gotta THINK about your FAN!
  10. #
  11. ######################################################################
  12. #
  13. # This file shows how to use sensor-specific temperature limits.
  14. # First of all, you need to specify temperature inputs. On a Thinkpad, you can
  15. # just use:
  16. #
  17. sensor /proc/acpi/ibm/thermal # provides us with 16 temperature inputs
  18.  
  19. #
  20. # On other systems, you have to specify a file in /sys/class/hwmon for each
  21. # sensor you want to use. They are numbered in their order of appearance.
  22. # For example:
  23. # sensor /sys/class/hwmon5/temp2_input #1
  24. # sensor /sys/class/hwmon0/device/temp3_input #2
  25. # ...
  26. #
  27.  
  28. #
  29. # Next we specify the fan we want to use. On a Thinkpad, this is:
  30. #
  31. fan /proc/acpi/ibm/fan
  32.  
  33. #
  34. # On anything other than a Thinkpad you'll probably use some PWM control file
  35. # in /sys/class/hwmon. Remember that fan levels range from 0 to 255 and that
  36. # they're just a number, not including the word "level" as seen below.
  37. #
  38.  
  39. #
  40. # Then you need to specify the temperature limits for each of the sensors.
  41. # A dot means that the corresponding sensor should be ignored. The length of the
  42. # UPPER and LOWER limits must be the same as the number of temperatures. In this
  43. # example, /proc/acpi/ibm/thermal contains 16 sensors (on older thinkpads,
  44. # there may be only 8), some of which are unused (hence the dots).
  45. # A sysfs temperature input always contains only one sensor, so if you specify
  46. # 5 sysfs files above, the length of your limits must be 5, too.
  47. #
  48. # I've come up with these preliminary settings for my Thinkpad T61p. They probably
  49. # don't make sense for anything else, so you most definitely have to work
  50. # something out for yourself.
  51. #
  52. # Sensor count:
  53. # 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
  54. ######################################################
  55. { "level 0" # the fan level
  56. (0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0) # LOWER limit
  57. (54 42 42 54 42 . 42 . 42 46 54 . . . . .) # UPPER limit
  58. }
  59.  
  60. { "level 1"
  61. (46 39 39 48 39 . 39 . 41 44 46 . . . . .)
  62. (58 45 45 60 45 . 45 . 45 47 56 . . . . .)
  63. }
  64.  
  65. { "level 3"
  66. (52 43 43 57 43 . 43 . 43 45 51 . . . . .)
  67. (62 48 48 67 48 . 48 . 48 48 57 . . . . .)
  68. }
  69.  
  70. { "level 5"
  71. (56 46 46 65 46 . 46 . 46 46 52 . . . . .)
  72. (66 49 49 69 49 . 49 . 49 49 58 . . . . .)
  73. }
  74.  
  75. { "level 7"
  76. (63 47 47 67 47 . 47 . 47 47 50 . . . . .)
  77. (73 55 55 83 60 . 60 . 60 60 64 . . . . .)
  78. }
  79.  
  80. { "level disengaged" # nice idea: "level auto" can also be used.
  81. (69 50 50 75 55 . 55 . 55 55 55 . . . . .)
  82. (99 99 99 99 99 . 99 . 99 99 99 . . . . .)
  83. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement