From 74053ce8b58276a706777fa0bf4d691db91e7ce3 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Tue, 14 Nov 2006 13:00:36 +0000 Subject: [PATCH] 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 --- prog/detect/sensors-detect | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect index f11b3b01..2f8053c3 100755 --- a/prog/detect/sensors-detect +++ b/prog/detect/sensors-detect @@ -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 = ;