f71882fg 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. Kernel driver f71882fg
  2. ======================
  3. Supported chips:
  4. * Fintek F71882FG and F71883FG
  5. Prefix: 'f71882fg'
  6. Addresses scanned: none, address read from Super I/O config space
  7. Datasheet: Available from the Fintek website
  8. * Fintek F71862FG and F71863FG
  9. Prefix: 'f71862fg'
  10. Addresses scanned: none, address read from Super I/O config space
  11. Datasheet: Available from the Fintek website
  12. * Fintek F8000
  13. Prefix: 'f8000'
  14. Addresses scanned: none, address read from Super I/O config space
  15. Datasheet: Not public
  16. Author: Hans de Goede <hdegoede@redhat.com>
  17. Description
  18. -----------
  19. Fintek F718xxFG/F8000 Super I/O chips include complete hardware monitoring
  20. capabilities. They can monitor up to 9 voltages (3 for the F8000), 4 fans and
  21. 3 temperature sensors.
  22. These chips also have fan controlling features, using either DC or PWM, in
  23. three different modes (one manual, two automatic).
  24. The driver assumes that no more than one chip is present, which seems
  25. reasonable.
  26. Monitoring
  27. ----------
  28. The Voltage, Fan and Temperature Monitoring uses the standard sysfs
  29. interface as documented in sysfs-interface, without any exceptions.
  30. Fan Control
  31. -----------
  32. Both PWM (pulse-width modulation) and DC fan speed control methods are
  33. supported. The right one to use depends on external circuitry on the
  34. motherboard, so the driver assumes that the BIOS set the method
  35. properly.
  36. There are 2 modes to specify the speed of the fan, PWM duty cycle (or DC
  37. voltage) mode, where 0-100% duty cycle (0-100% of 12V) is specified. And RPM
  38. mode where the actual RPM of the fan (as measured) is controlled and the speed
  39. gets specified as 0-100% of the fan#_full_speed file.
  40. Since both modes work in a 0-100% (mapped to 0-255) scale, there isn't a
  41. whole lot of a difference when modifying fan control settings. The only
  42. important difference is that in RPM mode the 0-100% controls the fan speed
  43. between 0-100% of fan#_full_speed. It is assumed that if the BIOS programs
  44. RPM mode, it will also set fan#_full_speed properly, if it does not then
  45. fan control will not work properly, unless you set a sane fan#_full_speed
  46. value yourself.
  47. Switching between these modes requires re-initializing a whole bunch of
  48. registers, so the mode which the BIOS has set is kept. The mode is
  49. printed when loading the driver.
  50. Three different fan control modes are supported; the mode number is written
  51. to the pwm#_enable file. Note that not all modes are supported on all
  52. chips, and some modes may only be available in RPM / PWM mode on the F8000.
  53. Writing an unsupported mode will result in an invalid parameter error.
  54. * 1: Manual mode
  55. You ask for a specific PWM duty cycle / DC voltage or a specific % of
  56. fan#_full_speed by writing to the pwm# file. This mode is only
  57. available on the F8000 if the fan channel is in RPM mode.
  58. * 2: Normal auto mode
  59. You can define a number of temperature/fan speed trip points, which % the
  60. fan should run at at this temp and which temp a fan should follow using the
  61. standard sysfs interface. The number and type of trip points is chip
  62. depended, see which files are available in sysfs.
  63. Fan/PWM channel 3 of the F8000 is always in this mode!
  64. * 3: Thermostat mode (Only available on the F8000 when in duty cycle mode)
  65. The fan speed is regulated to keep the temp the fan is mapped to between
  66. temp#_auto_point2_temp and temp#_auto_point3_temp.
  67. Both of the automatic modes require that pwm1 corresponds to fan1, pwm2 to
  68. fan2 and pwm3 to fan3.