2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-31 14:25:39 +00:00

Display the i2c bus number next to the bus name. This should help us

when we want a reporting user to run i2cdump on a given address.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4238 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare
2006-11-14 13:00:36 +00:00
parent 72889cb191
commit 74053ce8b5

View File

@@ -5446,7 +5446,7 @@ sub main
my ($dev_nr, $type, $adap) = /^i2c-(\d+)\s+(\S+)\s+(.*?) *(\t|$)/;
next if ($type eq "dummy" || $type eq "isa");
print "\n";
print "Next adapter: $adap\n";
print "Next adapter: $adap (i2c-$dev_nr)\n";
print "Do you want to scan it? (YES/no/selectively): ";
$inp = <STDIN>;