Hans de Goede | 3b02d33 | 2009-01-07 16:37:31 +0100 | [diff] [blame] | 1 | Kernel driver f71882fg |
| 2 | ====================== |
| 3 | |
| 4 | Supported chips: |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 5 | |
Jean Delvare | 5d7f77b | 2011-03-26 10:45:02 +0100 | [diff] [blame] | 6 | * Fintek F71808E |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 7 | |
Jean Delvare | 5d7f77b | 2011-03-26 10:45:02 +0100 | [diff] [blame] | 8 | Prefix: 'f71808e' |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 9 | |
Jean Delvare | 5d7f77b | 2011-03-26 10:45:02 +0100 | [diff] [blame] | 10 | Addresses scanned: none, address read from Super I/O config space |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 11 | |
Jean Delvare | 5d7f77b | 2011-03-26 10:45:02 +0100 | [diff] [blame] | 12 | Datasheet: Not public |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 13 | |
Hans de Goede | 629c58b | 2011-05-25 20:43:32 +0200 | [diff] [blame] | 14 | * Fintek F71808A |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 15 | |
Hans de Goede | 629c58b | 2011-05-25 20:43:32 +0200 | [diff] [blame] | 16 | Prefix: 'f71808a' |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 17 | |
Hans de Goede | 629c58b | 2011-05-25 20:43:32 +0200 | [diff] [blame] | 18 | Addresses scanned: none, address read from Super I/O config space |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 19 | |
Hans de Goede | 629c58b | 2011-05-25 20:43:32 +0200 | [diff] [blame] | 20 | Datasheet: Not public |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 21 | |
Hans de Goede | 09475d3 | 2009-06-15 18:39:52 +0200 | [diff] [blame] | 22 | * Fintek F71858FG |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 23 | |
Hans de Goede | 09475d3 | 2009-06-15 18:39:52 +0200 | [diff] [blame] | 24 | Prefix: 'f71858fg' |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 25 | |
Hans de Goede | 3b02d33 | 2009-01-07 16:37:31 +0100 | [diff] [blame] | 26 | Addresses scanned: none, address read from Super I/O config space |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 27 | |
Hans de Goede | 3b02d33 | 2009-01-07 16:37:31 +0100 | [diff] [blame] | 28 | Datasheet: Available from the Fintek website |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 29 | |
Hans de Goede | 3b02d33 | 2009-01-07 16:37:31 +0100 | [diff] [blame] | 30 | * Fintek F71862FG and F71863FG |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 31 | |
Hans de Goede | 3b02d33 | 2009-01-07 16:37:31 +0100 | [diff] [blame] | 32 | Prefix: 'f71862fg' |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 33 | |
Hans de Goede | 3b02d33 | 2009-01-07 16:37:31 +0100 | [diff] [blame] | 34 | Addresses scanned: none, address read from Super I/O config space |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 35 | |
Hans de Goede | 3b02d33 | 2009-01-07 16:37:31 +0100 | [diff] [blame] | 36 | Datasheet: Available from the Fintek website |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 37 | |
Hans de Goede | c11bb99 | 2011-03-09 20:57:15 +0100 | [diff] [blame] | 38 | * Fintek F71869F and F71869E |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 39 | |
Hans de Goede | c11bb99 | 2011-03-09 20:57:15 +0100 | [diff] [blame] | 40 | Prefix: 'f71869' |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 41 | |
Hans de Goede | c11bb99 | 2011-03-09 20:57:15 +0100 | [diff] [blame] | 42 | Addresses scanned: none, address read from Super I/O config space |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 43 | |
Hans de Goede | c11bb99 | 2011-03-09 20:57:15 +0100 | [diff] [blame] | 44 | Datasheet: Available from the Fintek website |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 45 | |
Hans de Goede | 5da556e | 2011-07-03 13:32:53 +0200 | [diff] [blame] | 46 | * Fintek F71869A |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 47 | |
Hans de Goede | 5da556e | 2011-07-03 13:32:53 +0200 | [diff] [blame] | 48 | Prefix: 'f71869a' |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 49 | |
Hans de Goede | 5da556e | 2011-07-03 13:32:53 +0200 | [diff] [blame] | 50 | Addresses scanned: none, address read from Super I/O config space |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 51 | |
Hans de Goede | 5da556e | 2011-07-03 13:32:53 +0200 | [diff] [blame] | 52 | Datasheet: Not public |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 53 | |
Hans de Goede | 09475d3 | 2009-06-15 18:39:52 +0200 | [diff] [blame] | 54 | * Fintek F71882FG and F71883FG |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 55 | |
Hans de Goede | 09475d3 | 2009-06-15 18:39:52 +0200 | [diff] [blame] | 56 | Prefix: 'f71882fg' |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 57 | |
Hans de Goede | 09475d3 | 2009-06-15 18:39:52 +0200 | [diff] [blame] | 58 | Addresses scanned: none, address read from Super I/O config space |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 59 | |
Hans de Goede | 09475d3 | 2009-06-15 18:39:52 +0200 | [diff] [blame] | 60 | Datasheet: Available from the Fintek website |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 61 | |
Hans de Goede | 7669896 | 2009-12-09 20:36:01 +0100 | [diff] [blame] | 62 | * Fintek F71889FG |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 63 | |
Hans de Goede | 7669896 | 2009-12-09 20:36:01 +0100 | [diff] [blame] | 64 | Prefix: 'f71889fg' |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 65 | |
Hans de Goede | 7669896 | 2009-12-09 20:36:01 +0100 | [diff] [blame] | 66 | Addresses scanned: none, address read from Super I/O config space |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 67 | |
Hans de Goede | 3cad402 | 2011-03-09 20:57:14 +0100 | [diff] [blame] | 68 | Datasheet: Available from the Fintek website |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 69 | |
Hans de Goede | 3cad402 | 2011-03-09 20:57:14 +0100 | [diff] [blame] | 70 | * Fintek F71889ED |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 71 | |
Hans de Goede | 3cad402 | 2011-03-09 20:57:14 +0100 | [diff] [blame] | 72 | Prefix: 'f71889ed' |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 73 | |
Hans de Goede | 3cad402 | 2011-03-09 20:57:14 +0100 | [diff] [blame] | 74 | Addresses scanned: none, address read from Super I/O config space |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 75 | |
Hans de Goede | 7669896 | 2009-12-09 20:36:01 +0100 | [diff] [blame] | 76 | Datasheet: Should become available on the Fintek website soon |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 77 | |
Hans de Goede | a66c108 | 2011-03-26 10:45:02 +0100 | [diff] [blame] | 78 | * Fintek F71889A |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 79 | |
Hans de Goede | a66c108 | 2011-03-26 10:45:02 +0100 | [diff] [blame] | 80 | Prefix: 'f71889a' |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 81 | |
Hans de Goede | a66c108 | 2011-03-26 10:45:02 +0100 | [diff] [blame] | 82 | Addresses scanned: none, address read from Super I/O config space |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 83 | |
Hans de Goede | a66c108 | 2011-03-26 10:45:02 +0100 | [diff] [blame] | 84 | Datasheet: Should become available on the Fintek website soon |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 85 | |
Hans de Goede | 3b02d33 | 2009-01-07 16:37:31 +0100 | [diff] [blame] | 86 | * Fintek F8000 |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 87 | |
Hans de Goede | 3b02d33 | 2009-01-07 16:37:31 +0100 | [diff] [blame] | 88 | Prefix: 'f8000' |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 89 | |
Hans de Goede | 3b02d33 | 2009-01-07 16:37:31 +0100 | [diff] [blame] | 90 | Addresses scanned: none, address read from Super I/O config space |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 91 | |
Hans de Goede | 3b02d33 | 2009-01-07 16:37:31 +0100 | [diff] [blame] | 92 | Datasheet: Not public |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 93 | |
Jean Delvare | 5d7f77b | 2011-03-26 10:45:02 +0100 | [diff] [blame] | 94 | * Fintek F81801U |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 95 | |
Jean Delvare | 5d7f77b | 2011-03-26 10:45:02 +0100 | [diff] [blame] | 96 | Prefix: 'f71889fg' |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 97 | |
Jean Delvare | 5d7f77b | 2011-03-26 10:45:02 +0100 | [diff] [blame] | 98 | Addresses scanned: none, address read from Super I/O config space |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 99 | |
Jean Delvare | 5d7f77b | 2011-03-26 10:45:02 +0100 | [diff] [blame] | 100 | Datasheet: Not public |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 101 | |
| 102 | Note: |
| 103 | This is the 64-pin variant of the F71889FG, they have the |
Jean Delvare | 5d7f77b | 2011-03-26 10:45:02 +0100 | [diff] [blame] | 104 | same device ID and are fully compatible as far as hardware |
| 105 | monitoring is concerned. |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 106 | |
Jean Delvare | 383586b | 2011-03-26 10:45:02 +0100 | [diff] [blame] | 107 | * Fintek F81865F |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 108 | |
Jean Delvare | 383586b | 2011-03-26 10:45:02 +0100 | [diff] [blame] | 109 | Prefix: 'f81865f' |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 110 | |
Jean Delvare | 383586b | 2011-03-26 10:45:02 +0100 | [diff] [blame] | 111 | Addresses scanned: none, address read from Super I/O config space |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 112 | |
Jean Delvare | 383586b | 2011-03-26 10:45:02 +0100 | [diff] [blame] | 113 | Datasheet: Available from the Fintek website |
Hans de Goede | 3b02d33 | 2009-01-07 16:37:31 +0100 | [diff] [blame] | 114 | |
| 115 | Author: Hans de Goede <hdegoede@redhat.com> |
| 116 | |
| 117 | |
| 118 | Description |
| 119 | ----------- |
| 120 | |
Hans de Goede | 3cad402 | 2011-03-09 20:57:14 +0100 | [diff] [blame] | 121 | Fintek F718xx/F8000 Super I/O chips include complete hardware monitoring |
| 122 | capabilities. They can monitor up to 9 voltages, 4 fans and 3 temperature |
| 123 | sensors. |
Hans de Goede | 3b02d33 | 2009-01-07 16:37:31 +0100 | [diff] [blame] | 124 | |
| 125 | These chips also have fan controlling features, using either DC or PWM, in |
| 126 | three different modes (one manual, two automatic). |
| 127 | |
| 128 | The driver assumes that no more than one chip is present, which seems |
| 129 | reasonable. |
| 130 | |
| 131 | |
| 132 | Monitoring |
| 133 | ---------- |
| 134 | |
| 135 | The Voltage, Fan and Temperature Monitoring uses the standard sysfs |
| 136 | interface as documented in sysfs-interface, without any exceptions. |
| 137 | |
| 138 | |
| 139 | Fan Control |
| 140 | ----------- |
| 141 | |
| 142 | Both PWM (pulse-width modulation) and DC fan speed control methods are |
| 143 | supported. The right one to use depends on external circuitry on the |
| 144 | motherboard, so the driver assumes that the BIOS set the method |
| 145 | properly. |
| 146 | |
Hans de Goede | 7669896 | 2009-12-09 20:36:01 +0100 | [diff] [blame] | 147 | Note that the lowest numbered temperature zone trip point corresponds to |
Randy Dunlap | 3cdeccb | 2020-07-03 13:56:45 -0700 | [diff] [blame] | 148 | the border between the highest and one but highest temperature zones, and |
Hans de Goede | 7669896 | 2009-12-09 20:36:01 +0100 | [diff] [blame] | 149 | vica versa. So the temperature zone trip points 1-4 (or 1-2) go from high temp |
| 150 | to low temp! This is how things are implemented in the IC, and the driver |
Chengguang Xu | 787d07e | 2019-01-04 22:27:22 +0800 | [diff] [blame] | 151 | mimics this. |
Hans de Goede | 7669896 | 2009-12-09 20:36:01 +0100 | [diff] [blame] | 152 | |
Hans de Goede | 3b02d33 | 2009-01-07 16:37:31 +0100 | [diff] [blame] | 153 | There are 2 modes to specify the speed of the fan, PWM duty cycle (or DC |
| 154 | voltage) mode, where 0-100% duty cycle (0-100% of 12V) is specified. And RPM |
| 155 | mode where the actual RPM of the fan (as measured) is controlled and the speed |
| 156 | gets specified as 0-100% of the fan#_full_speed file. |
| 157 | |
| 158 | Since both modes work in a 0-100% (mapped to 0-255) scale, there isn't a |
| 159 | whole lot of a difference when modifying fan control settings. The only |
| 160 | important difference is that in RPM mode the 0-100% controls the fan speed |
| 161 | between 0-100% of fan#_full_speed. It is assumed that if the BIOS programs |
| 162 | RPM mode, it will also set fan#_full_speed properly, if it does not then |
| 163 | fan control will not work properly, unless you set a sane fan#_full_speed |
| 164 | value yourself. |
| 165 | |
| 166 | Switching between these modes requires re-initializing a whole bunch of |
| 167 | registers, so the mode which the BIOS has set is kept. The mode is |
| 168 | printed when loading the driver. |
| 169 | |
| 170 | Three different fan control modes are supported; the mode number is written |
| 171 | to the pwm#_enable file. Note that not all modes are supported on all |
Hans de Goede | 09475d3 | 2009-06-15 18:39:52 +0200 | [diff] [blame] | 172 | chips, and some modes may only be available in RPM / PWM mode. |
Hans de Goede | 3b02d33 | 2009-01-07 16:37:31 +0100 | [diff] [blame] | 173 | Writing an unsupported mode will result in an invalid parameter error. |
| 174 | |
| 175 | * 1: Manual mode |
| 176 | You ask for a specific PWM duty cycle / DC voltage or a specific % of |
| 177 | fan#_full_speed by writing to the pwm# file. This mode is only |
Hans de Goede | 09475d3 | 2009-06-15 18:39:52 +0200 | [diff] [blame] | 178 | available on the F71858FG / F8000 if the fan channel is in RPM mode. |
Hans de Goede | 3b02d33 | 2009-01-07 16:37:31 +0100 | [diff] [blame] | 179 | |
| 180 | * 2: Normal auto mode |
| 181 | You can define a number of temperature/fan speed trip points, which % the |
| 182 | fan should run at at this temp and which temp a fan should follow using the |
| 183 | standard sysfs interface. The number and type of trip points is chip |
| 184 | depended, see which files are available in sysfs. |
| 185 | Fan/PWM channel 3 of the F8000 is always in this mode! |
| 186 | |
| 187 | * 3: Thermostat mode (Only available on the F8000 when in duty cycle mode) |
| 188 | The fan speed is regulated to keep the temp the fan is mapped to between |
| 189 | temp#_auto_point2_temp and temp#_auto_point3_temp. |
| 190 | |
Hans de Goede | 3cad402 | 2011-03-09 20:57:14 +0100 | [diff] [blame] | 191 | All of the automatic modes require that pwm1 corresponds to fan1, pwm2 to |
Hans de Goede | 3b02d33 | 2009-01-07 16:37:31 +0100 | [diff] [blame] | 192 | fan2 and pwm3 to fan3. |