home *** CD-ROM | disk | FTP | other *** search
/ chilidog.highland.cc.ks.us / chilidog.highland.cc.ks.us.zip / chilidog.highland.cc.ks.us / backup / bradford.20101108.etc.tar.gz / bradford.20101108.etc.tar / etc / sensors.conf < prev    next >
Text File  |  2006-05-02  |  74KB  |  2,530 lines

  1. # Sensors configuration file used by 'libsensors'
  2. #------------------------------------------------
  3. #
  4. ##########################################################################
  5. #                                                                        #
  6. #    PLEASE READ THIS HELPFUL HINT!!!                                    #
  7. #                                                                        #
  8. #       The 'set' lines (generally for min and max values)               #
  9. #       do not take effect until you run 'sensors -s' as root !!!        #
  10. #       We suggest you put 'sensors -s' in a /etc/rc.d/... file          #
  11. #       to be run at boot time after the modules are inserted !!!        #
  12. #                                                                        #
  13. ##########################################################################
  14. #
  15. #
  16. # OVERVIEW
  17. # --------
  18. # This configuration file will be used by all userspace applications
  19. # linked to libsensors. It is NOT used by the lm_sensors drivers directly.
  20. #
  21. # This config file consists of two parts: the heavily commented LM78
  22. # example, and the real parts. Search for '####' if you want to skip
  23. # to the real stuff.
  24. #
  25. # Hash marks introduce comments, which continue until the end of a line.
  26. #
  27. # Identifiers consisting of only digits and letters can be used
  28. # unquoted; other identifiers must be quoted. Escape characters within
  29. # quotes operate like those in C.
  30. #
  31. #
  32. # CHIP LINES
  33. # ----------
  34. # A 'chip' line specifies what the following 'label', 'compute', 'set' and
  35. # 'ignore' lines refer to. In this case, until the
  36. # next 'chip' line, everything refers to all lm78, lm78-j and lm79
  37. # chips. Other examples are *-isa-* for everything on the ISA bus, and
  38. # lm78-j-i2c-*-4e for all lm78-j chips on address 0x4e of any I2C bus.
  39. #
  40. # If more chip statements match a specific chip, they are all considered.
  41. # Later lines overrule earlier lines, so if you set the in0 label for
  42. # lm78-* to "This", and later on the in0 label for lm78-isa-* to "That",
  43. # "That" is used for LM78 chips on the ISA bus, and "This" for LM78
  44. # chips on a non-ISA bus.
  45. #
  46. #    chip "lm78-*" "lm78-j-*" "lm79-*"
  47. #
  48. #
  49. # FEATURE NAMES
  50. # -------------
  51. # Feature names are used in 'label', 'compute', 'set', and 'ignore' lines.
  52. # Example feature names are 'in0', 'temp2', 'in3_min', and 'temp3_over'.
  53. # These features are defined for each chip in lib/chips.c.
  54. #
  55. # Undefined features will be silently ignored in 'label' and 'compute' lines.
  56. # Undefined features in 'set' lines will result in 'Unknonw feature name'
  57. # when running 'sensors -s'.
  58. #
  59. # Unfortunately, feature names starting with a number must be in
  60. # double quotes or you get "parse error, expecting 'NAME'".
  61. #
  62. # If you have trouble, verify the features in lib/chips.c!!!
  63. #
  64. #
  65. # LABEL LINES
  66. # -----------
  67. # A label line describes what a certain feature stands for on your
  68. # mainboard. Programs can retrieve these names and display them.
  69. # If no label is specified for a certain feature, the default name
  70. # (ie. 'fan1' for fan1) is used.
  71. #
  72. # If you specify a label for in1, this label is also used for in1_min and
  73. # in1_max, unless they have their own labels declared. There are several
  74. # of these logical groups.
  75. #
  76. # These are as advised in the LM78 and LM79 data sheets, and used on most
  77. # boards we have seen.
  78. #
  79. #      label in0 "VCore 1"
  80. #      label in1 "VCore 2"
  81. #      label in2 "+3.3V"
  82. #      label in3 "+5V"
  83. #      label in4 "+12V"
  84. #      label in5 "-12V"
  85. #      label in6 "-5V"
  86. #
  87. #
  88. # COMPUTE LINES
  89. # -------------
  90. # A compute line describes how to scale a certain feature. There are
  91. # two expressions in it: the first describes how the /proc value must
  92. # be translated to a user value, the second how a user value must be
  93. # translated to a /proc value. '@' is the value to operate on. You may
  94. # refer to other readable features (like '2 * vid').
  95. #
  96. # The following operators are valid: + - * / ( ) ^ `
  97. # ^ is e**x and ` is ln(x) (valid in library version 2.0.0 /
  98. # lm_sensors 2.8.0 or higher)
  99. #
  100. # Like for the label statement, there are logical groups here. They are
  101. # sometimes a bit different, though. For example, fan1_div is in the
  102. # logical label group of fan1 (it gets the same label if none is declared
  103. # for it), but it is not in the compute group of fan1 (as it uses a
  104. # completely different system of values).
  105. #
  106. #
  107. # VOLTAGE COMPUTATION DETAILS
  108. # ---------------------------
  109. # Most voltage sensors in sensor chips have a range of 0 to 4.096 Volts.
  110. # This is generally sufficient for the 3.3 and CPU (2.5V, for example)
  111. # supply voltages, so the sensor chip reading is the actual voltage.
  112. #
  113. # Other supply voltages must be scaled with an external resistor network.
  114. # The chip driver generally reports the 'raw' value 0 - 4.09 V, and the
  115. # userspace application must convert this raw value to an actual voltage.
  116. # The 'compute' lines provide this facility.
  117. #
  118. # Unfortunately the resistor values vary among motherboard types.
  119. # Therefore you may have to adjust the computations in this file
  120. # to match your motherboard.
  121. #
  122. # For positive voltages (in3, in4), two resistors are used, with the following
  123. # formula (R1,R2: resistor values, Vs: read voltage, Vin: pin voltage)
  124. #    R1 = R2 * (Vs/Vin - 1)
  125. # For negative voltages (in5, in6) two resistors are used, with the following
  126. # formula (Rin,Rf: resistor values, Vs: read voltage, Vin: pin voltage)
  127. #    Rin = (Vs * Rf) / Vin
  128. #
  129. # Note: Some chips use a different formula, see it87 section for example.
  130. #
  131. # Here are the official LM78 and LM79 data sheet values.
  132. #           Vs     R1,Rin   R2,Rf    Vin
  133. #     in3   +5.0      6.8    10     +2.98
  134. #     in4  +12.0     30      10     +3.00
  135. #     in5  -12.0    240      60     +3.00
  136. #     in6   -5.0    100      60     +3.00
  137. #
  138. # These would lead to these declarations:
  139. #     compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
  140. #     compute in4 ((30/10)+1)*@  ,  @/((30/10)+1)
  141. #     compute in5 -(240/60)*@    ,  -@/(240/60)
  142. #     compute in6 -(100/60)*@    ,  -@/(100/60)
  143. #
  144. # On almost any mainboard we have seen, the Winbond compute values lead to
  145. # much better results, though.
  146. #
  147. #           Vs     R1,Rin   R2,Rf    Vin
  148. #     in4  +12.0     28      10     +3.15
  149. #     in5  -12.0    210      60.4   +3.45
  150. #     in6   -5.0     90.9    60.4   +3.33
  151. #
  152. # These leads to these declarations:
  153. #      compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
  154. #      compute in4 ((28/10)+1)*@  ,  @/((28/10)+1)
  155. #      compute in5 -(210/60.4)*@  ,  -@/(210/60.4)
  156. #      compute in6 -(90.9/60.4)*@ ,  -@/(90.9/60.4)
  157. #
  158. # NOTE: On many motherboards, the -5V and -12V sensors are not connected.
  159. # Add ignore lines so these readings will not be displayed. For example:
  160. #    ignore in5
  161. #    ignore in6
  162. #
  163. #
  164. # TEMPERATURE COMPUTATION EXAMPLES
  165. # --------------------------------
  166. # There are two common ways to adjust temperature readings.
  167. # One is to adjust by a constant. The other is to change the
  168. # temperature sensor type.
  169. #
  170. # Add 5 degrees to temperature sensor 1:
  171. #    compute temp1 @+5,@-5
  172. #
  173. # Sensor type adjustments (certain chips only):
  174. # ...Set temp1 to processor's thermal diode:
  175. #    set sensor1 1 (Winbond chips)
  176. #    set sensor1 3 (IT87xx and MTP008 chips)
  177. #
  178. # ...Set temp1 sensor to 3904 transistor:
  179. #    set sensor1 2 (Winbond chips)
  180. #
  181. # ...Set temp1 to thermistor:
  182. #    set sensor1 3435 (Winbond chips)
  183. #    set sensor1 2 (IT87xx and MTP008 chips)
  184. #
  185. # Often, a temperature sensor is disconnected; disable it with an ignore line:
  186. #    ignore temp3
  187. #
  188. #
  189. # SET LINES
  190. # ---------
  191. # Set statements set things like limits. Complete expressions can be
  192. # used. Not everything can sensibly be set: setting 'in0', for example,
  193. # is impossible! These settings are put through the compute translations;
  194. # so if we specify '12.8' for in6, '3.2' will actually be written!
  195. #
  196. # Important note: In the 'sensors' program, these only take effect
  197. # after running 'sensors -s'!!!
  198. #
  199. # Here are some examples:
  200. #
  201. #    set in0_max vid*1.05
  202. #    set in0_min vid*0.95
  203. #    set temp1_over 40
  204. #    set temp1_hyst 37
  205. #
  206. # Think of tempx_over as 'alarm set' and tempx_hyst as 'alarm clear'
  207. # thresholds. In most cases the 'over' value should be higher than
  208. # the 'hyst' value by several degrees.
  209. #
  210. #
  211. # IGNORE LINES
  212. # ------------
  213. # Ignore statements tell certain features are not wanted. User programs can
  214. # still read them if they really want, though; this is just an advisory
  215. # marking. 'in0' would also invalidate 'in0_max' and 'in0_min'.
  216. # 'ignore' does not disable anything in the actual sensor chip; it
  217. # simply advises the user program to not access that data.
  218. #
  219. #    ignore in0
  220. #
  221. #
  222. # STATEMENT ORDER
  223. # ---------------
  224. # Statements can go in any order, EXCEPT that some statements depend
  225. # on others. Dependencies could be either in the library or the driver.
  226. # A 'compute' statement must go before a 'set' statement
  227. # for the same feature or else the 'set' won't be computed correctly.
  228. # This is a library dependency.
  229. # A 'set fan1_div' statement must go before a 'set fan1_min' statement,
  230. # because the driver uses the divisor in calculating the minimum.
  231. # Also, one should set vrm prior to using vid in any formula.
  232. #
  233. #
  234. # BUS LINES
  235. # ---------
  236. # There is one other feature: the 'bus' statement. An example is below.
  237. #
  238. #    bus "i2c-0" "SMBus PIIX4 adapter at e800" "Non-I2C SMBus adapter"
  239. #
  240. # If we refer from now on to 'i2c-0' in 'chip' lines, this will run-time
  241. # be matched to this bus. So even if the PIIX4 is called 'i2c-5' at that
  242. # moment, because five other adapters were detected first, 'i2c-0' in
  243. # the config file would always only match this physical bus. In the above
  244. # config file, this feature is not needed; but the next lines would
  245. # only affect the LM75 chips on the PIIX4 adapter:
  246. #
  247. #    chip "lm75-i2c-0-*"
  248. #
  249. # You should really use the output of /proc/bus/chips to generate bus lines,
  250. # because one mistyped characted will inhibit the match. Wildcards are not
  251. # yet supported; spaces at the end are ignored, though.
  252. #
  253. #
  254. # BEEPS
  255. # -----
  256. # Some chips support alarms with beep warnings. When an alarm is triggered
  257. # you can be warned by a beeping signal through your computer speaker. It
  258. # is possible to enable beeps for all alarms on a chip using the following 
  259. # line:
  260. #
  261. #     set beep_enable 1
  262. #
  263. # or disable them using:
  264. #
  265. #     set beep_enable 0
  266. #
  267. #
  268. ##########################################################################
  269. #### Here begins the real configuration file
  270.  
  271.  
  272. chip "lm78-*" "lm78-j-*" "lm79-*" "w83781d-*"
  273.  
  274. # These are as advised in the LM78 and LM79 data sheets, and used on almost
  275. # any mainboard we have seen.
  276.  
  277.     label in0 "VCore 1"
  278.     label in1 "VCore 2"
  279.     label in2 "+3.3V"
  280.     label in3 "+5V"
  281.     label in4 "+12V"
  282.     label in5 "-12V"
  283.     label in6 "-5V"
  284.  
  285. # For positive voltages (in3, in4), two resistors are used, with the following
  286. # formula (R1,R2: resistor values, Vs: read voltage, Vin: pin voltage)
  287. #   R1 = R2 * (Vs/Vin - 1)
  288. # For negative voltages (in5, in6) two resistors are used, with the following
  289. # formula (Rin,Rf: resistor values, Vs: read voltage, Vin: pin voltage)
  290. #   Rin = (Vs * Rf) / Vin
  291. #
  292. # Here are the official LM78 and LM79 data sheet values.
  293. #       Vs     R1,Rin   R2,Rf    Vin
  294. # in3   +5.0      6.8    10     +2.98
  295. # in4  +12.0     30      10     +3.00
  296. # in5  -12.0    240      60     +3.00
  297. # in6   -5.0    100      60     +3.00
  298. #
  299. # These would lead to these declarations:
  300. # compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
  301. # compute in4 ((30/10)+1)*@  ,  @/((30/10)+1)
  302. # compute in5 -(240/60)*@    ,  -@/(240/60)
  303. # compute in6 -(100/60)*@    ,  -@/(100/60)
  304. #
  305. # On almost any mainboard we have seen, the Winbond compute values lead to
  306. # much better results, though.
  307. #
  308. #       Vs     R1,Rin   R2,Rf    Vin
  309. # in4  +12.0     28      10     +3.15
  310. # in5  -12.0    210      60.4   +3.45
  311. # in6   -5.0     90.9    60.4   +3.33
  312. #
  313. # These leads to these declarations:
  314.  
  315.     compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
  316.     compute in4 ((28/10)+1)*@  ,  @/((28/10)+1)
  317.     compute in5 -(210/60.4)*@  ,  -@/(210/60.4)
  318.     compute in6 -(90.9/60.4)*@ ,  -@/(90.9/60.4)
  319.  
  320. # Here, we assume the VID readings are valid, and we use a max. 5% deviation
  321.  
  322.     set in0_min vid*0.95
  323.     set in0_max vid*1.05
  324.     set in1_min vid*0.95
  325.     set in1_max vid*1.05
  326.     set in2_min 3.3 * 0.95
  327.     set in2_max 3.3 * 1.05
  328.     set in3_min 5.0 * 0.95
  329.     set in3_max 5.0 * 1.05
  330.     set in4_min 12 * 0.95
  331.     set in4_max 12 * 1.05
  332.     set in5_max -12 * 0.95
  333.     set in5_min -12 * 1.05
  334.     set in6_max -5 * 0.95
  335.     set in6_min -5 * 1.05
  336.  
  337. # Examples for lm78, lm78j, lm79 temperature limits
  338. #    set temp_over 40
  339. #    set temp_hyst 37
  340.  
  341. # Examples for w83781d temperature limits
  342. #    set temp1_over 40
  343. #    set temp1_hyst 37
  344. #    set temp2_over 52
  345. #    set temp2_hyst 47
  346. #    set temp3_over 52
  347. #    set temp3_hyst 47
  348.  
  349. # Examples of fan low speed limits
  350. #    set fan1_min 3000
  351. #    set fan2_min 3000
  352. #    set fan3_min 3000
  353.  
  354. # Ignore fans you don't actually have
  355. #    ignore fan1
  356. #    ignore fan2
  357. #    ignore fan3
  358.  
  359. # In case a lm78 is used together with a lm75, the lm78 temp sensor will
  360. # generally show the M/B temperature while the lm75 temp sensor will show
  361. # the CPU temperature.
  362. #    label temp "M/B Temp"
  363.  
  364. # Uncomment the following line to enable beeps for all alarms on this chip
  365. #    set beep_enable 1
  366.  
  367.  
  368.  
  369. chip "lm75-*"
  370.  
  371. # Most boards don't need scaling. Following is
  372. # for the Asus TX97-E. If it doesn't work for you, feel free to complain.
  373. #   compute temp @*2.0, @/2.0
  374.  
  375. # Examples for temperature limits
  376. #    set temp_over 70    
  377. #    set temp_hyst 65    
  378.  
  379. # In case a lm75 is used together with a lm78, the lm78 temp sensor will
  380. # generally show the M/B temperature while the lm75 temp sensor will show
  381. # the CPU temperature.
  382. #    label temp "CPU Temp"
  383.  
  384.  
  385. chip "sis5595-*"
  386.  
  387.     label in0 "VCore 1"
  388.     label in1 "VCore 2"
  389.     label in2 "+3.3V"
  390.     label in3 "+5V"
  391.     label in4 "+12V"
  392.  
  393.     compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
  394.     compute in4 ((28/10)+1)*@  ,  @/((28/10)+1)
  395.  
  396.     set in0_min 2.0 * 0.95
  397.     set in0_max 2.0 * 1.05
  398.     set in1_min 2.0 * 0.95
  399.     set in1_max 2.0 * 1.05
  400.     set in2_min 3.3 * 0.95
  401.     set in2_max 3.3 * 1.05
  402.     set in3_min 5.0 * 0.95
  403.     set in3_max 5.0 * 1.05
  404.     set in4_min 12 * 0.95
  405.     set in4_max 12 * 1.05
  406.  
  407. #
  408. # SiS5595 temperature calculation
  409. # The driver currently includes a calculation due to the wide
  410. # variation in thermistor types on SiS5595 motherboards.
  411. # The driver currently has a calculation of t = (.83x + 52.12).
  412. # One user reports the correct formula of t = (.345x - 12).
  413. # So you want to put a compute line in sensors.conf that has
  414. # the inverse of the driver formula, and put your formula on top of it.
  415. # The inverse of the driver formula is x = (1.20t - 62.77)
  416. # So the final formula is newt = (.345(1.20t - 62.77)) - 12).
  417. # Put this in the sensors.conf file as
  418. # compute temp ((.345 * ((1.20 * @) - 62.77)) - 12), ...
  419. # where ... is the inverse function I leave to you.
  420. #
  421. # Look in your 'Vendor.ini' file to see which one is present
  422. # on your motherboard. Look for the line like:
  423. #    [Temp1]
  424. #         ThermistorType     = NTC-10KC15-1608-1P
  425. # Fix up a 'compute' line to match your thermistor type.
  426. # Warning. You still don't have enough information to do this.
  427. #         ThermistorType     = NTC-10KC15-1608-1P (10K at 25C; Beta = 3435)
  428. #   compute temp ((X * ((1.20 * @) - 62.77)) - Y), ...
  429. #         ThermistorType     = NTC-103KC15-1608-1P  (??)
  430. #   compute temp ((X * ((1.20 * @) - 62.77)) - Y), ...
  431. #         ThermistorType     = NTC-103AT-2 (10K at 25C; Beta = 3435)
  432. #   compute temp ((X * ((1.20 * @) - 62.77)) - Y), ...
  433. #         ThermistorType     = NTC-103JT   (10K at 25C; Beta = 3435)
  434. #   compute temp ((X * ((1.20 * @) - 62.77)) - Y), ...
  435.  
  436. # examples for sis5595 temperature limits;
  437. # for sis5595, temp_hyst is really the low limit, not a hysteresis value
  438. #    set temp_over 40
  439. #    set temp_hyst 37
  440.  
  441.  
  442. chip "w83782d-*" "w83627hf-*"
  443.  
  444. # Same as above for w83781d except that in5 and in6 are computed differently.
  445. # Rather than an internal inverting op amp, the 82d/83s use standard positive
  446. # inputs and the negative voltages are level shifted by a 3.6V reference.
  447. # The math is convoluted, so we hope that your motherboard
  448. # uses the recommended resistor values.
  449.  
  450.     label in0 "VCore 1"
  451.     label in1 "VCore 2"
  452.     label in2 "+3.3V"
  453.     label in3 "+5V"
  454.     label in4 "+12V"
  455.     label in5 "-12V"
  456.     label in6 "-5V"
  457.     label in7 "V5SB"
  458.     label in8 "VBat"
  459.  
  460. # Abit BP6 motherboard has a few differences. VCore1 and VCore2 are the core
  461. # voltages of the two processors. Vtt is memory bus termination resistors
  462. # voltage.
  463. #    label in1 "Vtt"
  464. #    label in8 "VCore2"
  465.  
  466.     compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
  467.     compute in4 ((28/10)+1)*@  ,  @/((28/10)+1)
  468.     compute in5 (5.14 * @) - 14.91  ,  (@ + 14.91) / 5.14
  469.     compute in6 (3.14 * @) -  7.71  ,  (@ +  7.71) / 3.14
  470.     compute in7 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
  471.  
  472. # adjust this if your vid is wrong; see doc/vid
  473. #   set vrm 9.0
  474.  
  475. # set limits to  5% for the critical voltages
  476. # set limits to 10% for the non-critical voltages
  477. # set limits to 20% for the battery voltage
  478.  
  479.     set in0_min vid*0.95
  480.     set in0_max vid*1.05
  481.     set in1_min vid*0.95
  482.     set in1_max vid*1.05
  483.     set in2_min 3.3 * 0.95
  484.     set in2_max 3.3 * 1.05
  485.     set in3_min 5.0 * 0.95
  486.     set in3_max 5.0 * 1.05
  487.     set in4_min 12 * 0.90
  488.     set in4_max 12 * 1.10
  489.     set in5_max -12 * 0.90
  490.     set in5_min -12 * 1.10
  491.     set in6_max -5 * 0.95
  492.     set in6_min -5 * 1.05
  493.     set in7_min 5 * 0.95
  494.     set in7_max 5 * 1.05
  495.     set in8_min 3.0 * 0.80
  496.     set in8_max 3.0 * 1.20
  497.  
  498. # set up sensor types (thermistor is default)
  499. # 1 = PII/Celeron Diode; 2 = 3904 transistor;
  500. # 3435 = thermistor with Beta = 3435
  501. # If temperature changes very little, try 1 or 2.
  502. #   set sensor1 1
  503. #   set sensor2 2
  504. #   set sensor3 3435
  505.  
  506. # examples for temperature limits
  507. #    set temp1_over 40
  508. #    set temp1_hyst 37
  509. #    set temp2_over 52
  510. #    set temp2_hyst 47
  511. #    set temp3_over 52
  512. #    set temp3_hyst 47
  513.  
  514.  
  515. chip "w83783s-*"
  516.  
  517. # Same as above for w83781d except that in5 and in6 are computed differently.
  518. # Rather than an internal inverting op amp, the 82d/83s use standard positive
  519. # inputs and the negative voltages are level shifted by a 3.6V reference.
  520. # The math is convoluted, so we hope that your motherboard
  521. # uses the recommended resistor values.
  522.  
  523.     label in0 "VCore 1"
  524.     label in2 "+3.3V"
  525.     label in3 "+5V"
  526.     label in4 "+12V"
  527.     label in5 "-12V"
  528.     label in6 "-5V"
  529.  
  530.     compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
  531.     compute in4 ((28/10)+1)*@  ,  @/((28/10)+1)
  532.     compute in5 (5.14 * @) - 14.91  ,  (@ + 14.91) / 5.14
  533.     compute in6 (3.14 * @) -  7.71  ,  (@ +  7.71) / 3.14
  534.  
  535. # adjust this if your vid is wrong; see doc/vid
  536. #   set vrm 9.0
  537.  
  538. # set limits to  5% for the critical voltages
  539. # set limits to 10% for the non-critical voltages
  540. # set limits to 20% for the battery voltage
  541.  
  542.     set in0_min vid*0.95
  543.     set in0_max vid*1.05
  544.     set in2_min 3.3 * 0.95
  545.     set in2_max 3.3 * 1.05
  546.     set in3_min 5.0 * 0.95
  547.     set in3_max 5.0 * 1.05
  548.     set in4_min 12 * 0.90
  549.     set in4_max 12 * 1.10
  550.     set in5_max -12 * 0.90
  551.     set in5_min -12 * 1.10
  552.     set in6_max -5 * 0.95
  553.     set in6_min -5 * 1.05
  554.  
  555. # set up sensor types (thermistor is default)
  556. # 1 = PII/Celeron Diode; 2 = 3904 transistor;
  557. # 3435 = thermistor with Beta = 3435
  558. # If temperature changes very little, try 1 or 2.
  559. #   set sensor1 1
  560. #   set sensor2 2
  561.  
  562. # examples for temperature limits
  563. #    set temp1_over 40
  564. #    set temp1_hyst 37
  565. #    set temp2_over 52
  566. #    set temp2_hyst 47
  567.  
  568.  
  569. chip "w83697hf-*"
  570.  
  571. # Same as above for w83781d except that in5 and in6 are computed differently.
  572. # Rather than an internal inverting op amp, the 82d/83s use standard positive
  573. # inputs and the negative voltages are level shifted by a 3.6V reference.
  574. # The math is convoluted, so we hope that your motherboard
  575. # uses the recommended resistor values.
  576.  
  577. # no in1 on this chip.
  578.  
  579.     label in0 "VCore"
  580.     label in2 "+3.3V"
  581.     label in3 "+5V"
  582.     label in4 "+12V"
  583.     label in5 "-12V"
  584.     label in6 "-5V"
  585.     label in7 "V5SB"
  586.     label in8 "VBat"
  587.  
  588. # Tyan Trinity S2495 KT400 has a few differences. Thanks to Eric Schumann
  589. # for proving this information. Same is true for Epox 8K3A and 8KHA+.
  590. # Thanks to Thomas Schorpp for additional feedback.
  591. #    label in2 "VAgp"
  592. #    label in5 "+3.3V" # aka. Vio
  593. #    label in6 "Vdimm"
  594. #    label in7 "VBat"
  595. #    label in8 "V5SB"
  596. #
  597. # You'll also want to comment out the in5 and in6 compute lines right below,
  598. # and rename compute in7 to compute in8.
  599.  
  600.     compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
  601.     compute in4 ((28/10)+1)*@  ,  @/((28/10)+1)
  602.     compute in5 (5.14 * @) - 14.91  ,  (@ + 14.91) / 5.14
  603.     compute in6 (3.14 * @) -  7.71  ,  (@ +  7.71) / 3.14
  604.     compute in7 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
  605.  
  606. # 697HF does not have VID inputs so you MUST set your core
  607. # voltage limits below. Currently set for 1.8V core.
  608. #               vvv
  609.  
  610.     set in0_min 1.8 * 0.95
  611.     set in0_max 1.8 * 1.05
  612.  
  613.     set in2_min 3.3 * 0.95
  614.     set in2_max 3.3 * 1.05
  615.     set in3_min 5.0 * 0.95
  616.     set in3_max 5.0 * 1.05
  617.     set in4_min 12 * 0.90
  618.     set in4_max 12 * 1.10
  619.     set in5_max -12 * 0.90
  620.     set in5_min -12 * 1.10
  621.     set in6_max -5 * 0.95
  622.     set in6_min -5 * 1.05
  623.     set in7_min 5 * 0.95
  624.     set in7_max 5 * 1.05
  625.     set in8_min 3.0 * 0.80
  626.     set in8_max 3.0 * 1.20
  627.  
  628. # And for Tyan Trinity S2495 KT400 and Epox 8K3A and 8KHA+:
  629. #    set in2_min 1.5 * 0.95
  630. #    set in2_max 1.5 * 1.05
  631. #    set in5_min 3.3 * 0.95
  632. #    set in5_max 3.3 * 1.05
  633. #    set in6_min 2.5 * 0.95 # 2.6 on Epox
  634. #    set in6_max 2.5 * 1.05 # 2.6 on Epox
  635. #    set in7_min 3.0 * 0.90
  636. #    set in7_max 3.0 * 1.10
  637. #    set in8_min 5 * 0.90
  638. #    set in8_max 5 * 1.10
  639.  
  640. # set up sensor types (thermistor is default)
  641. # 1 = PII/Celeron Diode; 2 = 3904 transistor;
  642. # 3435 = thermistor with Beta = 3435
  643. # If temperature changes very little, try 1 or 2.
  644. #   set sensor1 1
  645. #   set sensor2 2
  646. #   set sensor3 3435
  647.  
  648. # examples for temperature limits
  649. #    set temp1_over 40
  650. #    set temp1_hyst 37
  651. #    set temp2_over 52
  652. #    set temp2_hyst 47
  653.  
  654.  
  655. chip "w83627thf-*" "w83637hf-*"
  656.  
  657. # Rather than an internal inverting op amp, the 627thf uses standard positive
  658. # inputs and the negative voltages are level shifted by a 3.6V reference
  659. # (same as 82d/83s).
  660. # The math is convoluted, so we hope that your motherboard
  661. # uses the recommended resistor values.
  662. # Note that in1 (+12V) is the usual in4, and in4 (-12V) is the usual in5.
  663. # Data sheet is obviously wrong for in4, the usual formula should work.
  664. # No in5 nor in6.
  665. # sensors doesn't need the ignore lines but sensord does...
  666.     ignore in5
  667.     ignore in6
  668.  
  669.     label in0 "VCore"
  670.     label in1 "+12V"
  671.     label in2 "+3.3V"
  672.     label in3 "+5V"
  673.     label in4 "-12V"
  674.     label in7 "V5SB"
  675.     label in8 "VBat"
  676.  
  677. # Mori Hiroyuki reported to need this (P4P800)
  678. #   compute in0 @/2, @*2
  679.  
  680.     compute in1 ((28/10)+1)*@, @/((28/10)+1)
  681.     compute in3 ((34/51)+1)*@, @/((34/51)+1)
  682.     compute in4 (5.14*@)-14.91, (@+14.91)/5.14
  683.     compute in7 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
  684.  
  685. # adjust this if your vid is wrong; see doc/vid
  686. #   set vrm 9.0
  687.  
  688. # set limits to  5% for the critical voltages
  689. # set limits to 10% for the non-critical voltages
  690. # set limits to 20% for the battery voltage
  691. # if your vid is wrong, you'll need to adjust in0_min and in0_max
  692.  
  693.     set in0_min vid * 0.95
  694.     set in0_max vid * 1.05
  695.     set in1_min 12 * 0.90
  696.     set in1_max 12 * 1.10
  697.     set in2_min 3.3 * 0.95
  698.     set in2_max 3.3 * 1.05
  699.     set in3_min 5.0 * 0.95
  700.     set in3_max 5.0 * 1.05
  701.     set in4_min -12 * 1.10
  702.     set in4_max -12 * 0.90
  703.     set in7_min 5 * 0.95
  704.     set in7_max 5 * 1.05
  705.     set in8_min 3.0 * 0.80
  706.     set in8_max 3.0 * 1.20
  707.  
  708. # set up sensor types (thermistor is default)
  709. # 1 = PII/Celeron Diode; 2 = 3904 transistor;
  710. # 3435 = thermistor with Beta = 3435
  711. # If temperature changes very little, try 1 or 2.
  712. #   set sensor1 1
  713. #   set sensor2 2
  714. #   set sensor3 3435
  715.  
  716.     label temp1 "M/B Temp"
  717.     label temp2 "CPU Temp"
  718. #   ignore temp3
  719.  
  720. # examples for temperature limits
  721. #    set temp1_over 40
  722. #    set temp1_hyst 37
  723. #    set temp2_over 52
  724. #    set temp2_hyst 47
  725. #    set temp3_over 52
  726. #    set temp3_hyst 47
  727.  
  728. #   ignore fan1
  729.     label fan2 "CPU Fan"
  730. #   ignore fan3
  731.  
  732.  
  733. # Here are configurations for Winbond W83792AD/D chip.
  734. chip "w83792d-*"
  735.  
  736.     label in0 "VCoreA"
  737.     label in1 "VCoreB"
  738.     label in2 "VIN0"
  739.     label in3 "VIN1"
  740.     label in4 "VIN2"
  741.     label in5 "VIN3"
  742.     label in6 "5VCC"
  743.     label in7 "5VSB"
  744.     label in8 "VBAT"
  745.     label fan1 "Fan1"
  746.     label fan2 "Fan2"
  747.     label fan3 "Fan3"
  748.     label fan4 "Fan4"
  749.     label fan5 "Fan5"
  750.     label fan6 "Fan6"
  751.     label fan7 "Fan7"
  752.     label temp1 "Temp1"
  753.     label temp2 "Temp2"
  754.     label temp3 "Temp3"
  755.  
  756.     set in0_min 1.4
  757.     set in0_max 1.6
  758.     set in1_min 1.4
  759.     set in1_max 1.6
  760.     set in2_min 3.2
  761.     set in2_max 3.4
  762.     set in3_min 3.1
  763.     set in3_max 3.3
  764.     set in4_min 1.4
  765.     set in4_max 1.5
  766.     set in5_min 2.6
  767.     set in5_max 2.65
  768.     set in6_min 5 * 0.95
  769.     set in6_max 5 * 1.05
  770.     set in7_min 5 * 0.95
  771.     set in7_max 5 * 1.05
  772.     set in8_min 3 * 0.95
  773.     set in8_max 3 * 1.05
  774.  
  775. # fan1 adjustments examples
  776.  
  777. #   set fan1_div 4
  778. #   set fan1_min 1500
  779.  
  780. # temp2 limits examples
  781.  
  782. #    set temp2_over 42
  783. #    set temp2_hyst 37
  784.  
  785. # ignore examples
  786.  
  787. #    ignore fan7
  788. #    ignore temp3
  789.  
  790. chip "as99127f-*"
  791.  
  792. # Asus won't release a datasheet so this is guesswork.
  793. # Thanks to Guntram Blohm, Jack, Ed Harrison, Artur Gawryszczak,
  794. # Victor G. Marimon and others for their feedback.
  795.  
  796. # Dual power plane
  797.     label in0 "VCore 1"
  798.     label in1 "VCore 2"
  799. # Single power plane (A7V133, A7M266, CUV4X)
  800. #   label in0 "VCore"
  801. #   ignore in1
  802.  
  803.     label in2 "+3.3V"
  804.     label in3 "+5V"
  805.     label in4 "+12V"
  806. # These last two may not make sense on all motherboards.
  807.     label in5 "-12V"
  808.     label in6 "-5V"
  809.  
  810.     compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
  811.     compute in4 ((28/10)+1)*@  ,  @/((28/10)+1)
  812. # AS99127F rev.1 (same as w83781d)
  813.     compute in5 -(240/60.4)*@ ,  -@/(240/60.4)
  814.     compute in6 -(90.9/60.4)*@ ,  -@/(90.9/60.4)
  815. # AS99127F rev.2 (same as w83782d)
  816. #   compute in5 (5.14 * @) - 14.91 , (@ + 14.91) / 5.14
  817. #   compute in6 (3.14 * @) -  7.71 , (@ +  7.71) / 3.14
  818.  
  819. # Depending on your motherboard, you may have to use any of two formulae
  820. # for temp2. Quoting Artur Gawryszczak (edited to reflect subsequent fixes
  821. # to the driver):
  822. # "I guess, that the formula "(@*15/43)+25, (@-25)*43/15" is correct
  823. # for those Asus motherboards, which get CPU temperature from internal 
  824. # thermal diode (Pentium Coppermine, and above), while no formula is needed
  825. # for Athlon/Duron boards, which use a thermistor in the socket."
  826. # An alternative formula was then found and reported by Victor G. Marimon.
  827.  
  828. # Asus A7V133, Asus A7M266
  829. #   No compute line is needed
  830. # Asus CUV4X, Asus A7V8X
  831. #   compute temp2 (@*15/43)+25, (@-25)*43/15
  832. # Asus CUSL2, Asus CUV266-DLS, Asus TUSL2-C
  833. #   compute temp2 (@*30/43)+25, (@-25)*43/30
  834.  
  835. # See comments above if temp3 looks bad. What works for temp2 is likely
  836. # to work for temp3 for dual-CPU boards, such as the CUV4X-D.
  837.  
  838. # Most Asus boards have temperatures settled like that:
  839.     label temp1 "M/B Temp"
  840.     label temp2 "CPU Temp"
  841. # However, some boards have them swapped (A7N8X Deluxe rev.2,
  842. # A7N8X-E Deluxe rev.2, A7N8X-X, CUV4X):
  843. #   label temp1 "CPU Temp"
  844. #   label temp2 "M/B Temp"
  845.  
  846. # Most boards have no temp3 by default, except for dual-CPU boards.
  847. #   label temp3 "CPU 2 Temp"
  848. #   ignore temp3
  849.  
  850. # adjust this if your vid is wrong; see doc/vid
  851. #   set vrm 9.0
  852.  
  853. # set limits to  5% for the critical voltages
  854. # set limits to 10% for the non-critical voltages
  855. # set limits to 20% for the battery voltage
  856.  
  857.     set in0_min vid*0.95
  858.     set in0_max vid*1.05
  859.     set in1_min vid*0.95
  860.     set in1_max vid*1.05
  861.     set in2_min 3.3 * 0.95
  862.     set in2_max 3.3 * 1.05
  863.     set in3_min 5.0 * 0.95
  864.     set in3_max 5.0 * 1.05
  865.     set in4_min 12 * 0.90
  866.     set in4_max 12 * 1.10
  867.     set in5_max -12 * 0.90
  868.     set in5_min -12 * 1.10
  869.     set in6_max -5 * 0.95
  870.     set in6_min -5 * 1.05
  871.  
  872. # examples for temperature limits
  873. #    set temp1_over 40
  874. #    set temp1_hyst 37
  875. #    set temp2_over 52
  876. #    set temp2_hyst 47
  877. #    set temp3_over 52
  878. #    set temp3_hyst 47
  879.  
  880. # The A7N8X-X board is known to need this:
  881. # (reported by Roberto Sebastiano <robs@multiplayer.it>)
  882. #    compute fan1  @/2,  2*@
  883.  
  884.  
  885. chip "gl518sm-*"
  886.  
  887. # IMPORTANT: in0, in1, and in2 values (+5, +3, and +12) CANNOT be read
  888. #            unless you use the slow 'iterate' method. Limits will still
  889. #            work even when iterate=0. See doc/chips/gl518sm.
  890. #            Note that the 'iterate' method was trimmed while porting the
  891. #            driver to Linux 2.6 as we considered it too ugly for the thin
  892. #            benefit.
  893. #
  894. # Factors and labels taken from GL518SM datasheet, they seem to give
  895. # reasonable values with EISCA connected Fan78
  896.  
  897.   label vdd "+5V"
  898.   label vin1 "+3.3V"
  899.   label vin2 "+12V"
  900.   label vin3 "Vcore"
  901.  
  902. # vin2 depends on external resistors (4,7k and 15k assumed here)
  903. # vin1 and vin3 require no scaling
  904.  
  905.   compute vin2 (197/47)*@  ,  @/(197/47)
  906.  
  907.   set vdd_min 4.8
  908.   set vdd_max 5.2
  909.   set vin1_min 3.20
  910.   set vin1_max 3.40
  911.   set vin2_min 11.0
  912.   set vin2_max 13.0
  913.   set vin3_min 2.10
  914.   set vin3_max 2.30
  915. #  set fan1_off 0
  916. #  set fan2_min 0
  917.  
  918. # Do NOT uncomment the following line with the Linux 2.6 kernel driver,
  919. # as it'll raise an error.
  920. # set iterate 2
  921.  
  922.  
  923. chip "gl520sm-*"
  924.  
  925. # Factors and labels taken from GL520SM datasheet
  926.  
  927. # The GL520SM has two application modes. In mode 1 it has two thermistor
  928. # inputs, in mode 2 it has only one and an extra (negative) voltage input.
  929. # The mode is supposed to be set properly by your BIOS so you should not
  930. # need to change it. You can force it below if really needed though.
  931. # Note that this means that you have either temp2 or vin4 but never both
  932. # at the same time.
  933.  
  934. # set two_temps 1
  935.  
  936.   label vdd "+5V"
  937.   label vin1 "+3.3V"
  938.   label vin2 "+12V"
  939.   label vin3 "Vcore"
  940.   label vin4 "-12V"
  941.  
  942. # vin1 and vin3 require no scaling
  943. # vin2 depends on external resistors (4,7k and 15k assumed)
  944.  
  945. # vin4 = ((R1+R2)/R2)*@ - (R1/R2)*vdd
  946. #
  947. #       -12 --| R1 |---t---| R2 |-- +5
  948. #                      |
  949. #                    vin4
  950. #
  951.  
  952.   compute vin2 (197/47)*@  ,  @/(197/47)
  953.   compute vin4 (5*@)-(4*vdd) , (@+4*vdd)/5
  954.  
  955.   set vdd_min 4.8
  956.   set vdd_max 5.2
  957.   set vin1_min 3.20
  958.   set vin1_max 3.40
  959.   set vin2_min 11.0
  960.   set vin2_max 13.0
  961.   set vin3_min 2.10
  962.   set vin3_max 2.30
  963.  
  964.  
  965. chip "lm80-*"
  966.  
  967. # The values below should be correct if you own a qdi BX (brilliant1)
  968. # mainboard. If not, please contact us, so we can figure out better readings.
  969. # Many thanks go to Peter T. Breuer <ptb@it.uc3m.es> for helping us figure
  970. # out how to handle the LM80.
  971.  
  972. # For positive voltages (in0..in4), two resistors are used, with the following
  973. # formula (R1,R2: resistor values, Vs: read voltage, Vin: pin voltage)
  974. #   R1 = R2 * (Vs/Vin - 1)
  975. # For negative voltages (in5, in6) two resistors are used, with the following
  976. # formula (R3,R4: resistor values, Vs: read voltage, Vin: pin voltage,
  977. # V5: +5V)
  978. #   R3 = R4 * (Vs - Vin) / (Vin - V5)
  979.  
  980. # Here are the official LM80 data sheet values.
  981. #       Vs      R1,R3   R2,R4    Vin
  982. #       +2.5V    23.7    75     +1.9
  983. #       +3.3V    22.1    30     +1.9
  984. #       +5.0     24      14.7   +1.9
  985. #      +12.0    160      30.1   +1.9
  986. #      -12.0    160      35.7   +1.9
  987. #       -5.0     36      16.2   +1.9
  988.  
  989. # Now curiously enough, VCore is connected with (unknown) resistors, which
  990. # translate a +2.8V to +1.9V. So we use that in the computations below.
  991.  
  992.     label in0 "+5V"
  993.     label in1 "VTT"
  994.     label in2 "+3.3V"
  995.     label in3 "+Vcore"
  996.     label in4 "+12V"
  997.     label in5 "-12V"
  998.     label in6 "-5V"
  999.  
  1000.     compute in0 (24/14.7 + 1) * @ ,       @ / (24/14.7 + 1)
  1001.     compute in2 (22.1/30 + 1) * @ ,       @ / (22.1/30 + 1)
  1002.     compute in3 (2.8/1.9) * @,            @ * 1.9/2.8
  1003.     compute in4 (160/30.1 + 1) * @,       @ / (160/30.1 + 1)
  1004.     compute in5 (160/35.7)*(@ - in0) + @, (@ + in0 * 160/35.7)/ (1 + 160/35.7)
  1005.     compute in6 (36/16.2)*(@ - in0) + @,  (@ + in0 * 36/16.2) / (1 + 36/16.2)
  1006.  
  1007.     set in0_min 5 * 0.95
  1008.     set in0_max 5 * 1.05
  1009. # What is your VTT? It is probably not this value...
  1010.     set in1_min 2*0.95
  1011.     set in1_max 2*1.05
  1012.     set in2_min 3.3 * 0.95
  1013.     set in2_max 3.3 * 1.05
  1014. # What is your VCore? It is probably not this value...
  1015.     set in3_min 1.9 * 0.95
  1016.     set in3_max 1.9 * 1.05
  1017.     set in4_min 12 * 0.95
  1018.     set in4_max 12 * 1.05
  1019.     set in5_min -12 * 1.05
  1020.     set in5_max -12 * 0.95
  1021.     set in6_min -5 * 1.05
  1022.     set in6_max -5 * 0.95
  1023.  
  1024. # examples for lm80 temperature limits
  1025. # WARNING - nonstandard names and functions for the lm80!!!
  1026. # All 4 of these limits apply to the single temperature sensor.
  1027. # "hot" is like the standard alarm for most chips.
  1028. # "os" is the threshold for the overtemperature shutdown output.
  1029. # "os" may or may not do anything on your motherboard but it should
  1030. #  be set higher than the "hot" thresholds.
  1031. # Note that the /proc file 'temp" also has five entries instead of
  1032. # the usual three.
  1033. #    set temp_hot_hyst 45
  1034. #    set temp_hot_max  52
  1035. #    set temp_os_hyst  57
  1036. #    set temp_os_max   62
  1037.  
  1038.  
  1039. chip "maxilife-cg-*" "maxilife-co-*" "maxilife-as-*"
  1040.  
  1041.    label fan1  "HDD Fan"
  1042.    label fan2  "PCI Fan"
  1043.    label fan3  "CPU Fan"
  1044.    ignore fan4
  1045.  
  1046.    label temp2 "PCI Temp"
  1047.    label temp4 "HDD Temp"
  1048.    label temp5 "CPU Temp"
  1049.    ignore temp6
  1050.  
  1051.    label vid1  "V+12"
  1052.    ignore vid5
  1053.  
  1054. # vid1 need to be scaled by 6.337 other voltages
  1055. # require no scaling
  1056.  
  1057.    compute vid1 6.337*@ , @/6.337
  1058.  
  1059.  
  1060. chip "maxilife-cg-*"
  1061.  
  1062.    ignore temp1
  1063.    label temp3  "BX Temp"
  1064.  
  1065.    label vid2   "Vcpu1"
  1066.    label vid3   "Vcpu2"
  1067.    ignore vid4
  1068.  
  1069.  
  1070. chip "maxilife-co-*"
  1071.  
  1072.    label temp1  "CPU 1 Temp"
  1073.    label temp3  "CPU 2 Temp"
  1074.  
  1075.    label vid2   "Vcpu1"
  1076.    label vid3   "Vcpu2"
  1077.    label vid4   "VcacheL2"
  1078.  
  1079.  
  1080. chip "maxilife-as-*"
  1081.  
  1082.    ignore temp1
  1083.    ignore temp3
  1084.  
  1085.    label vid2   "Vcpu"
  1086.    ignore vid3
  1087.    ignore vid4
  1088.  
  1089.  
  1090. chip "maxilife-nba-*"
  1091.  
  1092.    label fan1  "CPU Fan"
  1093.    label fan2  "PCI Fan"
  1094.    label fan3  "HDD Fan"
  1095.    label fan4  "Heat Sink Fan"
  1096.  
  1097.    label temp1  "CPU 1 Temp"
  1098.    label temp2  "CPU 2 Temp"
  1099.    label temp3  "PCI/Ambient Temp"
  1100.    label temp4  "HDD Temp"
  1101.    label temp5  "Motherboard Temp"
  1102.    label temp6  "CPU Reference Temp"
  1103.  
  1104.    label vid1  "V+12"
  1105.    label vid2  "Vcpu1"
  1106.    label vid3  "Vcpu2"
  1107.    label vid4  "VcacheL2"
  1108.    label vid5  "V-12"
  1109.  
  1110.  
  1111. chip "via686a-*"
  1112.  
  1113. # VIA is very specific about the voltage sensor inputs, and our labels
  1114. # reflect what they say.  Unfortunately, they are not at all specific about
  1115. # how to convert any of the register values to real units.  Fortunately,
  1116. # Jonathan Yew <j.teh@iname.com> and Alex van Kaam <darkside@chello.nl>
  1117. # came through with some data for temp conversion and formulae for voltage
  1118. # conversion. However, the conversions should be regarded as our best guess-
  1119. # YMMV.
  1120.  
  1121. # On the Tyan S1598, the 2.5V sensor reads 0 and is not displayed in the BIOS.
  1122. # Linas Vepstas <linas@linas.org> reports that this sensor shows nothing of
  1123. # interest on the Abit KA7 (Athlon), and is also not displayed in the BIOS.
  1124. # Likewise, Johannes Drechsel-Burkhard <jdb@chello.at> reports that this
  1125. # sensor is unavailable in the BIOS of his MSI K7T Pro (Thunderbird).  So,
  1126. # if you have one of these boards you may want to uncomment the 'ignore 2.5V'
  1127. # line below.
  1128.  
  1129.     label "2.0V" "CPU core"
  1130.     label "2.5V" "+2.5V"
  1131.     #ignore "2.5V"
  1132.     label "3.3V" "I/O"
  1133.     label "5.0V" "+5V"
  1134.     label "12V" "+12V"
  1135.  
  1136.     label fan1  "CPU Fan"
  1137.     label fan2  "P/S Fan"
  1138.  
  1139. # VIA suggests that temp3 is an internal temp sensor for the 686a.  However,
  1140. # on the Tyan S1598 as well as the Abit KA7 (Athalon), the absolute values
  1141. # of the readings from that sensor are not valid.  The readings do seem to
  1142. # correlate with temp changes, but the conversion factor may be quite
  1143. # different from temp1 & temp2 (as noted above, VIA has not provided
  1144. # conversion info).  So, you may wish to 'ignore temp3'.
  1145.  
  1146. # Johannes Drechsel-Burkhard <jdb@chello.at> notes that on his MSI K7T Pro,
  1147. # temp1 is the CPU temp and temp2 is the SYS temp. Hugo van der Merwe notes
  1148. # the same for his Gigabyte GA-7DXC, Olivier Martin for his Gigabyte
  1149. # GA-7ZM and Patrick Thomson for his Chaintech CT-5ATA. 
  1150.  
  1151.     label temp1 "SYS Temp"
  1152.     label temp2 "CPU Temp"
  1153.     label temp3 "SBr Temp"
  1154.     #ignore temp3
  1155.  
  1156. # Set your CPU core limits here if the BIOS did not.
  1157.  
  1158.     #set in0_min 1.70 * 0.95
  1159.     #set in0_max 1.70 * 1.05
  1160.  
  1161. # Other voltage values are standard so we can enforce the limits.
  1162.  
  1163.     set in1_min 2.5 * 0.95
  1164.     set in1_max 2.5 * 1.05
  1165.     set in2_min 3.3 * 0.95
  1166.     set in2_max 3.3 * 1.05
  1167.     set in3_min 5 * 0.9
  1168.     set in3_max 5 * 1.1
  1169.     set in4_min 12 * 0.9
  1170.     set in4_max 12 * 1.1
  1171.  
  1172. # Set your temp limits here.  Remember, 'tempX_over' is the temp at which an
  1173. # alarm is triggered, and 'tempX_hyst' is the temp at which an alarm turns off.
  1174. # Setting tempX_hyst to a few degrees below the corresponding tempX_over
  1175. # prevents an oscillation between alarm on and off states.  This kind of
  1176. # oscillation is known as hyteresis, thus the name.  (You typically get the
  1177. # most serious and troublesome hysteresis when a sensor triggers something to
  1178. # reduce the temp, thus creating a negative feedback loop.  Even without that,
  1179. # we would still get some oscillation when the temp hovers around the limit
  1180. # due to noise.)
  1181.  
  1182.     set temp1_hyst 40
  1183.     set temp1_over 45
  1184.     set temp2_hyst 55
  1185.     set temp2_over 60
  1186.     set temp3_hyst 60
  1187.     set temp3_over 65
  1188.  
  1189. # You could set your fan limits too, but the defaults should be fine.
  1190.  
  1191.     #set fan1_min 5000
  1192.     #set fan2_min 5000
  1193.  
  1194.  
  1195. chip "mtp008-*"
  1196.  
  1197. # The values below should be correct if you own a Tyan S1834D motherboard.
  1198. # If not, please contact us, so we can figure out better readings.
  1199. # FOR TYAN S2510 SEE END OF THIS SECTION.
  1200.  
  1201. # For positive voltages outside the 0..4.09V range (in2..in4), two resistors
  1202. # are used, with the following formula (R1,R2: resistor values, Vs: read
  1203. # voltage, Vin: pin voltage)
  1204. #   Vin = Vs * (R2 / (R1 + R2))
  1205. # For negative voltages (in5) two resistors are used, with the following
  1206. # formula (R3,R4: resistor values, Vs: read voltage, Vin: pin voltage)
  1207. #   Vin = ((4.096 - Vs) * (R3 / (R3 + R4))) + Vs
  1208.  
  1209. # Here are the official MTP008 data sheet values:
  1210. #       Vs      R1,R3   R2,R4    Vin
  1211. #      +12.0    28000   10000   +3.16
  1212. #      -12.0   232000   56000   +0.96
  1213. #       -5.0   120000   56000   +1.20
  1214.  
  1215.     label in0 "VCore1"
  1216.     label in1 "+3.3V"
  1217.     label in2 "+12V"
  1218.     label in3 "Vcore2"
  1219.     ignore in4
  1220.     label in5 "-12V"
  1221.     label in6 "Vtt"
  1222.  
  1223.     label fan1 "CPU1 Fan"
  1224.     label fan2 "CPU2 Fan"
  1225.     label fan3 "fan3"
  1226.  
  1227.     label temp1 "CPU1 Temp"
  1228.     label temp2 "CPU2 Temp"
  1229.     ignore temp3
  1230.  
  1231.     compute in2 @ * 38 / 10,        @ * 10 / 38
  1232.     compute in5 (@ * 36 - 118.61) / 7,    (118.61 + 7 * @) / 36
  1233.  
  1234. # examples for temperature limits
  1235. #    set temp1_over 40
  1236. #    set temp1_hyst 37
  1237. #    set temp2_over 52
  1238. #    set temp2_hyst 47
  1239. #    set temp3_over 52
  1240. #    set temp3_hyst 47
  1241.  
  1242. # End of standard mtp008 configuration
  1243.  
  1244. # TYAN S2510 INFORMATION
  1245. # This motherboard has two mtp008's which are hooked up differently,
  1246. # so they must be configured separately.
  1247. # For this motherboard, COMMENT OUT the above mtp008 section and
  1248. # UNCOMMENT the following two sections.
  1249. #
  1250. #chip "mtp008-i2c-*-2c"
  1251. #    label in0 "VCore1"
  1252. #    set in0_min 1.60
  1253. #    set in0_max 1.80
  1254. #    label in1 "+3.3V"
  1255. #    label in2 "+12V"
  1256. #    label in3 "Vcore2"
  1257. #    set in3_min 1.60
  1258. #    set in3_max 1.80
  1259. #    ignore in4
  1260. #    label in5 "-12V"
  1261. #    label in6 "Vtt"
  1262. #    label fan1 "CPU1 Fan"
  1263. #    label fan2 "CPU2 Fan"
  1264. #    label fan3 "fan3"
  1265. #    label temp1 "CPU1 Temp"
  1266. #    label temp2 "CPU2 Temp"
  1267. #    ignore temp3
  1268. #    compute in2 @ * 38 / 10,        @ * 10 / 38
  1269. #    compute in5 (@ * 36 - 118.61) / 7,    (118.61 + 7 * @) / 36
  1270. #
  1271. #chip "mtp008-i2c-*-2e"
  1272. #    ignore in0
  1273. #    label in1 "+3.3V"
  1274. #    ignore in2
  1275. #    label in3 "+5V"
  1276. #    set in3_min 4.50
  1277. #    set in3_max 5.50
  1278. #    ignore in4
  1279. #    label in5 "+3.3V"
  1280. #    ignore in6
  1281. #    label fan1 "fan4"
  1282. #    label fan2 "fan5"
  1283. #    label fan3 "fan6"
  1284. #    ignore temp1
  1285. #    label temp2 "MB Temp"
  1286. #    set temp2_over 52
  1287. #    set temp2_hyst 47
  1288. #    ignore temp3
  1289.  
  1290. chip "adm1025-*" "ne1619-*"
  1291.  
  1292. # The ADM1025 has integrated scaling resistors, rather
  1293. # than external resistors common to most sensor devices.
  1294. # These apply to the 6 voltage inputs in0-in5 (+2.5V, VCore,
  1295. # +3.3V, +5V, +12V, VCC). As the scaling is fixed inside
  1296. # the chip for these inputs, it is fairly certain that the
  1297. # motherboard connections match these labels, and that the
  1298. # driver computations are correct. Therefore they do not need to
  1299. # be overridden here.
  1300.  
  1301.     label in0 "+2.5V"
  1302.     label in1 "VCore"
  1303.     label in2 "+3.3V"
  1304.     label in3 "+5V"
  1305.     label in4 "+12V"
  1306.     label in5 "VCC"
  1307.  
  1308. # Adjust this if your vid is wrong; see doc/vid
  1309. #   set vrm 9.0
  1310.  
  1311. # Tolerate a 5% deviance for CPU power-supply
  1312.     set in1_min vid * 0.95
  1313.     set in1_max vid * 1.05
  1314. # Tolerate a 10% deviance for other voltages
  1315.     set in0_min 2.5 * 0.90
  1316.     set in0_max 2.5 * 1.10
  1317.     set in2_min 3.3 * 0.90
  1318.     set in2_max 3.3 * 1.10
  1319.     set in3_min 5.0 * 0.90
  1320.     set in3_max 5.0 * 1.10
  1321.     set in4_min 12 * 0.90
  1322.     set in4_max 12 * 1.10
  1323.     set in5_min 3.3 * 0.90
  1324.     set in5_max 3.3 * 1.10
  1325.  
  1326. # Depending on how your chipset is hardwired, you may or may not have
  1327. # +12V readings (will show as 0.0V if you don't have it).
  1328. #   ignore in4
  1329.  
  1330. # VCC is the power-supply voltage of the ADM1025 chipset, generally
  1331. # redundant with +3.3V so you may want to hide it.
  1332. #   ignore in5
  1333.  
  1334. # Temperatures
  1335.     label temp1 "CPU Temp"
  1336.     label temp2 "M/B Temp"
  1337.     set temp1_low 10
  1338.     set temp1_high 60
  1339.     set temp2_low 10
  1340.     set temp2_high 45
  1341.  
  1342.  
  1343. chip "lm87-*"
  1344. #
  1345. # The LM87 has integrated scaling resistors, rather
  1346. # than external resistors common to most sensor devices.
  1347. # These apply to the first 6 voltage inputs in0-in5
  1348. # (+2.5, Vccp1, +3.3, +5, 12, +Vccp2). As the scaling is fixed inside
  1349. # the chip for these inputs, it is fairly certain that the
  1350. # motherboard connections match these labels, and that the
  1351. # driver computations are correct. Therefore they do not need to
  1352. # be overridden here.
  1353. #
  1354. # Note: AIN1 (-12?), AIN2 (-5?) and temp3 require changing
  1355. # #defines in the driver and recompiling!!!
  1356. # This does not apply to the Linux 2.6 driver.
  1357. #
  1358. # This chip has non-standard entries in lib/chips.c so
  1359. # the feature names are quite different from other chips.
  1360. # For this chip, libsensors anticipates the correct labeling.
  1361. # This is great if it's correct but makes it a little more
  1362. # difficult if you want to change it.
  1363. #
  1364. # This may not have been a good idea, so it may be changed in the future.
  1365. # Here is an entry with everything commented out so you can
  1366. # uncomment the appropriate line if you want to change it.
  1367. #
  1368. # Warning - feature names starting with a number must be enclosed
  1369. # with double quotes.
  1370.  
  1371.    label "2.5V"  "+2.5V"
  1372.    label Vccp1   "VCore"
  1373.    label "3.3V"  "+3.3V"
  1374.    label "5V"    "+5V"
  1375.    label "12V"   "+12V"
  1376. #   label Vccp2   "VCore2"
  1377.  
  1378.    label fan1 "CPU Fan"
  1379. #   label fan2 "Case Fan"
  1380.    label temp1 "M/B Temp"
  1381.    label CPU_Temp "CPU Temp"
  1382. #   label temp3 "AUX Temp"
  1383.  
  1384.    set Vccp1_min    vid * 0.95
  1385.    set Vccp1_max    vid * 1.05
  1386.    set "3.3V_min"   3.3 * 0.92
  1387.    set "3.3V_max"   3.3 * 1.08
  1388.    set "5V_min"       5 * 0.92
  1389.    set "5V_max"       5 * 1.08
  1390.    set "12V_min"     12 * 0.90
  1391.    set "12V_max"     12 * 1.10
  1392.  
  1393. # These ones are mutually exclusive with temp3. If you have temp3,
  1394. # comment out these lines as they will trigger errors on "sensors -s".
  1395.    set "2.5V_min"   2.5 * 0.92
  1396.    set "2.5V_max"   2.5 * 1.08
  1397.    set Vccp2_min    vid * 0.95
  1398.    set Vccp2_max    vid * 1.05
  1399.  
  1400. # Increase fan clock dividers if your fans read 0 RPM while you know
  1401. # they are connected and running.
  1402. #   set fan1_div 4
  1403. #   set fan2_div 4
  1404.  
  1405.    set fan1_min 3000
  1406.    set fan2_min 3000
  1407.  
  1408.    set temp1_min   5
  1409.    set temp1_max  65
  1410.    set temp2_min   5
  1411.    set temp2_max  70
  1412.  
  1413. # Uncomment if you actually have temp3 (which means you don't have 2.5V
  1414. # nor Vccp2, as they are mutually exclusive).
  1415. #   set temp3_min   5
  1416. #   set temp3_max  70
  1417.  
  1418. # LM87 AIN1 and AIN2 Section
  1419. # As described above, the driver must be recompiled to use either or
  1420. # both of these. -12 and -5 may be reversed on your board, this is
  1421. # just a guess, the datasheet gives no guidance.
  1422. # Note that the Linux 2.6 driver needs no recompilation, it'll read the
  1423. # configuration from the chip.
  1424. #   label AIN1 "-12V"
  1425. #   label AIN2 "-5V"
  1426. #   set AIN1_min -12 * 0.95
  1427. #   set AIN2_min -5 * 0.95
  1428. #   set AIN1_max -12 * 1.05
  1429. #   set AIN2_max -5 * 1.05
  1430. #   compute AIN1 (7.50 * @) - 21.45  ,  (@ + 21.45) / 7.50
  1431. #   compute AIN2 (4.05 * @) - 10.07  ,  (@ + 10.07) / 4.05
  1432.  
  1433. chip "adm9240-*" "ds1780-*" "lm81-*"
  1434. #
  1435. # These chips have non-standard entries in lib/chips.c so
  1436. # the feature names are quite different from other chips.
  1437. # For these chips, libsensors anticipates the correct labeling.
  1438. # This is great if it's correct but makes it a little more
  1439. # difficult if you want to change it.
  1440. #
  1441. # This may not have been a good idea, so it may be changed in the future.
  1442. # Here is an entry with everything commented out so you can
  1443. # uncomment the appropriate line if you want to change it.
  1444. #
  1445. # Warning - feature names starting with a number must be enclosed
  1446. # with double quotes.
  1447. #
  1448. #   label "2.5V" "xxx"
  1449. #   label Vccp1 "xxx"
  1450. #   label "3.3V" "xxx"
  1451. #   label "5V" "xxx"
  1452. #   label "12V" "xxx"
  1453. #   label Vccp2 "xxx"
  1454. #   label fan1 "xxx"
  1455. #   label fan2 "xxx"
  1456. #   label temp "xxx"
  1457. #
  1458. #   set Vccp1_min xxx
  1459. #   set "2.5V_min" xxx
  1460. #   set "3.3V_min" xxx
  1461. #   set "5V_min" xxx
  1462. #   set "12V_min" xxx
  1463. #   set Vccp2_min xxx
  1464. #
  1465. #   set Vccp1_max xxx
  1466. #   set "2.5V_max" xxx
  1467. #   set "3.3V_max" xxx
  1468. #   set "5V_max" xxx
  1469. #   set "12V_max" xxx
  1470. #   set Vccp2_max xxx
  1471. #
  1472. #   set fan1_div xxx    Note: do not uncomment with kernel 2.6 driver
  1473. #   set fan2_div xxx    Note: do not uncomment with kernel 2.6 driver
  1474. #   set fan1_min xxx
  1475. #   set fan2_min xxx
  1476. #   set temp1_hyst xxx
  1477. #   set temp1_over xxx
  1478.  
  1479. #   compute "2.5V" xxx
  1480. #   compute Vccp1 xxx
  1481. #   compute "3.3V" xxx
  1482. #   compute "5V" xxx
  1483. #   compute "12V" xxx
  1484. #   compute Vccp2 xxx
  1485. #   compute temp xxx
  1486.  
  1487. chip "adm1024-*"
  1488. #
  1489. # These settings work for me, adjust for your system
  1490. #
  1491.     label fan1 "CPU1 fan"
  1492.     label fan2 "CPU2 fan"
  1493.     label temp "SYS Temp"
  1494.     label temp1 "CPU2 Temp"
  1495.     label temp2 "CPU1 Temp"
  1496.     ignore "2.5V" # This register is also used for temp2
  1497.     ignore "Vccp1"
  1498.     ignore "Vccp2"
  1499.  
  1500.  
  1501. chip "it87-*" "it8712-*"
  1502.  
  1503. # The values below have been tested on Asus CUSI, CUM motherboards.
  1504.  
  1505. # Voltage monitors as advised in the It8705 data sheet
  1506.  
  1507.     label in0 "VCore 1"
  1508.     label in1 "VCore 2"
  1509.     label in2 "+3.3V"
  1510.     label in3 "+5V"
  1511.     label in4 "+12V"
  1512.     label in5 "-12V"
  1513.     label in6 "-5V"
  1514.     label in7 "Stdby"
  1515.     label in8 "VBat"
  1516.  
  1517.     # vid is not monitored by IT8705F
  1518.     # comment out if you have IT8712
  1519.     ignore  vid
  1520.  
  1521. # Incubus Saturnus reports that the IT87 chip on Asus A7V8X-X seems
  1522. # to report the VCORE voltage approximately 0.05V higher than the board's
  1523. # BIOS does. Although it doesn't make much sense physically, uncommenting
  1524. # the next line should bring the readings in line with the BIOS' ones in
  1525. # this case.
  1526. # compute in0 -0.05+@ , @+0.05
  1527.  
  1528. # If 3.3V reads around 1.65V, uncomment the following line:
  1529. #    compute in2   2*@ , @/2
  1530.  
  1531.     compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
  1532. # A number of Gigabyte boards (GA-8IPE1000Pro, GA-8KNXP, GA-7N400-L) use
  1533. # a different resistor combination for +5V:
  1534. #    compute in3 ((10/10)+1)*@ ,  @/((10/10)+1)
  1535.  
  1536.     compute in4 ((30/10) +1)*@  , @/((30/10) +1)
  1537. # For this family of chips the negative voltage equation is different from
  1538. # the lm78.  The chip uses two external resistor for scaling but one is
  1539. # tied to a positive reference voltage.  See ITE8705/12 datasheet (SIS950
  1540. # data sheet is wrong)
  1541. # Vs = (1 + Rin/Rf) * Vin - (Rin/Rf) * Vref.
  1542. # Vref = 4.096 volts, Vin is voltage measured, Vs is actual voltage.
  1543.  
  1544. # The next two are negative voltages (-12 and -5).
  1545. # The following formulas must be used. Unfortunately the datasheet
  1546. # does not give recommendations for Rin, Rf, but we can back into
  1547. # them based on a nominal +2V input to the chip, together with a 4.096V Vref.
  1548. # Formula:
  1549. #    actual V = (Vmeasured * (1 + Rin/Rf)) - (Vref * (Rin/Rf))
  1550. #    For -12V input use Rin/Rf = 6.68
  1551. #    For -5V input use Rin/Rf = 3.33
  1552. # Then you can convert the forumula to a standard form like:
  1553.     compute in5 (7.67 * @) - 27.36  ,  (@ + 27.36) / 7.67
  1554.     compute in6 (4.33 * @) - 13.64  ,  (@ + 13.64) / 4.33
  1555. #
  1556. # this much simpler version is reported to work for a
  1557. # Elite Group K7S5A board
  1558. #
  1559. #   compute in5 -(36/10)*@, -@/(36/10)
  1560. #   compute in6 -(56/10)*@, -@/(56/10)
  1561. #
  1562.     compute in7 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
  1563.  
  1564.     set in0_min 1.5 * 0.95
  1565.     set in0_max 1.5 * 1.05
  1566.     set in1_min 2.4
  1567.     set in1_max 2.6
  1568.     set in2_min 3.3 * 0.95
  1569.     set in2_max 3.3 * 1.05
  1570.     set in3_min 5.0 * 0.95
  1571.     set in3_max 5.0 * 1.05
  1572.     set in4_min 12 * 0.95
  1573.     set in4_max 12 * 1.05
  1574.     set in5_max -12 * 0.95
  1575.     set in5_min -12 * 1.05
  1576.     set in6_max -5 * 0.95
  1577.     set in6_min -5 * 1.05
  1578.     set in7_min 5 * 0.95
  1579.     set in7_max 5 * 1.05
  1580.     #the chip does not support in8 min/max
  1581.  
  1582. # Temperature
  1583. #
  1584. # Important - if your temperature readings are completely whacky
  1585. # you probably need to change the sensor type.
  1586. # Adujst and uncomment the appropriate lines below.
  1587. # The old method (modprobe it87 temp_type=0xXX) is no longer supported.
  1588. #
  1589. # 2 = thermistor; 3 = thermal diode; 0 = unused
  1590. #   set sensor1 3
  1591. #   set sensor2 3
  1592. #   set sensor3 3
  1593. # If a given sensor isn't used, you will probably want to ignore it
  1594. # (see ignore statement right below).
  1595.  
  1596.     label temp1       "M/B Temp"
  1597.     set   temp1_over  40
  1598.     set   temp1_low   15
  1599.     label temp2       "CPU Temp"
  1600.     set   temp2_over  45
  1601.     set   temp2_low   15
  1602. #   ignore temp3
  1603.     label temp3       "Temp3"
  1604.     set   temp3_over  45
  1605.     set   temp3_low   15
  1606.  
  1607. # The A7V8X-X has temperatures inverted, and needs a conversion for
  1608. # CPU temp. Thanks to Preben Randhol for the formula.
  1609. #   label temp1       "CPU Temp"
  1610. #   label temp2       "M/B Temp"
  1611. #   compute temp1     (-15.096+1.4893*@), (@+15.096)/1.4893
  1612.  
  1613. # The A7V600 also has temperatures inverted, and needs a different
  1614. # conversion for CPU temp. Thanks to Dariusz Jaszkowski for the formula.
  1615. #   label temp1       "CPU Temp"
  1616. #   label temp2       "M/B Temp"
  1617. #   compute temp1     (@+128)/3, (3*@-128)
  1618.  
  1619. # Fans
  1620.     set fan1_min 0
  1621.     set fan2_min 3000
  1622. #   ignore fan3
  1623.     set fan3_min 3000
  1624.  
  1625. # The following is for the Inside Technologies 786LCD which uses either a
  1626. # IT8705F or a SIS950 for monitoring with the SIS630.
  1627. #
  1628. # delete or comment out above it87 section and uncomment the following.
  1629. #chip "it87-*"
  1630. #    label in0 "VCore 1"
  1631. #    label in1 "VCore 2"
  1632. #    label in2 "+3.3V"
  1633. #    label in3 "+5V"
  1634. #    label in4 "+12V"
  1635. #    label in5 "3.3 Stdby"
  1636. #    label in6 "-12V"
  1637. #    label in7 "Stdby"
  1638. #    label in8 "VBat"
  1639.     # in0 will depend on your processor VID value, set to voltage specified in
  1640.     # bios setup screen
  1641. #    set in0_min 1.7 * 0.95
  1642. #    set in0_max 1.7 * 1.05
  1643. #    set in1_min 2.4
  1644. #    set in1_max 2.6
  1645. #    set in2_min 3.3 * 0.95
  1646. #    set in2_max 3.3 * 1.05
  1647. #    set in3_min 5.0 * 0.95
  1648. #    set in3_max 5.0 * 1.05
  1649.     # +- 12V are very poor tolerance on this board. Verified with voltmeter
  1650. #    set in4_min 12 * 0.90
  1651. #    set in4_max 12 * 1.10
  1652. #    set in5_min 3.3 * 0.95
  1653. #    set in5_max 3.3 * 1.05
  1654. #    set in6_max -12 * 0.90
  1655. #    set in6_min -12 * 1.10
  1656. #    set in7_min 5 * 0.95
  1657. #    set in7_max 5 * 1.05
  1658.     # vid not monitored by IT8705F
  1659. #    ignore  vid
  1660.  
  1661. #    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
  1662. #    compute in4 ((30/10) +1)*@  , @/((30/10) +1)
  1663. #    compute in6 (1+232/56)*@ - 4.096*232/56, (@ + 4.096*232/56)/(1+232/56)
  1664. #    compute in7 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
  1665.     # Temperature
  1666. #    label temp1       "CPU Temp"
  1667. #    ignore temp2
  1668. #    ignore temp3
  1669.     # Fans
  1670. #    set fan1_min 3000
  1671. #    ignore fan2
  1672. #    ignore fan3
  1673.  
  1674.  
  1675. chip "fscpos-*"
  1676. # Fujitsu-Siemens Poseidon chip
  1677.  
  1678. # Temperature
  1679.  
  1680.     label temp1       "Temp1/CPU"
  1681.     label temp2       "Temp2/MB"
  1682.     label temp3       "Temp3/AUX"
  1683.  
  1684. # Fans
  1685.  
  1686.     label fan1        "Fan1"
  1687.     label fan2        "Fan2"
  1688.     label fan3        "Fan3"
  1689.  
  1690. # Voltage
  1691.  
  1692.     label volt12      "+12V"
  1693.     label volt5       "+5V"
  1694.     label voltbatt    "Battery"
  1695.  
  1696.  
  1697. chip "fscscy-*"
  1698. # Fujitsu-Siemens Scylla chip
  1699.  
  1700. # Temperature
  1701.  
  1702.     label temp1       "Temp1/CPU0"
  1703.     label temp2       "Temp2/CPU1"
  1704.     label temp3       "Temp3/MB"
  1705.     label temp4       "Temp4/AUX"
  1706.  
  1707. # Fans
  1708.  
  1709.     label  fan1       "Fan1/CPU0"
  1710.     label  fan2       "Fan2/CPU0"
  1711.     label  fan3       "Fan3"
  1712.     label  fan4       "Fan4"
  1713.     label  fan5       "Fan5"
  1714.     label  fan6       "Fan6"
  1715.  
  1716. # Voltage
  1717.  
  1718.     label volt12      "+12V"
  1719.     label volt5       "+5V"
  1720.     label voltbatt    "+3.3V"
  1721.  
  1722.  
  1723. chip "fscher-*"
  1724. # Fujitsu-Siemens Hermes chip
  1725.  
  1726. # Temperature
  1727.     label temp1       "Temp1/CPU"
  1728.     label temp2       "Temp2/MB"
  1729.     label temp3       "Temp3/AUX"
  1730.  
  1731. # Fans
  1732.     label fan1        "Fan1/PS"
  1733.     label fan2        "Fan2/CPU"
  1734.     label fan3        "Fan3/AUX"
  1735.  
  1736. # Voltage
  1737.     label in0         "+12V"
  1738.     label in1         "+5V"
  1739.     label in2         "Battery"
  1740.  
  1741. # Compute Voltages using mainboard dependant MRO-values
  1742. # (see doc/chips/fscher)
  1743. #                           M    R             O               O                  M    R
  1744.     compute in0       (@ * (49 * 33) / 255) + (0 / 100), (@ - (0 / 100)) * 255 / (49 * 33)
  1745.     compute in1       (@ * (20 * 33) / 255) + (0 / 100), (@ - (0 / 100)) * 255 / (20 * 33)
  1746.     compute in2       (@ * (10 * 33) / 255) + (0 / 100), (@ - (0 / 100)) * 255 / (10 * 33)
  1747.  
  1748. # Read documentation before enabling pwm settings (see doc/chips/fscher)
  1749. # WARNING: IMPROPER VALUES MAY DAMAGE YOUR SYSTEM DUE TO OVERHEATING!
  1750.  
  1751. # Allow fans to turn off
  1752. #    set pwm1          0
  1753. #    set pwm2          0
  1754. #    set pwm3          0
  1755.  
  1756. # Min cooling
  1757. #    set pwm1          2
  1758. #    set pwm2          1
  1759. #    set pwm3          1
  1760.  
  1761. # Max cooling
  1762. #    set pwm1          255
  1763. #    set pwm2          255
  1764. #    set pwm3          255
  1765.  
  1766.  
  1767. chip "pcf8591-*"
  1768. #
  1769. #    values for the Philips PCF8591 chip
  1770. #
  1771. # Analog inputs
  1772.  
  1773.    ignore ain_conf
  1774. # Since Linux 2.6, input configuration is set as module parameter,
  1775. # so the line below is for older kernels only.
  1776. #  set    ain_conf    0
  1777.  
  1778. # You may discard ch2 and ch3 if you don't use them (depends on the input
  1779. # configuration)
  1780. #  ignore ch2
  1781. #  ignore ch3
  1782.  
  1783.    label  ch0         "Chan. 0"
  1784.    label  ch1         "Chan. 1"
  1785.    label  ch2         "Chan. 2"
  1786.    label  ch3         "Chan. 3"
  1787.  
  1788. # The driver assumes Vref = 2.56V and Agnd = 0V. If it doesn't match
  1789. # your hardware, you have to use compute lines. The example below is
  1790. # correct for Vref = 5.0V and Agnd = 0V.
  1791. #  compute ch0 (@ * 500 / 256), (@ * 256 / 500)
  1792. #  compute ch1 (@ * 500 / 256), (@ * 256 / 500)
  1793. #  compute ch2 (@ * 500 / 256), (@ * 256 / 500)
  1794. #  compute ch3 (@ * 500 / 256), (@ * 256 / 500)
  1795.  
  1796. # Analog output
  1797.  
  1798.    ignore aout_enable
  1799.    set    aout_enable 1
  1800.    label  aout        "Output"
  1801.    set    aout        0
  1802.  
  1803. chip "adm1021-*" "adm1023-*" "max1617-*" "max1617a-*" "thmc10-*" "lm84-*" "gl523sm-*" "mc1066-*"
  1804.  
  1805.    label temp         "Board"
  1806.    label remote_temp    "CPU"
  1807. #   set temp_low        40
  1808. #   set temp_over        70
  1809. #   set remote_temp_low        40
  1810. #   set remote_temp_over    70
  1811.  
  1812. chip "lm83-*"
  1813.  
  1814.    label temp1 "M/B Temp"
  1815.    label temp2 "D1 Temp"
  1816.    label temp3 "CPU Temp"
  1817.    label temp4 "D3 Temp"
  1818.  
  1819. # ignore D1 and/or D3 readings if not used
  1820. #   ignore temp2
  1821. #   ignore temp4
  1822.  
  1823. # change high limits to fit your needs
  1824. #   set temp1_high 55
  1825. #   set temp2_high 60
  1826. #   set temp3_high 65
  1827. #   set temp4_high 60
  1828.  
  1829. # change critical limit to fit your needs
  1830. # only one limit for all four temperatures
  1831. # should be higher than each of the high limits above
  1832. #   set tcrit 85
  1833.  
  1834.  
  1835. chip "max1619-*"
  1836.  
  1837.    label temp1 "M/B Temp"
  1838.    label temp2 "CPU Temp"
  1839.  
  1840. # change high and low limits to fit your needs
  1841.    set temp2_min   10
  1842.    set temp2_max   100
  1843.  
  1844. # change critical limit and hysteresis to fit your needs
  1845.    set temp2_crit  50
  1846.    set temp2_hyst  40
  1847.  
  1848.  
  1849. chip "lm90-*" "adm1032-*" "lm86-*" "max6657-*" "adt7461-*"
  1850.  
  1851.    label temp1 "M/B Temp"
  1852.    label temp2 "CPU Temp"
  1853.    label tcrit1 "M/B Crit"
  1854.    label tcrit2 "CPU Crit"
  1855.  
  1856. # change high and low limits to fit your needs
  1857. #   set temp1_low  10
  1858. #   set temp1_high 55
  1859. #   set temp2_low  10
  1860. #   set temp2_high 66
  1861.  
  1862. # change critical limits to fit your needs
  1863. # should be higher than the corresponding high limit above
  1864. #   set tcrit1 75
  1865. #   set tcrit2 85
  1866.  
  1867. # change the hysteresis values (to critical limits) to fit your needs
  1868. # note #1: hyst2 will be automatically set with the same delta
  1869. # note #2: the internal register, which stores a single, relative value
  1870. # for both channels, cannot hold values greater than 31, so the delta
  1871. # between critical temperatures and respective absolute hysteresis can
  1872. # never exceed this value
  1873. #   set hyst1 70
  1874.  
  1875. chip "lm99-*"
  1876.  
  1877.    label temp1 "G/C Temp"
  1878.    label temp2 "GPU Temp"
  1879.    label tcrit1 "G/C Crit"
  1880.    label tcrit2 "GPU Crit"
  1881.  
  1882. # note #1: only the LM99 needs this; for a LM89, comment the compute line
  1883. # out
  1884. # note #2: there is no way for us to differentiate between a LM89 and a
  1885. # LM99; you have to know what you have; LM99 are frequently found on
  1886. # graphics cards, most notably nVidia ones
  1887.    compute temp2 @+16, @-16
  1888.  
  1889. # change high and low limits to fit your needs
  1890. #   set temp1_low  10
  1891. #   set temp1_high 90
  1892. #   set temp2_low  10
  1893. #   set temp2_high 100
  1894.  
  1895. # change critical limits to fit your needs
  1896. # should be higher than the corresponding high limit above
  1897. #   set tcrit1 100
  1898. #   set tcrit2 110
  1899.  
  1900. # change the hysteresis values (to critical limits) to fit your needs
  1901. # note #1: hyst2 will be automatically set with the same delta
  1902. # note #2: the internal register, which stores a single, relative value
  1903. # for both channels, cannot hold values greater than 31, so the delta
  1904. # between critical temperatures and respective absolute hysteresis can
  1905. # never exceed this value
  1906. #   set hyst1 105
  1907.  
  1908.  
  1909. chip "lm63-*"
  1910.  
  1911.    label temp1       "M/B Temp"
  1912.    label temp2       "CPU Temp"
  1913.    label temp2_crit  "CPU Crit"
  1914.    label fan1        "CPU Fan"
  1915.  
  1916. # Change limits to fit your needs. Note that temp2_crit is read-only.
  1917. #   set temp1_high       50
  1918. #   set temp2_low        10
  1919. #   set temp2_high       70
  1920. #   set temp2_crit_hyst  75
  1921. #   set fan1_min         2000
  1922.  
  1923.  
  1924. chip "vt1211-*"
  1925. #
  1926. # in6 is not implemented in vt1211
  1927. #
  1928. #                            1 for temp, 0 for volt.
  1929. #    Sensor        Voltage Mode    Temp Mode    config bit
  1930. #    --------    ------------    ---------    --------------
  1931. #    Reading 1            temp3
  1932. #    Reading 3            temp1       
  1933. #    UCH1/Reading2    in0        temp2        0x04 (4)
  1934. #    UCH2        in1        temp4        0x08 (8)
  1935. #    UCH3        in2        temp5        0x10 (16)
  1936. #    UCH4        in3        temp6        0x20 (32)
  1937. #    UCH5        in4        temp7        0x40 (64)
  1938. #    3.3V        in5
  1939. #
  1940. # set uch1-2 to temp mode, uch3-5 to voltage mode
  1941. #
  1942. #   set config 12
  1943.     ignore in0
  1944.     ignore in1
  1945.     ignore temp5
  1946.     ignore temp6
  1947.     ignore temp7
  1948.  
  1949. # IMPORTANT: If you get "ERROR: Can't get TEMPX data!" from "sensors",
  1950. # where X is 2, 4, 5, 6 or 7, although you have this UCH set to
  1951. # temperature, this generally means that this UCH isn't (physically)
  1952. # used for temperature, so you should add an ignore statement for tempX
  1953. # and change the "config" value to reflect the fact that this UCH is
  1954. # probably used for voltage.
  1955.  
  1956. #   label in0 "unused"
  1957. #   label in1 "unused"
  1958.     label in2 "VCore1"
  1959.     label in3 "+5V"
  1960.     label in4 "+12V"
  1961.     label in5 "+3.3V"
  1962.  
  1963.     label temp1 "Int Temp"
  1964.     label temp2 "MB1 Temp"
  1965.     label temp3 "Proc Temp"
  1966.     label temp4 "MB2 Temp"
  1967. #
  1968. #   All voltage calculations have the form
  1969. #       ((@ * 100) - 3) / (K * 95.8), (@ * K * 0.958) + .03
  1970. #   where K = R2 / (R1 + R2).
  1971. #   Use the following K values based on input voltage.
  1972. #   This of course assumes the mobo has the resistors
  1973. #   recommended by Via in the datasheet.
  1974. #    Voltage            K
  1975. #    VCore            1.0
  1976. #    2.5            0.8333
  1977. #    3.3 (in5 internal)    0.6296
  1978. #    3.5 (3.3V ext.)        0.5952
  1979. #    5.0            0.4167
  1980. #    12.0            0.1754
  1981. #
  1982. #   compute in0 ((@ * 100) - 3) / (0.5952 * 95.8), (@ * 0.5952 * 0.958) + .03
  1983. #   compute in1 ((@ * 100) - 3) / (0.8333 * 95.8), (@ * 0.8333 * 0.958) + .03
  1984.     compute in2 ((@ * 100) - 3) / (0.5952 * 95.8), (@ * 0.5952 * 0.958) + .03
  1985.     compute in3 ((@ * 100) - 3) / (0.4167 * 95.8), (@ * 0.4167 * 0.958) + .03
  1986.     compute in4 ((@ * 100) - 3) / (0.1754 * 95.8), (@ * 0.1754 * 0.958) + .03
  1987.     compute in5 ((@ * 100) - 3) / (0.6296 * 95.8), (@ * 0.6296 * 0.958) + .03
  1988.  
  1989. # adjust this if your vid is wrong; see doc/vid
  1990. #   set vrm 9.1
  1991.  
  1992. #   set in0_min 2.5 * 0.95
  1993. #   set in0_max 2.5 * 1.05
  1994. #   set in1_min 2.5 * 0.95
  1995. #   set in1_max 2.5 * 1.05
  1996.     set in2_min vid * 0.97
  1997.     set in2_max vid * 1.03
  1998.     set in3_min 5.0 * 0.95
  1999.     set in3_max 5.0 * 1.05
  2000.     set in4_min 12.0 * 0.90
  2001.     set in4_max 12.0 * 1.10
  2002.     set in5_min 3.3 * 0.95
  2003.     set in5_max 3.3 * 1.05
  2004.  
  2005.     compute temp1  (@ - 65) / 0.9686,  (@ * 0.9686) + 65
  2006.     compute temp3  (@ - 65) / 0.9686,  (@ * 0.9686) + 65
  2007. #
  2008. # thermistor calculations.
  2009. # 3435 is the thermistor beta.
  2010. # '^' is the e**x operator; '`' is the ln(x) operator
  2011. # (valid in library version 1.4.0 / lm_sensors 2.7.1 or higher)
  2012. # This assumes that the thermistor forms a resistor divider with a resistor
  2013. # equal to its nominal value @ 25C. If not, the math gets even harder.
  2014. #
  2015.     compute temp2  (1 / (((1 / 3435) * (` ((253 - @) / (@ - 43)))) + (1 / 298.15)))  - 273.15, \
  2016.                    253 - (210 / (1 + (1 / (^ (((3435 * (25 - @)) / ((@ + 273.15) * 298.15)))))))
  2017.     compute temp4  (1 / (((1 / 3435) * (` ((253 - @) / (@ - 43)))) + (1 / 298.15)))  - 273.15, \
  2018.                    253 - (210 / (1 + (1 / (^ (((3435 * (25 - @)) / ((@ + 273.15) * 298.15)))))))
  2019.     compute temp5  (1 / (((1 / 3435) * (` ((253 - @) / (@ - 43)))) + (1 / 298.15)))  - 273.15, \
  2020.                    253 - (210 / (1 + (1 / (^ (((3435 * (25 - @)) / ((@ + 273.15) * 298.15)))))))
  2021.     compute temp6  (1 / (((1 / 3435) * (` ((253 - @) / (@ - 43)))) + (1 / 298.15)))  - 273.15, \
  2022.                    253 - (210 / (1 + (1 / (^ (((3435 * (25 - @)) / ((@ + 273.15) * 298.15)))))))
  2023.     compute temp7  (1 / (((1 / 3435) * (` ((253 - @) / (@ - 43)))) + (1 / 298.15)))  - 273.15, \
  2024.                    253 - (210 / (1 + (1 / (^ (((3435 * (25 - @)) / ((@ + 273.15) * 298.15)))))))
  2025.  
  2026.     set temp2_hyst 40
  2027.     set temp2_over 45
  2028.     set temp3_hyst 60
  2029.     set temp3_over 65
  2030.     set temp4_hyst 40
  2031.     set temp4_over 45
  2032.  
  2033.     set fan1_min 3000
  2034.     set fan2_min 3000
  2035.  
  2036. chip "vt8231-*"
  2037. #
  2038. #                            1 for temp, 0 for volt.
  2039. #    Sensor        Voltage Mode    Temp Mode    config bit
  2040. #    --------    ------------    ---------    --------------
  2041. #    Reading 1            temp1
  2042. #    UCH1        in0        temp2        0x04 (4)
  2043. #    UCH2        in1        temp3        0x08 (8)
  2044. #    UCH3        in2        temp4        0x10 (16)
  2045. #    UCH4        in3        temp5        0x20 (32)
  2046. #    UCH5        in4        temp6        0x40 (64)
  2047. #    3.3V        in5
  2048. #
  2049. # Hardware default is UCH1 in temp mode, UCH2-5 in voltage mode
  2050. # Note that the Linux 2.6 driver will not let you change the channel
  2051. # configuration. In theory, the BIOS should have done it properly.
  2052. #   set config 4
  2053.  
  2054. #    ignore in0
  2055. #    ignore temp3
  2056. #    ignore temp4
  2057. #    ignore temp5
  2058. #    ignore temp6
  2059.  
  2060.     label in1 "+2.5V"
  2061.     label in2 "VCore"
  2062.     label in3 "+5V"
  2063.     label in4 "+12V"
  2064.     label in5 "+3.3V"
  2065.  
  2066.     label temp1 "CPU Temp"
  2067.     label temp2 "M/B Temp"
  2068.  
  2069. # Here are the resistor values as recommended by VIA:
  2070. #   Voltage            R1    R2
  2071. #   VCore            no scaling
  2072. #    2.5            2k    10k
  2073. #    3.5 (3.3V ext.)        6.8k    10k
  2074. #    5.0            14k    10k
  2075. #   12.0            47k    10k
  2076.  
  2077. #   compute in0  @ * (1 + 6.8 / 10),  @ / (1 + 6.8 / 10)
  2078.     compute in1  @ * (1 +   2 / 10),  @ / (1 +   2 / 10)
  2079.     compute in3  @ * (1 +  14 / 10),  @ / (1 +  14 / 10)
  2080.     compute in4  @ * (1 +  47 / 10),  @ / (1 +  47 / 10)
  2081. # in5 is scaled internally so scaling is done by the driver.
  2082.  
  2083. #   set in0_min 2.5 * 0.95
  2084. #   set in0_max 2.5 * 1.05
  2085. #   set in1_min 2.5 * 0.95
  2086. #   set in1_max 2.5 * 1.05
  2087. # Replace "2.0" with your nominal CPU voltage for in2.
  2088. #   set in2_min 2.0 * 0.95
  2089. #   set in2_max 2.0 * 1.05
  2090. #   set in3_min 5.0 * 0.95
  2091.     set in3_max 5.0 * 1.05
  2092.     set in4_min 12.0 * 0.95
  2093.     set in4_max 12.0 * 1.05
  2094.     set in5_min 3.3 * 0.95
  2095.     set in5_max 3.3 * 1.05
  2096.  
  2097. # For Intel CPU:
  2098.     compute temp1  (@ - 65) / 0.9686,  (@ * 0.9686) + 65
  2099.  
  2100. # For VIA EPIA CPU (provided by Roger Lucas):
  2101. #   compute temp1  (@ - 45) / 0.7809,  (@ * 0.7809) + 45
  2102.  
  2103. # Thermistor calculations
  2104. # 3435 is the thermistor beta, 2.2 is the reference voltage.
  2105. # '^' is the e**x operator; '`' is the ln(x) operator
  2106. # (valid in library version 1.4.0 / lm_sensors 2.7.1 or higher)
  2107. # This assumes that the thermistor forms a resistor divider with a resistor
  2108. # equal to its nominal value at 25 degrees C.
  2109.  
  2110.     compute temp2  1 / (1 / 298.15 - (` (2.2 / @ - 1)) / 3435) - 273.15, \
  2111.                    2.2 / (1 + (^ (3435 / 298.15 - 3435 / (273.15 + @))))
  2112.     compute temp3  1 / (1 / 298.15 - (` (2.2 / @ - 1)) / 3435) - 273.15, \
  2113.                    2.2 / (1 + (^ (3435 / 298.15 - 3435 / (273.15 + @))))
  2114.  
  2115. #    set temp1_hyst 60
  2116. #    set temp1_over 65
  2117. #    set temp2_hyst 40
  2118. #    set temp2_over 45
  2119.  
  2120. #    set fan1_min 3000
  2121. #    set fan2_min 3000
  2122.  
  2123. chip "bmc-*"
  2124. #
  2125. # You should not need compute lines here, the driver will
  2126. # do all the conversions.
  2127. # For label lines, copy from syslog/dmesg when the bmcsensors
  2128. # module is inserted.
  2129. #
  2130. # for example:
  2131. # label temp1 "Ambient Temp"
  2132.  
  2133.  
  2134. chip "smsc47m1-*"
  2135.  
  2136. # SMSC LPC47M10x, LPC47M13x, LPC47M14x and LPC47B27x chips
  2137.  
  2138. # We don't set the fan mins by default anymore because they may not exist
  2139. # when using the Linux 2.6 driver (since we respect the original chip
  2140. # configuration).
  2141. #    set fan1_min 3000
  2142. #    set fan2_min 3000
  2143.  
  2144.  
  2145. #
  2146. # This example was tested vs. Asus P4S333
  2147. #
  2148. chip "asb100-*"
  2149. # adjust this if your vid is wrong; see doc/vid
  2150.     #set vrm 9.0
  2151.  
  2152.     label in0 "VCore 1"
  2153.     set in0_min vid * 0.95
  2154.     set in0_max vid * 1.05
  2155.  
  2156.     label in1 "VCore 2"
  2157.     ignore in1
  2158.     set in1_min vid * 0.95
  2159.     set in1_max vid * 1.05
  2160.  
  2161.     label in2 "+3.3V"
  2162.     set in2_min 3.3 * 0.95
  2163.     set in2_max 3.3 * 1.05
  2164.  
  2165.     label in3 "+5V"
  2166.     compute in3 1.68 * @ ,  @ / 1.68
  2167.     set in3_min 5.0 * 0.95
  2168.     set in3_max 5.0 * 1.05
  2169.  
  2170.     label in4 "+12V"
  2171.     compute in4 3.8 * @ , @ / 3.8
  2172.     set in4_min 12  * 0.90
  2173.     set in4_max 12  * 1.10
  2174.  
  2175.     label in5 "-12V (reserved)"
  2176.     #ignore in5
  2177.     compute in5 -@ * 3.97 ,  -@ / 3.97
  2178.     set in5_max -12 * 0.90
  2179.     set in5_min -12 * 1.10
  2180.  
  2181.     label in6 "-5V (reserved)"
  2182.     #ignore in6
  2183.     compute in6 -@ * 1.666 , -@ / 1.666
  2184.     set in6_max -5  * 0.95
  2185.     set in6_min -5  * 1.05
  2186.  
  2187.     label temp1 "M/B Temp"
  2188.     set temp1_over 45
  2189.     set temp1_hyst 40
  2190.  
  2191.     label temp2 "CPU Temp (Intel)"
  2192.     #ignore temp2
  2193.     set temp2_over 60
  2194.     set temp2_hyst 50
  2195.  
  2196.     # PWRTMP connector on P4S333, for external sensor
  2197.     label temp3 "Power Temp"
  2198.     #ignore temp3
  2199.     set temp3_over 45
  2200.     set temp3_hyst 40
  2201.  
  2202.  
  2203.     # Used for Athlon diode, ignore for P4S333
  2204.     label temp4 "CPU Temp (AMD)"
  2205.     set temp4_over 60
  2206.     set temp4_hyst 50
  2207.     #ignore temp4
  2208.  
  2209.     label fan1 "CPU Fan"
  2210.     set fan1_div 4
  2211.     set fan1_min 2000
  2212.  
  2213.     label fan2 "Chassis Fan"
  2214.     set fan2_div 2
  2215.     set fan2_min 4000
  2216.  
  2217.     label fan3 "Power Fan"
  2218.     set fan3_div 2
  2219.     set fan3_min 4000
  2220.  
  2221. #
  2222. # Sample configuration for the Intel S845WD1-E
  2223. # courtesy of Marcus Schopen
  2224. #
  2225. chip "lm85c-*" "adm1027-*" "adt7463-*" "lm85-*" "lm85b-*"
  2226.  
  2227.    set temp1_max 50
  2228.  
  2229. # Voltage inputs
  2230.    label in0   "V1.5"      # AGP on Intel S845WD1-E
  2231.    label in1   "VCore"
  2232.    label in2   "V3.3"
  2233.    label in3   "V5"
  2234.    label in4   "V12"
  2235.  
  2236. # Temperature inputs
  2237.    label temp1  "CPU"
  2238.    label temp2  "Board"
  2239.    label temp3  "Remote"
  2240.  
  2241. # Fan inputs
  2242.    label fan1   "CPU_Fan"
  2243. #   label fan2   "Fan2"
  2244. #   label fan3   "Fan3"
  2245. #   label fan4   "Fan4"
  2246.  
  2247. # PWM Outputs
  2248.    label pwm1   "CPU_PWM"
  2249.    label pwm2   "Fan2_PWM"
  2250.    label pwm3   "Fan3_PWM"
  2251.  
  2252. # Voltage scaling is done on-chip.  No 'compute' directive
  2253. # should be necessary.  If in0 has external scaling set
  2254. # it here.
  2255.  
  2256. #   compute in0  @ * 2.5,   @ / 2.5
  2257.  
  2258. # Adjust fans speeds for actual pulses per rev
  2259. #   compute fan1  @ * 2,  @ / 2    # 1 pulse per rev
  2260. #   set fan1_ppr  1                # ADM1027 or ADT7463
  2261. #   compute fan2  @ / 2,  @ * 2    # 4 pulse per rev
  2262. #   set fan2_ppr  4                # ADM1027 or ADT7463
  2263.  
  2264. # Ignore fans you (or your motherboard) don't have
  2265. #   ignore fan2
  2266. #   ignore fan3
  2267. #   ignore fan4
  2268.  
  2269. # Set VRM version
  2270. # adjust this if your vid is wrong; see doc/vid
  2271. #   set vrm  9.1   # Pentium 4
  2272.  
  2273. # Set voltage limits
  2274.    set in0_min  1.5 * 0.95
  2275.    set in0_max  1.5 * 1.05
  2276.    set in1_min  vid * 0.95
  2277.    set in1_max  vid * 1.05
  2278.    set in2_min  3.3 * 0.95
  2279.    set in2_max  3.3 * 1.05
  2280.    set in3_min  5.0 * 0.95
  2281.    set in3_max  5.0 * 1.05
  2282.    set in4_min   12 * 0.95
  2283.    set in4_max   12 * 1.05
  2284.  
  2285. # Set Fan limits
  2286.    set fan1_min 4000
  2287.  
  2288. # Set Temp Limits
  2289.    set temp1_min 10
  2290.    set temp1_max 50
  2291.    set temp2_min 10
  2292.    set temp2_max 35
  2293.    set temp3_min 10
  2294.    set temp3_max 35
  2295.  
  2296. chip "pc87366-*"
  2297.  
  2298. # Voltage inputs
  2299.  
  2300. # Set VRM version (default 9.0)
  2301. #   set vrm     9.0
  2302.  
  2303.    label in7   "Vsb"
  2304.    label in8   "Vdd"
  2305.    label in9   "Vbat"
  2306.    label in10  "AVdd"
  2307.  
  2308.    compute in7   @*2, @/2
  2309.    compute in8   @*2, @/2
  2310.    compute in10  @*2, @/2
  2311.  
  2312. # These are the operating conditions as recommended by National
  2313. # Semiconductor
  2314.    set in7_min   3.0
  2315.    set in7_max   3.6
  2316.    set in8_min   3.0
  2317.    set in8_max   3.6
  2318.    set in9_min   2.4
  2319.    set in9_max   3.6
  2320.    set in10_min  3.0
  2321.    set in10_max  3.6
  2322.  
  2323. # Temperature inputs
  2324.  
  2325.    label temp1       "CPU0 Temp"
  2326.    label temp1_crit  "CPU0 Crit"
  2327.    label temp2       "CPU1 Temp"
  2328.    label temp2_crit  "CPU1 Crit"
  2329.    label temp3       "S-IO Temp"
  2330.    label temp3_crit  "S-IO Crit"
  2331.  
  2332.    set temp1_min    0
  2333.    set temp1_max   70
  2334.    set temp1_crit  85
  2335.    set temp2_min    0
  2336.    set temp2_max   70
  2337.    set temp2_crit  85
  2338.    set temp3_min    0
  2339.    set temp3_max   70
  2340.    set temp3_crit  85
  2341.  
  2342. # Thermistors
  2343. # On some systems, thermistors are used instead of thermal diodes.
  2344. # Note that these are the same pins used differently, so you really
  2345. # can't have them all on a given system.
  2346. #   ignore temp1
  2347. #   ignore temp2
  2348.    ignore temp4
  2349.    ignore temp5
  2350.    ignore temp6
  2351.  
  2352. # 3435 is the thermistor beta.
  2353. # This assumes that the thermistor forms a resistor divider with a resistor
  2354. # equal to its nominal value at 25 degres Celsius. If not, change the values.
  2355. # We also assume that you have a working in10 (which is forcibly enabled by
  2356. # default). If not, use 3.3 instead, but you lose accuracy.
  2357.  
  2358.    compute temp4  3435 / (` (1 / (1 - @ / in10) - 1) + 3435 / 298.15) - 273.15, \
  2359.                   in10 * (1 - 1 / (1 + (^ (3435 / (273.15 + @) - 3435 / 298.15))))
  2360.    compute temp5  3435 / (` (1 / (1 - @ / in10) - 1) + 3435 / 298.15) - 273.15, \
  2361.                   in10 * (1 - 1 / (1 + (^ (3435 / (273.15 + @) - 3435 / 298.15))))
  2362.    compute temp6  3435 / (` (1 / (1 - @ / in10) - 1) + 3435 / 298.15) - 273.15, \
  2363.                   in10 * (1 - 1 / (1 + (^ (3435 / (273.15 + @) - 3435 / 298.15))))
  2364.  
  2365. #   set temp4_min    0
  2366. #   set temp4_max   70
  2367. #   set temp4_crit  85
  2368. #   set temp5_min    0
  2369. #   set temp5_max   70
  2370. #   set temp5_crit  85
  2371. #   set temp6_min    0
  2372. #   set temp6_max   70
  2373. #   set temp6_crit  85
  2374.  
  2375. # Fan inputs
  2376.  
  2377. # Ignore fans you don't have
  2378. #   ignore fan2
  2379. #   ignore fan3
  2380.  
  2381.    set fan1_min 2000
  2382.    set fan2_min 2000
  2383.    set fan3_min 2000
  2384.  
  2385.  
  2386. chip "adm1030-*"
  2387.  
  2388.    label temp1 "SYS Temp"
  2389.    label temp2 "CPU Temp"
  2390.    label temp1_crit "SYS Crit"
  2391.    label temp2_crit "CPU Crit"
  2392.  
  2393.    set temp1_max  60
  2394.    set temp2_max  70
  2395.    set temp1_crit 85
  2396.    set temp2_crit 85
  2397.  
  2398.    label fan1 "CPU Fan"
  2399.  
  2400.    set fan1_min 2000
  2401.  
  2402.  
  2403. chip "adm1031-*"
  2404.  
  2405.    label temp1 "SYS Temp"
  2406.    label temp2 "CPU Temp"
  2407.    label temp3 "AUX Temp"
  2408.    label temp1_crit "SYS Crit"
  2409.    label temp2_crit "CPU Crit"
  2410.    label temp3_crit "AUX Crit"
  2411.  
  2412.    set temp1_max  60
  2413.    set temp2_max  70
  2414.    set temp3_max  70
  2415.    set temp1_crit 85
  2416.    set temp2_crit 85
  2417.    set temp3_crit 85
  2418.  
  2419.    label fan1 "CPU Fan"
  2420.    label fan2 "Case Fan"
  2421.  
  2422.    set fan1_min 2000
  2423.    set fan2_min 2000
  2424.  
  2425.  
  2426. chip "w83l785ts-*"
  2427.  
  2428.    label temp1 "CPU Diode"
  2429.  
  2430. chip "lm92-*"
  2431.  
  2432.    label temp "CPU Temp"
  2433.  
  2434. # Change limits as you see fit
  2435. #   set temp_low 14
  2436. #   set temp_high 60
  2437. #   set temp_crit 72
  2438. # Hysteresis is computed from critical limit for Linux 2.6,
  2439. # and from high limit for Linux 2.4. That might change in the future.
  2440. # Whatever, the same relative hysteresis is used for all of low, high
  2441. # and critical limits.
  2442. #   set temp_hyst 70 # Linux 2.6
  2443. #   set temp_hyst 58 # Linux 2.4
  2444.  
  2445.  
  2446. # Winbond W83627EHF configuration originally contributed by Leon Moonen
  2447. # This is for an Asus P5P800.
  2448. chip "w83627ehf-*"
  2449. # Fans
  2450.    label fan1      "Case Fan"
  2451.    label fan2      "CPU Fan"
  2452. #  ignore fan3
  2453. #  ignore fan4
  2454.    set fan1_min    1200
  2455.    set fan2_min    1700
  2456.  
  2457. # Temperatures
  2458.    label temp1     "Sys Temp"
  2459.    label temp2     "CPU Temp"
  2460. #  ignore temp3
  2461.    set temp1_over  45
  2462.    set temp1_hyst  40
  2463.    set temp2_over  45
  2464.    set temp2_hyst  40
  2465.  
  2466.  
  2467. # Fintek F71805F/FG configuration
  2468. # This is the recommended wiring and resistor values from the F71805F/FG
  2469. # datasheet. Your motherboard manufacturer may or may not have followed
  2470. # these.
  2471. chip "f71805f-*"
  2472. # Voltages
  2473.    label in0 "+3.3V"
  2474.    label in1 "Vtt1.2V"
  2475.    label in2 "Vram"
  2476.    label in3 "Vchip"
  2477.    label in4 "+5V"
  2478.    label in5 "+12V"
  2479.    label in6 "Vcc1.5V"
  2480.    label in7 "Vcore"
  2481.    label in8 "5VSB"
  2482.  
  2483.    # in0 is scaled internally
  2484.    compute in2  @*(1+100/100), @/(1+100/100)
  2485.    compute in3  @*(1+100/47),  @/(1+100/47)
  2486.    compute in4  @*(1+200/47),  @/(1+200/47)
  2487.    compute in5  @*(1+200/20),  @/(1+200/20)
  2488.    compute in8  @*(1+200/47),  @/(1+200/47)
  2489.  
  2490.    set in0_min  3.3 * 0.95
  2491.    set in0_max  3.3 * 1.05
  2492.    #set in1_min  1.2 * 0.95
  2493.    #set in1_max  1.2 * 1.05
  2494.    #set in2_min  2.5 * 0.95
  2495.    #set in2_max  2.6 * 1.05
  2496.    #set in3_min  3.3 * 0.95
  2497.    #set in3_max  3.3 * 1.05
  2498.    #set in4_min  5.0 * 0.95
  2499.    #set in4_max  5.0 * 1.05
  2500.    #set in5_min 12.0 * 0.95
  2501.    #set in5_max 12.0 * 1.05
  2502.    #set in6_min  1.5 * 0.95
  2503.    #set in6_max  1.5 * 1.05
  2504.    # in7 nominal value depends on the CPU model
  2505.    #set in7_min  1.4 * 0.95
  2506.    #set in7_max  1.4 * 1.05
  2507.    #set in8_min  5.0 * 0.95
  2508.    #set in8_max  5.0 * 1.05
  2509.  
  2510. # Fans
  2511.    label fan1 "CPU Fan"
  2512.    label fan2 "Sys Fan"
  2513.    label fan3 "Aux Fan"
  2514.  
  2515.    #set fan1_min 2100
  2516.    #set fan2_min 1400
  2517.    #set fan3_min 1400
  2518.  
  2519. # Temperatures
  2520.    label temp1 "CPU Temp"
  2521.    label temp2 "Sys Temp"
  2522.    label temp3 "Aux Temp"
  2523.  
  2524.    #set temp1_max   60
  2525.    #set temp1_hyst  58
  2526.    #set temp2_max   50
  2527.    #set temp2_hyst  48
  2528.    #set temp3_max   50
  2529.    #set temp3_hyst  48
  2530.