mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-09-04 00:05:10 +00:00
Revert change 2731, the hint given to the user triggers too often and
is thus misleading. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4130 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
@@ -5092,9 +5092,7 @@ sub print_chips_report
|
|||||||
printf "ISA bus address 0x%04x (Busdriver `i2c-isa')\n",
|
printf "ISA bus address 0x%04x (Busdriver `i2c-isa')\n",
|
||||||
$data->{isa_addr};
|
$data->{isa_addr};
|
||||||
} else {
|
} else {
|
||||||
print "ISA bus, undetermined address (Busdriver `i2c-isa')\n".
|
print "ISA bus, undetermined address (Busdriver `i2c-isa')\n";
|
||||||
" Hint: Try forcing the chip address. Consult the documentation\n".
|
|
||||||
" of particular chip for details and address value.\n";
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
printf " Chip `%s' (confidence: %d)\n",
|
printf " Chip `%s' (confidence: %d)\n",
|
||||||
@@ -5210,11 +5208,11 @@ sub generate_modprobes
|
|||||||
close INPUTFILE;
|
close INPUTFILE;
|
||||||
#check return value from modprobe in case modprobe -l isn't supported
|
#check return value from modprobe in case modprobe -l isn't supported
|
||||||
if((($? >> 8) == 0) && ! $modulefound) {
|
if((($? >> 8) == 0) && ! $modulefound) {
|
||||||
$modprobes .= "# Warning: the required module $chip->{driver} is not currently installed on\n".
|
$modprobes .= "# Warning: the required module $chip->{driver} is not currently installed\n".
|
||||||
"# your system. For status of 2.6 kernel ports see\n".
|
"# on your system. For status of 2.6 kernel ports see\n".
|
||||||
"# http://www.lm-sensors.org/wiki/SupportedDevices and\n".
|
"# http://www.lm-sensors.org/wiki/SupportedDevices and\n".
|
||||||
"# http://www.lm-sensors.org/wiki/SupportedDevices. If driver is built\n".
|
"# http://www.lm-sensors.org/wiki/NewDrivers. If driver is built\n".
|
||||||
"# into the kernel, or unavailable, comment out the following line.\n";
|
"# into the kernel, or unavailable, comment out the following line.\n";
|
||||||
}
|
}
|
||||||
$modprobes .= "modprobe $chip->{driver}\n";
|
$modprobes .= "modprobe $chip->{driver}\n";
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user