Skip to contentSkip to conversation

hwmon: it87 sysfs PWM interface for fan4-5

PATCH In review Andrew Paprocki 1 participant 1 message Jul 7, 2008

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 3/4 hwmon: it87 sysfs PWM interface for fan4-5

PWM interface files are now created for fan4-5 on all chips except the IT8705F if the chip indicates fan4-5 are enabled. Fans 4 and 5 do not allow selection between "ON/OFF" mode and SmartGuardian; SmartGuardian is the only mode. FAN_CTL4-5 are identicial in operation to FAN_CTL1-3, so the IT87_REG_PWM() macro is now the IT87_REG_FAN_PWM[5] array.

---
 Documentation/hwmon/it87 |    6 +++-
 drivers/hwmon/it87.c     |   89 ++++++++++++++++++++++++++++++++++++---------
 2 files changed, 76 insertions(+), 19 deletions(-)
Documentation/hwmon/it87 +5 -1
index 3496b70..77196bf 100644
@@ -146,6 +146,10 @@ startup, consult lm_sensors's /etc/sensors.conf. (2 = thermistor;
 Fan speed control
 -----------------
 
+The fan speed control sysfs interface will only be exposed if a working
+BIOS is detected. The PWM files will only be created for each individual
+fan which is enabled.
+
 The fan speed control features are limited to manual PWM mode. Automatic
 "Smart Guardian" mode control handling is not implemented. However
 if you want to go for "manual mode" just write 1 to pwmN_enable.
@@ -153,5 +157,5 @@ if you want to go for "manual mode" just write 1 to pwmN_enable.
 If you are only able to control the fan speed with very small PWM values,
 try lowering the PWM base frequency (pwm1_freq). Depending on the fan,
 it may give you a somewhat greater control range. The same frequency is
-used to drive all fan outputs, which is why pwm2_freq and pwm3_freq are
+used to drive all fan outputs, which is why all other pwmN_freq files are
 read-only.
drivers/hwmon/it87.c +71 -18

191 lines not on this page · raw message

Signature · 7 lines
1.5.6


_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors