summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkhali <khali@7894878c-1315-0410-8ee3-d5d059ff63e0>2015-05-31 11:58:16 +0000
committerkhali <khali@7894878c-1315-0410-8ee3-d5d059ff63e0>2015-05-31 11:58:16 +0000
commit2f4330299cf20b97629bdb72736823c9b39cbb9a (patch)
tree7123786189bfebaa293c9072aaeaf40730fa26a1
parent2457db97b5351549c9d08352dd528046598bfc62 (diff)
downloadlm-sensors-2f4330299cf20b97629bdb72736823c9b39cbb9a.tar.gz
sensors-detect: Skip addresses 0x37 and 0x4f on DDC channels
We already skip EDID addresses (0x50-0x57) by default on graphics card I2C/DDC buses. Also skip 0x37 (DDC/CI) and 0x4f which was recently reported as corrupting a laptop's display when probed. This closes ticket #2392. http://www.lm-sensors.org/ticket/2392 git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6283 7894878c-1315-0410-8ee3-d5d059ff63e0
-rw-r--r--CHANGES1
-rwxr-xr-xprog/detect/sensors-detect6
2 files changed, 5 insertions, 2 deletions
diff --git a/CHANGES b/CHANGES
index f06a317d..30880b69 100644
--- a/CHANGES
+++ b/CHANGES
@@ -38,6 +38,7 @@ SVN HEAD
Add detection of NCT7904D
Add detection of IT8790E
Fix graphics cards detection (#2386, #2392)
+ Skip more addresses on graphics card I2C bus (#2392)
3.3.5 "Happy Birthday Beddy" (2014-01-22)
libsensors: Improve documentation of two functions
diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect
index ceab7624..a90a8cf2 100755
--- a/prog/detect/sensors-detect
+++ b/prog/detect/sensors-detect
@@ -3943,8 +3943,10 @@ sub scan_i2c_adapter
chomp($input);
@not_to_scan = parse_not_to_scan(0x03, 0x77, $input);
} elsif (($class & 0xff00) == 0x0300) {
- # Skip EDID addresses by default on graphics adapters
- @not_to_scan = parse_not_to_scan(0x03, 0x77, "0x50-0x57");
+ # Skip EDID and DDC/CI addresses by default on graphics
+ # adapters. Also skip address 0x4f which was reported in a
+ # display corruption case.
+ @not_to_scan = parse_not_to_scan(0x03, 0x77, "0x37, 0x50-0x57, 0x4f");
}
open(local *FILE, "$dev_i2c$adapter_nr") or