Add support for absolute path to hwmon devices.

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5717 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2009-05-09 11:43:06 +00:00
1 parent 819d7239c1
commit dee604c8e9
4 files changed
+16 -12

No files matched your search

+5 -5
View File
@@ -99,14 +99,14 @@ VARIABLE=chip/pwmdev=value chip/pwmdev2=value2 [...]
VARIABLE2=[...]
Each variable has its own line. The variable name is followed by an equal sign
and the device=value pairs. These consist of the relative path to the pwm
output (from /sys/bus/i2c/devices or /sys/class/hwmon depending on the kernel
version) for which the value is valid, equal sign followed by the value and
are separated by a blank.
and the device=value pairs. These consist of the path to the pwm output for
which the value is valid, equal sign followed by the value and are separated
by a blank. Path can be absolute or relative (from /sys/bus/i2c/devices or
/sys/class/hwmon depending on the kernel version).
Example:
MINTEMP=w83627hf-isa-0290/pwm2=40 w83627hf-isa-0290/pwm1=54
MINTEMP=hwmon0/device/pwm1=40 hwmon0/device/pwm2=54
You have to play with the temperature values a bit to get happy. For initial
setup I recommend using the pwmconfig script. Small changes can be made by