Changeset 5590
- Timestamp:
- 01/12/09 17:17:51 (4 years ago)
- Location:
- lm-sensors/branches/lm-sensors-3.0.0
- Files:
-
- 2 modified
-
CHANGES (modified) (1 diff)
-
prog/detect/sensors-detect (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/branches/lm-sensors-3.0.0/CHANGES
r5588 r5590 55 55 Add Intel Core I7 support 56 56 Generate new format for /etc/sysconfig/lm_sensors 57 Print warnings about missing modules on screen 57 58 sensors-detect-stat.pl: Delete (functionality merged into sensors-detect) 58 59 -
lm-sensors/branches/lm-sensors-3.0.0/prog/detect/sensors-detect
r5589 r5590 5118 5118 } 5119 5119 if ($ipmi) { 5120 $modprobes .= "# You must also install and load the IPMI modules\n";5121 5120 $modprobes .= "modprobe ipmi-si\n"; 5122 5121 $bus_modules{"ipmi-si"}++; … … 5128 5127 next if not @{$chips_detected{$driver}}; 5129 5128 if ($driver eq "to-be-written") { 5130 $modprobes .= "# no driver for ${$chips_detected{$driver}}[0]{chipname} yet\n"; 5129 print "Note: there is no driver for ${$chips_detected{$driver}}[0]{chipname} yet.\n". 5130 "Check http://www.lm-sensors.org/wiki/Devices for updates.\n\n"; 5131 5131 } else { 5132 5132 open(local *INPUTFILE, "modprobe -l $driver 2>/dev/null |"); … … 5143 5143 # isn't supported 5144 5144 if ((($? >> 8) == 0) && ! $modulefound) { 5145 $modprobes .= "# Warning: the required module $driver is not currently installed\n". 5146 "# on your system. For status of 2.6 kernel ports check\n". 5147 "# http://www.lm-sensors.org/wiki/Devices. If driver is built\n". 5148 "# into the kernel, or unavailable, comment out the following line.\n"; 5145 print "Warning: the required module $driver is not currently installed\n". 5146 "on your system. If it is built into the kernel then it's OK.\n". 5147 "Otherwise, check http://www.lm-sensors.org/wiki/Devices for\n". 5148 "driver availability.\n\n"; 5149 } else { 5150 $modprobes .= "modprobe $driver\n"; 5151 $hwmon_modules{$driver}++; 5149 5152 } 5150 $modprobes .= "modprobe $driver\n";5151 $hwmon_modules{$driver}++;5152 5153 } 5153 5154 } … … 5409 5410 5410 5411 my ($modprobes, $configfile, $bus_modules, $hwmon_modules) = generate_modprobes(); 5411 write_config($modprobes, $configfile, $bus_modules, $hwmon_modules); 5412 5413 if (@{$hwmon_modules}) { 5414 write_config($modprobes, $configfile, $bus_modules, $hwmon_modules); 5415 } else { 5416 print "No modules to load, skipping modules configuration.\n\n"; 5417 } 5412 5418 5413 5419 unload_modules();
