Resolved: 578527 - sensors-detect fails to detect

This commit is contained in:
Nikola Pajkovsky 2010-03-31 17:36:36 +00:00
parent 3388bf07c2
commit a4ac84217d
2 changed files with 21 additions and 1 deletions

View File

@ -0,0 +1,12 @@
diff -up lm_sensors-3.1.2/prog/detect/sensors-detect.lm85 lm_sensors-3.1.2/prog/detect/sensors-detect
--- lm_sensors-3.1.2/prog/detect/sensors-detect.lm85 2010-03-31 17:07:22.339044681 +0200
+++ lm_sensors-3.1.2/prog/detect/sensors-detect 2010-03-31 17:08:25.518920014 +0200
@@ -558,7 +558,7 @@ use vars qw(@i2c_adapter_names);
i2c_detect => sub { adt7467_detect(@_, 3); },
}, {
name => "Analog Devices ADT7467 or ADT7468",
- driver => "to-be-written",
+ driver => "lm85",
i2c_addrs => [0x2e],
i2c_detect => sub { adt7467_detect(@_, 0); },
}, {

View File

@ -1,6 +1,6 @@
Name: lm_sensors
Version: 3.1.2
Release: 1%{?dist}
Release: 2%{?dist}
URL: http://www.lm-sensors.org/
Source: http://dl.lm-sensors.org/lm-sensors/releases/%{name}-%{version}.tar.bz2
Source1: lm_sensors.sysconfig
@ -20,6 +20,8 @@ Requires(post): /sbin/ldconfig
BuildRequires: kernel-headers >= 2.2.16, bison, libsysfs-devel, flex, gawk
BuildRequires: rrdtool-devel
Patch0: lm_sensors-3.1.2-lm85.patch
%description
The lm_sensors package includes a collection of modules for general SMBus
access and hardware monitoring.
@ -55,6 +57,8 @@ database, and warns of sensor alarms.
%prep
%setup -q
%patch0 -p1 -b .lm85
mv prog/init/README prog/init/README.initscripts
chmod -x prog/init/fancontrol.init
@ -175,6 +179,10 @@ fi
%changelog
* Wed Mar 31 2010 Nikola Pajkovsky <npajkovs@redhat.com> - 3.1.2-2
- patch lm_sensors-3.1.2-lm85.patch add into sensors-detect driver lm85
- Resolved: 578527 - sensors-detect fails to detect
* Wed Feb 3 2010 Nikola Pajkovsky <npajkovs@redhat.com> - 3.1.2-1
- new upstream release
- drop sensors-detect, beacuse it was taken form svn(531126)