From 7dc02997d0e4059d0547b47d6e48bb333e18970b Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Mon, 17 Nov 2008 21:35:50 +0000 Subject: [PATCH] Fix detection of ADT7462. git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5383 7894878c-1315-0410-8ee3-d5d059ff63e0 --- CHANGES | 1 + prog/detect/sensors-detect | 6 ++---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/CHANGES b/CHANGES index 7c943f49..50d89a60 100644 --- a/CHANGES +++ b/CHANGES @@ -11,6 +11,7 @@ SVN-HEAD sensors-detect: Fix detection of ADT7463 and LM96000 Add VIA VX800/VX820 support Fix detection of Intel 5000 series FB-DIMM AMB + Fix detection of ADT7462 3.0.3 (2008-09-28) libsensors: Avoid namespace pollution diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect index 6875d8d5..8cf545c1 100755 --- a/prog/detect/sensors-detect +++ b/prog/detect/sensors-detect @@ -720,10 +720,8 @@ use vars qw(@pci_adapters_sis5595 @pci_adapters_sis645 @pci_adapters_sis96x); }, { name => "Analog Devices ADT7462", - driver => "to-be-written", - # The datasheet says addresses 0x5C and 0x58, but I guess these are - # left-aligned values - i2c_addrs => [0x2c, 0x2e], + driver => "adt7462", + i2c_addrs => [0x5c, 0x58], i2c_detect => sub { adt7467_detect(2, @_); }, }, {