Changeset 4990
- Timestamp:
- 10/25/07 11:59:05 (4 years ago)
- Location:
- lm-sensors/branches/lm-sensors-3.0.0
- Files:
-
- 10 modified
-
CHANGES (modified) (2 diffs)
-
INSTALL (modified) (1 diff)
-
doc/fan-divisors (modified) (2 diffs)
-
etc/Module.mk (modified) (1 diff)
-
etc/sensors-conf-convert (modified) (1 diff)
-
lib/init.c (modified) (3 diffs)
-
lib/libsensors.3 (modified) (1 diff)
-
lib/sensors.conf.5 (modified) (2 diffs)
-
prog/sensord/sensord.8 (modified) (1 diff)
-
prog/sensors/sensors.1 (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/branches/lm-sensors-3.0.0/CHANGES
r4989 r4990 6 6 Fix memory leaks on initialization error 7 7 Make the configuration file optional 8 Change the default configuration file to /etc/sensors3.conf 8 9 sensord: Reload config on SIGHUP rather than automatically 9 10 No default configuration file name … … 11 12 Handle the case where voltage measurements aren't available 12 13 No default configuration file name 14 sensors.conf.eg: Install as sensors3.conf 13 15 sensors-detect: Fix SMSC LPC47B357/M967 detection 14 16 Select the right driver for FSC chips -
lm-sensors/branches/lm-sensors-3.0.0/INSTALL
r4876 r4990 72 72 73 73 The initial output of `sensors' will not be perfect. You have to adjust 74 the configuration file (/etc/sensors .conf) to match your motherboard.74 the configuration file (/etc/sensors3.conf) to match your motherboard. 75 75 This includes (re)labelling inputs, ignoring unused inputs, changing 76 76 voltage compute lines and setting limits. Write down all the sensor -
lm-sensors/branches/lm-sensors-3.0.0/doc/fan-divisors
r4251 r4990 48 48 49 49 Put an entry "set fanN_div X" in the appropriate section of 50 /etc/sensors .conf and run 'sensors -s'50 /etc/sensors3.conf and run 'sensors -s' 51 51 (N is the number of the fan, and X is the divisor you want). 52 52 … … 88 88 As we learned above, you can _not_ fix this by changing 89 89 the fan divisor. You must add entries into the appropriate 90 section of /etc/sensors .conf:90 section of /etc/sensors3.conf: 91 91 92 92 compute fanN @/2, 2*@ -
lm-sensors/branches/lm-sensors-3.0.0/etc/Module.mk
r4893 r4990 22 22 23 23 ETCTARGET := $(MODULE_DIR)/sensors.conf.eg 24 ETCINSTALL := $(ETCDIR)/sensors .conf24 ETCINSTALL := $(ETCDIR)/sensors3.conf 25 25 26 26 -
lm-sensors/branches/lm-sensors-3.0.0/etc/sensors-conf-convert
r4935 r4990 368 368 if (defined $ARGV[0] && ($ARGV[0] eq '-h' || $ARGV[0] eq '--help')) { 369 369 print "Convert sensors.conf from lm-sensors 2 format to lm-sensors 3 format\n", 370 "Typical usage: sensors-conf-convert /etc/sensors.conf\n";370 "Typical usage: sensors-conf-convert < /etc/sensors.conf > /etc/sensors3.conf\n"; 371 371 exit 0; 372 372 } -
lm-sensors/branches/lm-sensors-3.0.0/lib/init.c
r4989 r4990 21 21 #include <stdlib.h> 22 22 #include <stdio.h> 23 #include <errno.h> 23 24 #include "sensors.h" 24 25 #include "data.h" … … 30 31 #include "init.h" 31 32 32 #define DEFAULT_CONFIG_FILE ETCDIR "/sensors.conf" 33 #define DEFAULT_CONFIG_FILE ETCDIR "/sensors3.conf" 34 #define ALT_CONFIG_FILE ETCDIR "/sensors.conf" 33 35 34 36 int sensors_init(FILE *input) … … 50 52 /* No configuration provided, use default */ 51 53 input = fopen(DEFAULT_CONFIG_FILE, "r"); 54 if (!input && errno == ENOENT) 55 input = fopen(ALT_CONFIG_FILE, "r"); 52 56 if (input) { 53 57 if (sensors_scanner_init(input) || -
lm-sensors/branches/lm-sensors-3.0.0/lib/libsensors.3
r4985 r4990 173 173 174 174 .SH FILES 175 .I /etc/sensors3.conf 176 .br 175 177 .I /etc/sensors.conf 176 178 .RS 177 179 The system-wide 178 180 .BR libsensors (3) 179 configuration file. 181 configuration file. /etc/sensors3.conf is tried first, and if it doesn't exist, 182 /etc/sensors.conf is used instead. 180 183 181 184 .SH SEE ALSO -
lm-sensors/branches/lm-sensors-3.0.0/lib/sensors.conf.5
r4782 r4990 24 24 .\" References consulted: 25 25 .\" sensors.conf.eg by Frodo Looijaard 26 .TH sensors.conf 5 " September 2007" "lm-sensors 3" "Linux User's Manual"26 .TH sensors.conf 5 "October 2007" "lm-sensors 3" "Linux User's Manual" 27 27 .SH NAME 28 28 sensors.conf \- libsensors configuration file … … 395 395 that one takes always precedence. 396 396 397 .SH FILES 398 .I /etc/sensors3.conf 399 .br 400 .I /etc/sensors.conf 401 .RS 402 The system-wide 403 .BR libsensors (3) 404 configuration file. /etc/sensors3.conf is tried first, and if it doesn't exist, 405 /etc/sensors.conf is used instead. 406 397 407 .SH SEE ALSO 398 408 libsensors(3) -
lm-sensors/branches/lm-sensors-3.0.0/prog/sensord/sensord.8
r4987 r4990 361 361 multiple sensor chips having duplicate sensor labels. 362 362 .SH FILES 363 .I /etc/sensors3.conf 364 .br 363 365 .I /etc/sensors.conf 364 366 .RS -
lm-sensors/branches/lm-sensors-3.0.0/prog/sensors/sensors.1
r4986 r4990 75 75 than numbers. 76 76 .SH FILES 77 .I /etc/sensors3.conf 78 .br 77 79 .I /etc/sensors.conf 78 80 .RS
