diff options
author | Jean Delvare <khali@linux-fr.org> | 2007-02-14 15:15:02 -0500 |
---|---|---|
committer | Jean Delvare <khali@arrakis.delvare> | 2007-02-14 15:15:02 -0500 |
commit | f8d0c19a93cea3a26a90f2462295e1e01a4cd250 (patch) | |
tree | 6d874a35f611a1c344896ef13a911a80a3d10017 /Documentation/hwmon | |
parent | ac98695d6c1508b724f246f38ce57fb4e3cec356 (diff) |
hwmon/it87: Add PWM base frequency control
Let the user select the base PWM frequency when using the it87
hardware monitoring driver. Different frequencies can give better
control on some fans.
Also update the documentation to mention the PWM frequency control
files, with misc cleanups to the PWM section.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'Documentation/hwmon')
-rw-r--r-- | Documentation/hwmon/it87 | 10 | ||||
-rw-r--r-- | Documentation/hwmon/sysfs-interface | 15 |
2 files changed, 20 insertions, 5 deletions
diff --git a/Documentation/hwmon/it87 b/Documentation/hwmon/it87 index 74a80992d237..c0528d6f9ace 100644 --- a/Documentation/hwmon/it87 +++ b/Documentation/hwmon/it87 | |||
@@ -135,6 +135,16 @@ Give 0 for unused sensor. Any other value is invalid. To configure this at | |||
135 | startup, consult lm_sensors's /etc/sensors.conf. (2 = thermistor; | 135 | startup, consult lm_sensors's /etc/sensors.conf. (2 = thermistor; |
136 | 3 = thermal diode) | 136 | 3 = thermal diode) |
137 | 137 | ||
138 | |||
139 | Fan speed control | ||
140 | ----------------- | ||
141 | |||
138 | The fan speed control features are limited to manual PWM mode. Automatic | 142 | The fan speed control features are limited to manual PWM mode. Automatic |
139 | "Smart Guardian" mode control handling is not implemented. However | 143 | "Smart Guardian" mode control handling is not implemented. However |
140 | if you want to go for "manual mode" just write 1 to pwmN_enable. | 144 | if you want to go for "manual mode" just write 1 to pwmN_enable. |
145 | |||
146 | If you are only able to control the fan speed with very small PWM values, | ||
147 | try lowering the PWM base frequency (pwm1_freq). Depending on the fan, | ||
148 | it may give you a somewhat greater control range. The same frequency is | ||
149 | used to drive all fan outputs, which is why pwm2_freq and pwm3_freq are | ||
150 | read-only. | ||
diff --git a/Documentation/hwmon/sysfs-interface b/Documentation/hwmon/sysfs-interface index efef3b962cd3..d73d2e8c7534 100644 --- a/Documentation/hwmon/sysfs-interface +++ b/Documentation/hwmon/sysfs-interface | |||
@@ -166,16 +166,21 @@ pwm[1-*] Pulse width modulation fan control. | |||
166 | 166 | ||
167 | pwm[1-*]_enable | 167 | pwm[1-*]_enable |
168 | Switch PWM on and off. | 168 | Switch PWM on and off. |
169 | Not always present even if fan*_pwm is. | 169 | Not always present even if pwmN is. |
170 | 0: turn off | 170 | 0: turn off |
171 | 1: turn on in manual mode | 171 | 1: turn on in manual mode |
172 | 2+: turn on in automatic mode | 172 | 2+: turn on in automatic mode |
173 | Check individual chip documentation files for automatic mode details. | 173 | Check individual chip documentation files for automatic mode |
174 | details. | ||
174 | RW | 175 | RW |
175 | 176 | ||
176 | pwm[1-*]_mode | 177 | pwm[1-*]_mode 0: DC mode (direct current) |
177 | 0: DC mode | 178 | 1: PWM mode (pulse-width modulation) |
178 | 1: PWM mode | 179 | RW |
180 | |||
181 | pwm[1-*]_freq Base PWM frequency in Hz. | ||
182 | Only possibly available when pwmN_mode is PWM, but not always | ||
183 | present even then. | ||
179 | RW | 184 | RW |
180 | 185 | ||
181 | pwm[1-*]_auto_channels_temp | 186 | pwm[1-*]_auto_channels_temp |