mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-30 22:05:11 +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:
@@ -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
|
||||
|
Reference in New Issue
Block a user