blob: 84d2623810f31ade6b45315297ee755c6985209d [file] [log] [blame]
Hans de Goede3b02d332009-01-07 16:37:31 +01001Kernel driver f71882fg
2======================
3
4Supported chips:
Jean Delvare5d7f77b2011-03-26 10:45:02 +01005 * Fintek F71808E
6 Prefix: 'f71808e'
7 Addresses scanned: none, address read from Super I/O config space
8 Datasheet: Not public
Hans de Goede629c58b2011-05-25 20:43:32 +02009 * Fintek F71808A
10 Prefix: 'f71808a'
11 Addresses scanned: none, address read from Super I/O config space
12 Datasheet: Not public
Hans de Goede09475d32009-06-15 18:39:52 +020013 * Fintek F71858FG
14 Prefix: 'f71858fg'
Hans de Goede3b02d332009-01-07 16:37:31 +010015 Addresses scanned: none, address read from Super I/O config space
16 Datasheet: Available from the Fintek website
17 * Fintek F71862FG and F71863FG
18 Prefix: 'f71862fg'
19 Addresses scanned: none, address read from Super I/O config space
20 Datasheet: Available from the Fintek website
Hans de Goedec11bb992011-03-09 20:57:15 +010021 * Fintek F71869F and F71869E
22 Prefix: 'f71869'
23 Addresses scanned: none, address read from Super I/O config space
24 Datasheet: Available from the Fintek website
Hans de Goede09475d32009-06-15 18:39:52 +020025 * Fintek F71882FG and F71883FG
26 Prefix: 'f71882fg'
27 Addresses scanned: none, address read from Super I/O config space
28 Datasheet: Available from the Fintek website
Hans de Goede76698962009-12-09 20:36:01 +010029 * Fintek F71889FG
30 Prefix: 'f71889fg'
31 Addresses scanned: none, address read from Super I/O config space
Hans de Goede3cad4022011-03-09 20:57:14 +010032 Datasheet: Available from the Fintek website
33 * Fintek F71889ED
34 Prefix: 'f71889ed'
35 Addresses scanned: none, address read from Super I/O config space
Hans de Goede76698962009-12-09 20:36:01 +010036 Datasheet: Should become available on the Fintek website soon
Hans de Goedea66c1082011-03-26 10:45:02 +010037 * Fintek F71889A
38 Prefix: 'f71889a'
39 Addresses scanned: none, address read from Super I/O config space
40 Datasheet: Should become available on the Fintek website soon
Hans de Goede3b02d332009-01-07 16:37:31 +010041 * Fintek F8000
42 Prefix: 'f8000'
43 Addresses scanned: none, address read from Super I/O config space
44 Datasheet: Not public
Jean Delvare5d7f77b2011-03-26 10:45:02 +010045 * Fintek F81801U
46 Prefix: 'f71889fg'
47 Addresses scanned: none, address read from Super I/O config space
48 Datasheet: Not public
49 Note: This is the 64-pin variant of the F71889FG, they have the
50 same device ID and are fully compatible as far as hardware
51 monitoring is concerned.
Jean Delvare383586b2011-03-26 10:45:02 +010052 * Fintek F81865F
53 Prefix: 'f81865f'
54 Addresses scanned: none, address read from Super I/O config space
55 Datasheet: Available from the Fintek website
Hans de Goede3b02d332009-01-07 16:37:31 +010056
57Author: Hans de Goede <hdegoede@redhat.com>
58
59
60Description
61-----------
62
Hans de Goede3cad4022011-03-09 20:57:14 +010063Fintek F718xx/F8000 Super I/O chips include complete hardware monitoring
64capabilities. They can monitor up to 9 voltages, 4 fans and 3 temperature
65sensors.
Hans de Goede3b02d332009-01-07 16:37:31 +010066
67These chips also have fan controlling features, using either DC or PWM, in
68three different modes (one manual, two automatic).
69
70The driver assumes that no more than one chip is present, which seems
71reasonable.
72
73
74Monitoring
75----------
76
77The Voltage, Fan and Temperature Monitoring uses the standard sysfs
78interface as documented in sysfs-interface, without any exceptions.
79
80
81Fan Control
82-----------
83
84Both PWM (pulse-width modulation) and DC fan speed control methods are
85supported. The right one to use depends on external circuitry on the
86motherboard, so the driver assumes that the BIOS set the method
87properly.
88
Hans de Goede76698962009-12-09 20:36:01 +010089Note that the lowest numbered temperature zone trip point corresponds to
90to the border between the highest and one but highest temperature zones, and
91vica versa. So the temperature zone trip points 1-4 (or 1-2) go from high temp
92to low temp! This is how things are implemented in the IC, and the driver
93mimicks this.
94
Hans de Goede3b02d332009-01-07 16:37:31 +010095There are 2 modes to specify the speed of the fan, PWM duty cycle (or DC
96voltage) mode, where 0-100% duty cycle (0-100% of 12V) is specified. And RPM
97mode where the actual RPM of the fan (as measured) is controlled and the speed
98gets specified as 0-100% of the fan#_full_speed file.
99
100Since both modes work in a 0-100% (mapped to 0-255) scale, there isn't a
101whole lot of a difference when modifying fan control settings. The only
102important difference is that in RPM mode the 0-100% controls the fan speed
103between 0-100% of fan#_full_speed. It is assumed that if the BIOS programs
104RPM mode, it will also set fan#_full_speed properly, if it does not then
105fan control will not work properly, unless you set a sane fan#_full_speed
106value yourself.
107
108Switching between these modes requires re-initializing a whole bunch of
109registers, so the mode which the BIOS has set is kept. The mode is
110printed when loading the driver.
111
112Three different fan control modes are supported; the mode number is written
113to the pwm#_enable file. Note that not all modes are supported on all
Hans de Goede09475d32009-06-15 18:39:52 +0200114chips, and some modes may only be available in RPM / PWM mode.
Hans de Goede3b02d332009-01-07 16:37:31 +0100115Writing an unsupported mode will result in an invalid parameter error.
116
117* 1: Manual mode
118 You ask for a specific PWM duty cycle / DC voltage or a specific % of
119 fan#_full_speed by writing to the pwm# file. This mode is only
Hans de Goede09475d32009-06-15 18:39:52 +0200120 available on the F71858FG / F8000 if the fan channel is in RPM mode.
Hans de Goede3b02d332009-01-07 16:37:31 +0100121
122* 2: Normal auto mode
123 You can define a number of temperature/fan speed trip points, which % the
124 fan should run at at this temp and which temp a fan should follow using the
125 standard sysfs interface. The number and type of trip points is chip
126 depended, see which files are available in sysfs.
127 Fan/PWM channel 3 of the F8000 is always in this mode!
128
129* 3: Thermostat mode (Only available on the F8000 when in duty cycle mode)
130 The fan speed is regulated to keep the temp the fan is mapped to between
131 temp#_auto_point2_temp and temp#_auto_point3_temp.
132
Hans de Goede3cad4022011-03-09 20:57:14 +0100133All of the automatic modes require that pwm1 corresponds to fan1, pwm2 to
Hans de Goede3b02d332009-01-07 16:37:31 +0100134fan2 and pwm3 to fan3.