mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-30 13:00:30 +00:00
i2cdetect: Make the output clearer, by replacing "XX" for missed
probed by "--". That way the successful probes will be more visible. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4213 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
42a07029f1
commit
b2739867fc
3 files changed
+3
-2
No files matched your search
@@ -8,6 +8,7 @@ SVN HEAD
|
||||
Man page i2cdetect.8: Describe the output convention
|
||||
Man page sensors.1: Update (option -c) and clean up
|
||||
Module icspll: Delete. It was useless and dangerous.
|
||||
Program i2cdetect: Make the output clearer
|
||||
Program sensord: Add pc87247 support (fans only)
|
||||
Program sensors: Add pc87247 support (fans only)
|
||||
Hide error on missing f71805f fan
|
||||
|
||||
@@ -34,7 +34,7 @@ This program can confuse your I2C bus, cause data loss and worse!
|
||||
.SH INTERPRETING THE OUTPUT
|
||||
Each cell in the output table will contain one of the following symbols:
|
||||
.IP \(bu "\w'\(bu'u+1n"
|
||||
"XX". The address was probed but no chip answered.
|
||||
"--". The address was probed but no chip answered.
|
||||
.IP \(bu
|
||||
"UU". Probing was skipped, because this address is currently in use by
|
||||
a driver. This strongly suggests that there is a chip at this address.
|
||||
|
||||
@@ -103,7 +103,7 @@ int scan_i2c_bus(int file, const int mode, const int first, const int last)
|
||||
}
|
||||
|
||||
if (res < 0)
|
||||
printf("XX ");
|
||||
printf("-- ");
|
||||
else
|
||||
printf("%02x ", i+j);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user