Changeset 5222
- Timestamp:
- 05/02/08 13:57:37 (7 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
lm-sensors/branches/lm-sensors-3.0.0/prog/detect/sensors-detect
r5221 r5222 75 75 procid => "Intel 82372FB PIIX5 ACPI", 76 76 driver => "to-be-tested", 77 match => qr/^SMBus PIIX4 adapter at /,78 77 } , 79 78 { … … 2695 2694 if (exists $pci_list{$key}) { 2696 2695 $device = $pci_list{$key}; 2697 printf "Use driver `\%s' for device \%s: \%s\n", 2698 $try->{driver}, pci_busid($device), $try->{procid}; 2699 if ($try->{driver} eq "to-be-tested") { 2700 print "\nWe are currently looking for testers for this adapter!\n". 2701 "Please check http://www.lm-sensors.org/wiki/Devices\n". 2702 "and/or contact us if you want to help.\n\n"; 2703 print "Continue... "; 2704 <STDIN>; 2705 print "\n"; 2696 if ($try->{driver} =~ m/^to-be-/) { 2697 printf "No known driver for device \%s: \%s\n", 2698 pci_busid($device), $try->{procid}; 2699 2700 if ($try->{driver} eq "to-be-tested") { 2701 print "\nWe are currently looking for testers for this adapter!\n". 2702 "Please check http://www.lm-sensors.org/wiki/Devices\n". 2703 "and/or contact us if you want to help.\n\n"; 2704 print "Continue... "; 2705 <STDIN>; 2706 print "\n"; 2707 } 2708 } else { 2709 printf "Use driver `\%s' for device \%s: \%s\n", 2710 $try->{driver}, pci_busid($device), $try->{procid}; 2711 push @res, $try->{driver}; 2706 2712 } 2707 push @res,$try->{driver};2708 2713 2709 2714 # Delete from detected SMBus device list … … 2720 2725 2721 2726 if (! @res) { 2722 print "Sorry, no knownPCI bus adapters found.\n";2727 print "Sorry, no supported PCI bus adapters found.\n"; 2723 2728 } 2724 2729 return @res; … … 5618 5623 if ($adap->{driver} eq "UNKNOWN") { 5619 5624 $modprobes .= "# modprobe unknown adapter ".$adap->{name}."\n"; 5620 } elsif ($adap->{driver} eq "DISABLED") {5621 $modprobes .= "# modprobe disabled adapter ".$adap->{name}."\n";5622 } elsif ($adap->{driver} eq "to-be-written") {5623 $modprobes .= "# no driver available for adapter ".$adap->{name}."\n";5624 5625 } else { 5625 5626 $modprobes .= "modprobe $adap->{driver}\n" … … 5758 5759 if (@adapters); 5759 5760 foreach $adapter (@adapters) { 5760 next if $adapter eq "DISABLED";5761 next if $adapter eq "to-be-tested";5762 5761 if (exists($modules_list{$adapter})) { 5763 5762 print "Module `$adapter' already loaded.\n";
