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