2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-31 06:15:15 +00:00

Avoid probing EDID addresses (0x50-0x57) on graphics card adapters.

We had one report that it caused trouble:
http://lists.lm-sensors.org/pipermail/lm-sensors/2012-April/035847.html
Even though it's not yet clear what happened, let's play it safe.
This fixes ticket #2386.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6040 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare
2012-04-09 19:33:35 +00:00
parent 91bf1d30cc
commit 29bd5c021e
2 changed files with 4 additions and 0 deletions

View File

@@ -3660,6 +3660,9 @@ sub scan_i2c_adapter
$input = <STDIN>;
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");
}
open(local *FILE, "$dev_i2c$adapter_nr") or