Changeset 5717 for lm-sensors/trunk/prog/pwm
- Timestamp:
- 05/09/09 13:43:06 (3 years ago)
- Location:
- lm-sensors/trunk/prog/pwm
- Files:
-
- 2 modified
-
fancontrol (modified) (1 diff)
-
fancontrol.8 (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/prog/pwm/fancontrol
r5668 r5717 160 160 fi 161 161 162 # Detect if config file uses the hwmon class or not yet 163 if echo "${AFCPWM[0]}" | egrep -q '^hwmon[0-9]' 162 # Detect path to sensors 163 if echo "${AFCPWM[0]}" | egrep -q '^/' 164 then 165 DIR=/ 166 elif echo "${AFCPWM[0]}" | egrep -q '^hwmon[0-9]' 164 167 then 165 168 DIR=/sys/class/hwmon -
lm-sensors/trunk/prog/pwm/fancontrol.8
r5631 r5717 82 82 .PP 83 83 Each variable has its own line. The variable name is followed by an equal sign 84 and the device=value pairs. These consist of the relative path to the pwm85 output (from /sys/bus/i2c/devices or /sys/class/hwmon 86 depending on the kernel version) for which the value is valid, equal sign 87 followed by the value and are separated by a blank. Example:84 and the device=value pairs. These consist of the path to the pwm output for 85 which the value is valid, equal sign followed by the value and are separated 86 by a blank. Path can be absolute or relative (from /sys/bus/i2c/devices or 87 /sys/class/hwmon depending on the kernel version). Example: 88 88 .IP 89 MINTEMP= w83627hf-isa-0290/pwm2=40 w83627hf-isa-0290/pwm1=5489 MINTEMP=hwmon0/device/pwm1=40 hwmon0/device/pwm2=54 90 90 .PP 91 91 You have to play with the temperature values a bit to get happy. For initial
