Changeset 4465
- Timestamp:
- 06/25/07 16:21:01 (6 years ago)
- Location:
- lm-sensors/branches/lm-sensors-3.0.0
- Files:
-
- 11 modified
-
CHANGES (modified) (1 diff)
-
doc/FAQ (modified) (3 diffs)
-
doc/lm_sensors-FAQ.html (modified) (4 diffs)
-
doc/lm_sensors-FAQ.texi (modified) (3 diffs)
-
lib/access.c (modified) (1 diff)
-
lib/conf-parse.y (modified) (4 diffs)
-
lib/data.c (modified) (1 diff)
-
lib/libsensors.3 (modified) (2 diffs)
-
lib/sensors.conf.5 (modified) (2 diffs)
-
lib/sensors.h (modified) (1 diff)
-
prog/sensors/main.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/branches/lm-sensors-3.0.0/CHANGES
r4462 r4465 16 16 Always build with sysfs support 17 17 Delete procfs support (Linux 2.4) 18 Delete all remnants of algorithm names 18 19 Man page sensors.conf.5: Update the chip statement section 19 20 Programs doc/*: Delete, obsolete -
lm-sensors/branches/lm-sensors-3.0.0/doc/FAQ
r4197 r4465 95 95 4.24.3 Sensors-detect doesn't find any sensors! 96 96 4.25 Sensors says `Error: Line xxx: zzzzzzz' 97 4.26 Sensors only gives the name , adapter, and algorithmfor my chip97 4.26 Sensors only gives the name and adapter for my chip 98 98 4.27 Sensors says `ERROR: Can't get xxxxx data!' 99 99 4.28 Sensors doesn't find any sensors, just eeproms. … … 1104 1104 in double quotes. 1105 1105 1106 4.26 Sensors only gives the name , adapter, and algorithmfor my chip1107 ======================================================== ============1106 4.26 Sensors only gives the name and adapter for my chip 1107 ======================================================== 1108 1108 1109 1109 If `sensors' only says this, for example, and doesn't provide any … … 1112 1112 it87-isa-0290 1113 1113 Adapter: ISA adapter 1114 Algorithm: ISA algorithm1115 1114 1116 1115 Your chip is not currently supported by `sensors' and so all it does -
lm-sensors/branches/lm-sensors-3.0.0/doc/lm_sensors-FAQ.html
r4197 r4465 153 153 </li></ul> 154 154 <li><a href="#Section-4_002e25">4.25 Sensors says `<samp><span class="samp">Error: Line xxx: zzzzzzz</span></samp>'</a> 155 <li><a href="#Section-4_002e26">4.26 Sensors only gives the name , adapter, and algorithmfor my chip</a>155 <li><a href="#Section-4_002e26">4.26 Sensors only gives the name and adapter for my chip</a> 156 156 <li><a href="#Section-4_002e27">4.27 Sensors says `<samp><span class="samp">ERROR: Can't get xxxxx data!</span></samp>'</a> 157 157 <li><a href="#Section-4_002e28">4.28 Sensors doesn't find any sensors, just eeproms.</a> … … 898 898 <li><a href="#Section-4_002e24">Section 4.24</a>: Sensors-detect doesn't work at all 899 899 <li><a href="#Section-4_002e25">Section 4.25</a>: Sensors says `<samp><span class="samp">Error: Line xxx: zzzzzzz</span></samp>' 900 <li><a href="#Section-4_002e26">Section 4.26</a>: Sensors only gives the name , adapter, and algorithm!900 <li><a href="#Section-4_002e26">Section 4.26</a>: Sensors only gives the name and adapter! 901 901 <li><a href="#Section-4_002e27">Section 4.27</a>: Sensors says `<samp><span class="samp">ERROR: Can't get xxxxx data!</span></samp>' 902 902 <li><a href="#Section-4_002e28">Section 4.28</a>: Sensors doesn't find any sensors, just eeproms. … … 1680 1680 </div> 1681 1681 1682 <h3 class="section">4.26 Sensors only gives the name , adapter, and algorithmfor my chip</h3>1682 <h3 class="section">4.26 Sensors only gives the name and adapter for my chip</h3> 1683 1683 1684 1684 <p>If <samp><span class="command">sensors</span></samp> only says this, for example, and doesn't … … 1687 1687 <pre class="example"> it87-isa-0290 1688 1688 Adapter: ISA adapter 1689 Algorithm: ISA algorithm1690 1689 </pre> 1691 1690 <p>Your chip is not currently supported by <samp><span class="command">sensors</span></samp> and so all it -
lm-sensors/branches/lm-sensors-3.0.0/doc/lm_sensors-FAQ.texi
r4197 r4465 562 562 * Section 4.24:: Sensors-detect doesn't work at all 563 563 * Section 4.25:: Sensors says @samp{Error: Line xxx: zzzzzzz} 564 * Section 4.26:: Sensors only gives the name , adapter, and algorithm!564 * Section 4.26:: Sensors only gives the name and adapter! 565 565 * Section 4.27:: Sensors says @samp{ERROR: Can't get xxxxx data!} 566 566 * Section 4.28:: Sensors doesn't find any sensors, just eeproms. … … 1143 1143 1144 1144 @node Section 4.26, Section 4.27, Section 4.25, Problems 1145 @section Sensors only gives the name , adapter, and algorithmfor my chip1145 @section Sensors only gives the name and adapter for my chip 1146 1146 1147 1147 If @command{sensors} only says this, for example, and doesn't … … 1151 1151 it87-isa-0290 1152 1152 Adapter: ISA adapter 1153 Algorithm: ISA algorithm1154 1153 @end example 1155 1154 -
lm-sensors/branches/lm-sensors-3.0.0/lib/access.c
r4427 r4465 326 326 } 327 327 328 /* This function is deprecated and will be dropped soon. */329 const char *sensors_get_algorithm_name(int bus_nr)330 {331 return "No longer available";332 }333 334 328 /* nr1-1 is the last main feature found; nr2-1 is the last subfeature found */ 335 329 const sensors_feature_data *sensors_get_all_features(sensors_chip_name name, -
lm-sensors/branches/lm-sensors-3.0.0/lib/conf-parse.y
r4208 r4465 121 121 %type <bus> i2cbus_name 122 122 %type <name> adapter_name 123 %type <name> algorithm_name124 123 %type <name> function_name 125 124 %type <name> string … … 135 134 136 135 line: bus_statement EOL 137 | busalgo_statement EOL138 136 | label_statement EOL 139 137 | set_statement EOL … … 151 149 bus_add_el(&new_el); 152 150 } 153 ;154 155 /* for compatibility, deprecated */156 busalgo_statement: BUS i2cbus_name adapter_name algorithm_name157 { sensors_bus new_el;158 new_el.lineno = $1;159 new_el.number = $2;160 new_el.adapter = $3;161 free($4);162 bus_add_el(&new_el);163 }164 151 ; 165 152 … … 316 303 ; 317 304 318 algorithm_name: NAME319 { sensors_strip_of_spaces($1);320 $$ = $1; }321 ;322 323 305 function_name: NAME 324 306 { $$ = $1; } -
lm-sensors/branches/lm-sensors-3.0.0/lib/data.c
r4098 r4465 239 239 } 240 240 241 /* We used to compare both the adapter and the algorithm names for 242 bus matching, but Linux 2.6 has no more names for algorithms, and 243 it was redundant anyway. So we now only rely on the adapter name. */ 241 /* Compare the adapter names */ 244 242 for (j = 0; j < sensors_proc_bus_count; j++) { 245 243 if (!strcmp(sensors_config_busses[i].adapter, -
lm-sensors/branches/lm-sensors-3.0.0/lib/libsensors.3
r4208 r4465 25 25 .\" References consulted: 26 26 .\" libsensors source code 27 .TH libsensors 3 " October 2006" "" "Linux Programmer's Manual"27 .TH libsensors 3 "June 2007" "" "Linux Programmer's Manual" 28 28 .SH NAME 29 29 libsensors \- publicly accessible functions provided by the sensors library … … 81 81 This function returns the adapter name of a bus number, as used within the 82 82 sensors_chip_name structure. If it could not be found, it returns NULL. 83 84 .B const char *sensors_get_algorithm_name(int bus_nr);85 .br86 This function used to return the algorithm name of a bus number.87 It is now deprecated and returns an arbitrary string. It will be dropped88 in a later version of the library so you should stop using it.89 83 90 84 \fBint sensors_get_label(sensors_chip_name name, int feature, -
lm-sensors/branches/lm-sensors-3.0.0/lib/sensors.conf.5
r4374 r4465 24 24 .\" References consulted: 25 25 .\" sensors.conf.eg by Frodo Looijaard 26 .TH sensors.conf 5 " April2007" "" "Linux Programmer's Manual"26 .TH sensors.conf 5 "June 2007" "" "Linux Programmer's Manual" 27 27 .SH NAME 28 28 sensors.conf \- libsensors configuration file … … 149 149 It should always be quoted as well as it will most certainly contain 150 150 spaces or dashes. 151 152 There used to be a third argument, the algorithm name. For compatibility153 reasons, the parser still accepts this third argument, but ignores it.154 151 155 152 The -
lm-sensors/branches/lm-sensors-3.0.0/lib/sensors.h
r4428 r4465 74 74 it returns NULL */ 75 75 extern const char *sensors_get_adapter_name(int bus_nr); 76 77 /* This function is deprecated and will be dropped soon. */78 extern const char *sensors_get_algorithm_name(int bus_nr);79 76 80 77 /* Look up the label which belongs to this chip. Note that chip should not -
lm-sensors/branches/lm-sensors-3.0.0/prog/sensors/main.c
r4464 r4465 162 162 { "config-file", required_argument, NULL, 'c' }, 163 163 { "unknown", no_argument, NULL, 'u' }, 164 /* next option accepted for compatibility, but otherwise ignored */165 { "algorithm", no_argument, NULL, 'a' },166 164 { "generic", no_argument, NULL, 'g'}, 167 165 { 0,0,0,0 } … … 176 174 do_generic = 0; 177 175 while (1) { 178 c = getopt_long(argc, argv,"hsvfaAUc:ug",long_opts,NULL);176 c = getopt_long(argc, argv, "hsvfAUc:ug", long_opts, NULL); 179 177 if (c == EOF) 180 178 break; … … 207 205 case 'u': 208 206 do_unknown = 1; 209 break;210 case 'a':211 /* Ignore for compatibility */212 207 break; 213 208 case 'g':
