Subject: hwmon: Improve the pwmN_enable
Quoted 7 lines
Hi Riku,
Quoted 4 lines · Riku Voipio
Quoted 2 lines · Jean Delvare
Sounds like a bug in the driver then. Setting
pwm1_enableto 0 should turn the fan to full speed.
Quoted 6 lines
Quoted 2 lines
The sysfs interface states that
pwm_enableto 0 turns off pwm control... How would that turn fans to full speed?I agree that
Documentation/hwmon/sysfs-interfaceis particularly confusing. I thought we had fixed it, but it seems not. What about the following patch?
Looks good for me. Thanks.
Quoted 31 lines
* * * * *
The documentation of the
pwmN_enableinterface file is not very clear, and has been confusing several driver authors already. Make it clearer.Signed-off-by Jean Delvare <[email protected]>--- Documentation/hwmon/sysfs-interface | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-)--- linux-2.6.22-rc6.orig/Documentation/hwmon/sysfs-interface 2007-06-27
21:08:40.000000000 +0200
+++ linux-2.6.22-rc6/Documentation/hwmon/sysfs-interface 2007-06-27
21:21:57.000000000 +0200(quoted diff) +4
-5@@ -172,11 +172,10 @@ pwm[1-*] Pulse width modulation fan cont 255 is max or 100%. pwm[1-*]_enable - Switch PWM on and off. - Not always present even if pwmN is. - 0: turn off - 1: turn on in manual mode - 2+: turn on in automatic mode + Fan speed control method: + 0: no fan speed control (i.e. fan at full speed) + 1: manual fan speed control enabled (using pwm[1-*]) + 2+: automatic fan speed control enabled Check individual chip documentation files for automatic mode details. RW
Quoted 4 lines
Thanks,
--
Jean Delvare
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors