f71805f 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. Kernel driver f71805f
  2. =====================
  3. Supported chips:
  4. * Fintek F71805F/FG
  5. Prefix: 'f71805f'
  6. Addresses scanned: none, address read from Super I/O config space
  7. Datasheet: Provided by Fintek on request
  8. * Fintek F71872F/FG
  9. Prefix: 'f71872f'
  10. Addresses scanned: none, address read from Super I/O config space
  11. Datasheet: Provided by Fintek on request
  12. Author: Jean Delvare <khali@linux-fr.org>
  13. Thanks to Denis Kieft from Barracuda Networks for the donation of a
  14. test system (custom Jetway K8M8MS motherboard, with CPU and RAM) and
  15. for providing initial documentation.
  16. Thanks to Kris Chen and Aaron Huang from Fintek for answering technical
  17. questions and providing additional documentation.
  18. Thanks to Chris Lin from Jetway for providing wiring schematics and
  19. answering technical questions.
  20. Description
  21. -----------
  22. The Fintek F71805F/FG Super I/O chip includes complete hardware monitoring
  23. capabilities. It can monitor up to 9 voltages (counting its own power
  24. source), 3 fans and 3 temperature sensors.
  25. This chip also has fan controlling features, using either DC or PWM, in
  26. three different modes (one manual, two automatic).
  27. The Fintek F71872F/FG Super I/O chip is almost the same, with two
  28. additional internal voltages monitored (VSB and battery). It also features
  29. 6 VID inputs. The VID inputs are not yet supported by this driver.
  30. The driver assumes that no more than one chip is present, which seems
  31. reasonable.
  32. Voltage Monitoring
  33. ------------------
  34. Voltages are sampled by an 8-bit ADC with a LSB of 8 mV. The supported
  35. range is thus from 0 to 2.040 V. Voltage values outside of this range
  36. need external resistors. An exception is in0, which is used to monitor
  37. the chip's own power source (+3.3V), and is divided internally by a
  38. factor 2. For the F71872F/FG, in9 (VSB) and in10 (battery) are also
  39. divided internally by a factor 2.
  40. The two LSB of the voltage limit registers are not used (always 0), so
  41. you can only set the limits in steps of 32 mV (before scaling).
  42. The wirings and resistor values suggested by Fintek are as follow:
  43. pin expected
  44. name use R1 R2 divider raw val.
  45. in0 VCC VCC3.3V int. int. 2.00 1.65 V
  46. in1 VIN1 VTT1.2V 10K - 1.00 1.20 V
  47. in2 VIN2 VRAM 100K 100K 2.00 ~1.25 V (1)
  48. in3 VIN3 VCHIPSET 47K 100K 1.47 2.24 V (2)
  49. in4 VIN4 VCC5V 200K 47K 5.25 0.95 V
  50. in5 VIN5 +12V 200K 20K 11.00 1.05 V
  51. in6 VIN6 VCC1.5V 10K - 1.00 1.50 V
  52. in7 VIN7 VCORE 10K - 1.00 ~1.40 V (1)
  53. in8 VIN8 VSB5V 200K 47K 1.00 0.95 V
  54. in10 VSB VSB3.3V int. int. 2.00 1.65 V (3)
  55. in9 VBAT VBATTERY int. int. 2.00 1.50 V (3)
  56. (1) Depends on your hardware setup.
  57. (2) Obviously not correct, swapping R1 and R2 would make more sense.
  58. (3) F71872F/FG only.
  59. These values can be used as hints at best, as motherboard manufacturers
  60. are free to use a completely different setup. As a matter of fact, the
  61. Jetway K8M8MS uses a significantly different setup. You will have to
  62. find out documentation about your own motherboard, and edit sensors.conf
  63. accordingly.
  64. Each voltage measured has associated low and high limits, each of which
  65. triggers an alarm when crossed.
  66. Fan Monitoring
  67. --------------
  68. Fan rotation speeds are reported as 12-bit values from a gated clock
  69. signal. Speeds down to 366 RPM can be measured. There is no theoretical
  70. high limit, but values over 6000 RPM seem to cause problem. The effective
  71. resolution is much lower than you would expect, the step between different
  72. register values being 10 rather than 1.
  73. The chip assumes 2 pulse-per-revolution fans.
  74. An alarm is triggered if the rotation speed drops below a programmable
  75. limit or is too low to be measured.
  76. Temperature Monitoring
  77. ----------------------
  78. Temperatures are reported in degrees Celsius. Each temperature measured
  79. has a high limit, those crossing triggers an alarm. There is an associated
  80. hysteresis value, below which the temperature has to drop before the
  81. alarm is cleared.
  82. All temperature channels are external, there is no embedded temperature
  83. sensor. Each channel can be used for connecting either a thermal diode
  84. or a thermistor. The driver reports the currently selected mode, but
  85. doesn't allow changing it. In theory, the BIOS should have configured
  86. everything properly.
  87. Fan Control
  88. -----------
  89. Both PWM (pulse-width modulation) and DC fan speed control methods are
  90. supported. The right one to use depends on external circuitry on the
  91. motherboard, so the driver assumes that the BIOS set the method
  92. properly. The driver will report the method, but won't let you change
  93. it.
  94. When the PWM method is used, you can select the operating frequency,
  95. from 187.5 kHz (default) to 31 Hz. The best frequency depends on the
  96. fan model. As a rule of thumb, lower frequencies seem to give better
  97. control, but may generate annoying high-pitch noise. Fintek recommends
  98. not going below 1 kHz, as the fan tachometers get confused by lower
  99. frequencies as well.
  100. When the DC method is used, Fintek recommends not going below 5 V, which
  101. corresponds to a pwm value of 106 for the driver. The driver doesn't
  102. enforce this limit though.
  103. Three different fan control modes are supported:
  104. * Manual mode
  105. You ask for a specific PWM duty cycle or DC voltage.
  106. * Fan speed mode
  107. You ask for a specific fan speed. This mode assumes that pwm1
  108. corresponds to fan1, pwm2 to fan2 and pwm3 to fan3.
  109. * Temperature mode
  110. You define 3 temperature/fan speed trip points, and the fan speed is
  111. adjusted depending on the measured temperature, using interpolation.
  112. This mode is not yet supported by the driver.