Hello community, here is the log from the commit of package sensors.1709 for openSUSE:12.3:Update checked in at 2013-06-05 11:51:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:12.3:Update/sensors.1709 (Old) and /work/SRC/openSUSE:12.3:Update/.sensors.1709.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sensors.1709" Changes: -------- New Changes file: --- /dev/null 2013-05-23 01:40:31.032032505 +0200 +++ /work/SRC/openSUSE:12.3:Update/.sensors.1709.new/sensors.changes 2013-06-05 11:51:06.000000000 +0200 @@ -0,0 +1,812 @@ +------------------------------------------------------------------- +Mon May 27 11:16:42 CEST 2013 - [email protected] + +- lm_sensors-r6163-pwmconfig-raise-threshold.diff: pwmconfig: Raise + the detection threshold to 3/4 (bnc#810344). +- lm_sensors-r6164-pwmconfig-drop-comment.diff: pwmconfig: Drop a + stray comment. +- lm_sensors-r6165-pwmconfig-multiple-fans.diff: pwmconfig: + Properly deal with multiple fan control (bnc#810344). +- lm_sensors-r6172-fancontrol-absolute-paths.diff: fancontrol: Fix + handling of absolute paths in config (bnc#810344). +- Add fancontrol.service (bnc#810344). + +------------------------------------------------------------------- +Thu Feb 28 18:43:13 CET 2013 - [email protected] + +- lm_sensors-r6111-detection-Winbond-W83627SF.diff: Add detection + of Winbond W83627SF/GF (no sensors.) +- lm_sensors-r6112-detection-AMD-family-16h.diff: Add detection of + AMD family 16h power sensors. +- lm_sensors-r6113-ITE-IT877x-IT878x-driver.diff: Map IT8771E, + IT8772E, IT8782F and IT8783F to it87. +- lm_sensors-r6117-detection-ITE-IT8752F.diff: Add detection of + IT8752F. +- lm_sensors-r6123-AnalogDev-ADT7410-driver.diff: We have a driver + for the ADT7410 since kernel 3.7. + +------------------------------------------------------------------- +Fri Nov 9 21:40:32 UTC 2012 - [email protected] + +- Update to lm_sensors 3.3.3 + * documentation: Update fan-divisors, fan divisors are optional + * libsensors: Fix warning about library path not in /etc/ld.so.conf + * sensors: Fix libiconv linkage need detection in rare corner case + Add support for humidity output + Add long switches to manual page + * sensors-detect: Don't choke on systems without PCI + Avoid probing EDID addresses on graphics cards (#2386) + Add detection of NCT6779D and NCT6102D/NCT6106D + Add detection of SMSC LPC47N217 and SIO10N268 + Do not scan I2C adapters on graphics cards by default + Fix parent class discovery when multiplexer is present + +------------------------------------------------------------------- +Thu Nov 1 02:22:53 UTC 2012 - [email protected] + +- lm_sensors systemd service file missing [bnc#768354] + +------------------------------------------------------------------- +Thu Sep 13 23:21:43 UTC 2012 - [email protected] + +- Remove redundant tags/sections from specfile +- Use the "modutils" require instead of "modules" to select a + module toolset implementation + +------------------------------------------------------------------- +Tue Mar 20 18:08:30 CET 2012 - [email protected] + +- Update to lm_sensors 3.3.2 + * Support for many subfeatures implemented by new hwmon drivers. + * Fix to support a sysfs implementation change in upcoming kernels. + * Better printing of power sensors in sensors. + * Memory leaks fixed in sensord. + * New chips known by sensors-detect, as usual. +- lm_sensors-r5991-improve-filtering-of-fake-DMI-data.patch, + lm_sensors-r5992-print-DMI-product-version.patch, + lm_sensors-r5993-fix-loading-of-cpuid-module.patch, + lm_sensors-r6016-handle-superio-wo-logdev.patch, + lm_sensors-r6017-fix-sysfs-detection.patch, + lm_sensors-r6025-sensord-fix-memory-leaks.patch, + lm_sensors-r6030-fix-power-interval-output.patch: Removes, + obsolete. + +------------------------------------------------------------------- +Thu Mar 8 10:35:17 CET 2012 - [email protected] + +- lm_sensors-r5993-fix-loading-of-cpuid-module.patch: Fix loading + of the cpuid module. +- lm_sensors-r6016-handle-superio-wo-logdev.patch: Properly handle + Super-I/O chips without logical device. +- lm_sensors-r6017-fix-sysfs-detection.patch: libsensors: Change + sysfs detection to survive upcoming kernel changes (bnc#751180). +- lm_sensors-r6025-sensord-fix-memory-leaks.patch: sensord: Fix + memory leaks revealed by valgrind (bnc#751177). +- lm_sensors-r6030-fix-power-interval-output.patch: Fix power + interval output. + +------------------------------------------------------------------- +Tue Jan 17 12:50:05 CET 2012 - [email protected] + +- Package /etc/sensors.d/. + +------------------------------------------------------------------- +Thu Sep 22 13:11:43 UTC 2011 - [email protected] + +- lm_sensors.init: Move lock file from /var/lock/subsys to + /var/run (bnc#714654). + +------------------------------------------------------------------- +Fri Jul 22 18:56:09 CEST 2011 - [email protected] + +- Update to lm_sensors 3.3.1 + * Detection of new devices +- lm_sensors-3.1.1-no-ipmisensors-driver.patch: Removed, obsolete. +- lm_sensors-r5991-improve-filtering-of-fake-DMI-data.patch, + lm_sensors-r5992-print-DMI-product-version.patch: Improve DMI + product identification. + +------------------------------------------------------------------- +Tue Mar 29 19:09:05 CEST 2011 - [email protected] + +- Update to lm_sensors 3.3.0 + * Support for chassis intrusion and humidity sensors + * Support for many new attributes + * Detection of new devices +- lm_sensors-r5952-new-fintek-chips.patch: Fix driver mapping of + two new Fintek chips. + +------------------------------------------------------------------- +Thu Feb 17 21:07:45 CET 2011 - [email protected] + +- lm_sensors-r5930-fix-DDR3-SPD-detection.patch: Fix typo in + comparison. + +------------------------------------------------------------------- +Thu Feb 17 10:13:12 CET 2011 - [email protected] + +- lm_sensors-r5910-detect-new-Nuvoton-superio.patch: Add detection + of Nuvoton NCT5571D, NCT5577D and NCT6776F. +- lm_sensors-r5913-default-config-NCT677xF.patch: Default config + for NCT6775F and NCT6776F. +- lm_sensors-r5914-fix-TMP421-detection.patch: We probe addresses + 0x1c-0x1f for other chips now, so we might as well look for + TMP421 devices there. +- lm_sensors-r5916-fix-EMC140x-detection.patch: Fix addresses + checked for SMSC EMC1403 and EMC1404. +- lm_sensors-r5930-fix-DDR3-SPD-detection.patch: Fix detection of + SPD EEPROM on DDR3 memory modules. DDR3 uses CRC16 over 128 bytes + instead of basic checksum over 64 bytes. Contributed by Clemens + Ladisch. +- libensors-visibility.patch: Add 3 missing symbols. + +------------------------------------------------------------------- +Wed Jan 19 11:44:18 CET 2011 - [email protected] + +- lm_sensors-r5870-i2c-non-sequential.patch: Fix error seen in + sensors-detect if i2c bus numbering is not sequential. +- lm_sensors-r5883-W83667HG-B-is-supported.patch: The W83667HG-B is + supported by the w83627ehf driver since kernel 2.6.36. +- lm_sensors-r5886-default-config-W83627THF.patch: Add a default + configuration section for the Winbond W83627THF. +- lm_sensors-r5887-typo-in-sensors-conf-5.patch: Fixed typo in + lib/sensors.conf.5. +- lm_sensors-r5889-default-config-SCH5127.patch: Add a default + configuration section for the SMSC SCH5127. +- lm_sensors-r5905-fix-coretemp-detection.patch: Implement + universal detection for Intel digital thermal sensors. + +------------------------------------------------------------------- +Mon Nov 29 20:47:06 UTC 2010 - [email protected] + +- libsensors: export only public symbols + +------------------------------------------------------------------- +Sun Oct 31 12:37:02 UTC 2010 - [email protected] + +- Use %_smp_mflags + +------------------------------------------------------------------- +Mon Oct 11 08:47:33 CEST 2010 - [email protected] + +- Update to lm_sensors 3.2.0 + * The libsensors library is now released under the LGPL license + * Minor fixes to libsensors, pwmconfig, sensors and sensord + * New chips known by sensors-detect, as usual +- Don't build the static library in the first place, so we don't + have to delete it later. + +------------------------------------------------------------------- +Tue Jun 1 14:46:23 CEST 2010 - [email protected] + +- lm_sensors-r5837-fix-fam10-RB-C3-detection.patch: Fix detection + of RB-C3 AMD Family 10h CPU. + +------------------------------------------------------------------- +Fri May 7 11:48:40 CEST 2010 - [email protected] + +- lm_sensors-r5835-fix-sensord-regression.patch: Fix regression + in sensord (support for multiple chips was broken by release + 3.1.2). Fixes upstream ticket #2377. + +------------------------------------------------------------------- +Tue Apr 13 13:08:07 CEST 2010 - [email protected] + +- Properly implement "rclm_sensors status" (bnc#592273). + +------------------------------------------------------------------- ++++ 615 more lines (skipped) ++++ between /dev/null ++++ and /work/SRC/openSUSE:12.3:Update/.sensors.1709.new/sensors.changes New: ---- baselibs.conf fancontrol.service lm_sensors-3.0.0-sensord-separate.patch lm_sensors-3.0.0-sysconfig_metadata.patch lm_sensors-3.0.3-hint-at-kernel-extra-package.patch lm_sensors-3.1.1-build.patch lm_sensors-3.3.3.tar.bz2 lm_sensors-r6111-detection-Winbond-W83627SF.diff lm_sensors-r6112-detection-AMD-family-16h.diff lm_sensors-r6113-ITE-IT877x-IT878x-driver.diff lm_sensors-r6117-detection-ITE-IT8752F.diff lm_sensors-r6123-AnalogDev-ADT7410-driver.diff lm_sensors-r6163-pwmconfig-raise-threshold.diff lm_sensors-r6164-pwmconfig-drop-comment.diff lm_sensors-r6165-pwmconfig-multiple-fans.diff lm_sensors-r6172-fancontrol-absolute-paths.diff lm_sensors.init sensors.changes sensors.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sensors.spec ++++++ # # spec file for package sensors # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: sensors BuildRequires: bison BuildRequires: flex BuildRequires: rrdtool-devel Url: http://www.lm-sensors.org/ Version: 3.3.3 Release: 0 Summary: Hardware health monitoring for Linux License: GPL-2.0+ Group: System/Monitoring Requires: modutils Source0: lm_sensors-%{version}.tar.bz2 Source1: lm_sensors.init Source2: baselibs.conf Source3: fancontrol.service Patch1: lm_sensors-3.1.1-build.patch Patch2: lm_sensors-3.0.0-sensord-separate.patch Patch3: lm_sensors-3.0.0-sysconfig_metadata.patch Patch4: lm_sensors-3.0.3-hint-at-kernel-extra-package.patch Patch5: lm_sensors-r6111-detection-Winbond-W83627SF.diff Patch6: lm_sensors-r6112-detection-AMD-family-16h.diff Patch7: lm_sensors-r6113-ITE-IT877x-IT878x-driver.diff Patch8: lm_sensors-r6117-detection-ITE-IT8752F.diff Patch9: lm_sensors-r6123-AnalogDev-ADT7410-driver.diff Patch10: lm_sensors-r6163-pwmconfig-raise-threshold.diff Patch11: lm_sensors-r6164-pwmconfig-drop-comment.diff Patch12: lm_sensors-r6165-pwmconfig-multiple-fans.diff Patch13: lm_sensors-r6172-fancontrol-absolute-paths.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build ExcludeArch: s390 s390x BuildRequires: systemd %{?systemd_requires} %description This package includes programs that show data from some sensor chips. The interface /proc/bus/i2c/ is provided by loading kernel modules. Which modules to load can be interactively detected as root by calling /usr/sbin/sensors-detect. Warning, before using the sensors the default configuration in /etc/sensors.conf has to be checked and changed to fit the actual set up of the mainboard and the BIOS used on that specific mainboard! Authors: -------- Simon G. Vogl <[email protected]> Mark D. Studebaker <[email protected]> Philip Edelbrock <[email protected]> Ky�sti M�lkki <[email protected]> Fons Rademakers <[email protected]> Frodo Looijaard <[email protected]> Geert Uytterhoeven <[email protected]> %package -n sensord Summary: Hardware health monitoring daemon License: GPL-2.0+ Group: System/Monitoring Provides: sensors:/usr/sbin/sensord %description -n sensord sensord is a daemon that can be used to periodically log sensor readings from hardware health-monitoring chips to the system logs or a round-robin database (RRD) and to alert when a sensor alarm is signalled; for example, if a fan fails, a temperature limit is exceeded, etc. Authors: -------- Merlin Hughes <[email protected]> %package -n libsensors4 Summary: Hardware health monitoring library License: LGPL-2.1+ Group: System/Libraries %description -n libsensors4 libsensors offers a way for applications to access the hardware monitoring chips of the system. A system-dependent configuration file controls how the different inputs are labeled and what scaling factors have to be applied for the specific hardware, so that the output makes sense to the user. Authors: -------- Mark D. Studebaker <[email protected]> Philip Edelbrock <[email protected]> Ky�sti M�lkki <[email protected]> Frodo Looijaard <[email protected]> Jean Delvare <[email protected]> Mark M. Hoffman <[email protected]> %package -n libsensors4-devel Summary: Hardware health monitoring library License: LGPL-2.1+ Group: Development/Libraries/C and C++ Requires: glibc-devel Requires: libsensors4 = %{version} Provides: sensors:/usr/include/sensors/sensors.h Conflicts: libsensors3-devel %description -n libsensors4-devel libsensors offers a way for applications to access the hardware monitoring chips of the system. A system-dependent configuration file controls how the different inputs are labeled and what scaling factors have to be applied for the specific hardware, so that the output makes sense to the user. Authors: -------- Mark D. Studebaker <[email protected]> Philip Edelbrock <[email protected]> Ky�sti M�lkki <[email protected]> Frodo Looijaard <[email protected]> Jean Delvare <[email protected]> Mark M. Hoffman <[email protected]> %prep %setup -q -n lm_sensors-%{version} %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %patch7 -p1 %patch8 -p1 %patch9 -p1 %patch10 -p1 %patch11 -p1 %patch12 -p1 %patch13 -p1 %build RPM_OPT_FLAGS="$RPM_OPT_FLAGS" make %{?_smp_mflags} PROG_EXTRA:=sensord BUILD_STATIC_LIB:=0 PREFIX=%{_prefix} MANDIR=%{_mandir} LIBDIR=%{_libdir} %install make PROG_EXTRA:=sensord BUILD_STATIC_LIB:=0 PREFIX=%{_prefix} MANDIR=%{_mandir} LIBDIR=%{_libdir} DESTDIR=$RPM_BUILD_ROOT install cd doc/ mkdir -p $RPM_BUILD_ROOT/%{_docdir}/sensors cp -a donations $RPM_BUILD_ROOT/%{_docdir}/sensors/ cp -a fan-divisors $RPM_BUILD_ROOT/%{_docdir}/sensors/ cp -a fancontrol.txt $RPM_BUILD_ROOT/%{_docdir}/sensors/ cp -a temperature-sensors $RPM_BUILD_ROOT/%{_docdir}/sensors/ cp -a vid $RPM_BUILD_ROOT/%{_docdir}/sensors/ cp -a progs $RPM_BUILD_ROOT/%{_docdir}/sensors/ chmod -R u+rwX,g+rX,o+rX $RPM_BUILD_ROOT/%{_docdir}/sensors/ cd ../ chmod 0755 $RPM_BUILD_ROOT/%{_libdir}/libsensors.so.* mkdir -p $RPM_BUILD_ROOT/etc/init.d install -m 0755 %{S:1} $RPM_BUILD_ROOT/etc/init.d/lm_sensors ln -sf /etc/init.d/lm_sensors $RPM_BUILD_ROOT/usr/sbin/rclm_sensors install -D -m 0644 prog/init/lm_sensors.service %{buildroot}%{_unitdir}/lm_sensors.service install -D -m 0644 %{SOURCE3} %{buildroot}%{_unitdir}/fancontrol.service %pre %service_add_pre lm_sensors.service %post %service_add_post lm_sensors.service sh -c ' CONFIG=/etc/sysconfig/lm_sensors test -r "$CONFIG" || exit 0 unset ${!MODULE_*} $HWMON_MODULES . "$CONFIG" test -n "$HWMON_MODULES" && exit 0 for i in ${!MODULE_*} ; do eval module=\$$i if test -z "$HWMON_MODULES" ; then HWMON_MODULES="$module" else HWMON_MODULES="$HWMON_MODULES $module" fi done test -z "$HWMON_MODULES" && exit 0 echo >> "$CONFIG" echo "# New configuration format generated by rpm post-install script" >> "$CONFIG" echo "HWMON_MODULES=\"$HWMON_MODULES\"" >> "$CONFIG" ' if test -e /etc/modprobe.d/lm_sensors -a ! -e /etc/modprobe.d/lm_sensors.conf ; then mv -f /etc/modprobe.d/lm_sensors /etc/modprobe.d/lm_sensors.conf fi %preun %service_del_preun lm_sensors.service %{stop_on_removal lm_sensors} %postun %service_del_postun lm_sensors.service %{insserv_cleanup} %post -n libsensors4 -p /sbin/ldconfig %postun -n libsensors4 -p /sbin/ldconfig %files %defattr(-,root,root) %{_unitdir}/lm_sensors.service %{_unitdir}/fancontrol.service /etc/init.d/lm_sensors /usr/sbin/rclm_sensors /usr/bin/* /usr/sbin/fancontrol %ifarch i386 i486 i586 i686 x86_64 /usr/sbin/isadump /usr/sbin/isaset %endif /usr/sbin/pwmconfig /usr/sbin/sensors-detect %doc %{_docdir}/sensors/ %doc /usr/share/man/man1/*.1.gz %doc /usr/share/man/man8/fancontrol.8.gz %ifarch i386 i486 i586 i686 x86_64 %doc /usr/share/man/man8/isadump.8.gz %doc /usr/share/man/man8/isaset.8.gz %endif %doc /usr/share/man/man8/pwmconfig.8.gz %doc /usr/share/man/man8/sensors-detect.8.gz %files -n sensord %defattr(-,root,root) /usr/sbin/sensord %doc /usr/share/man/man8/sensord.8.gz %files -n libsensors4 %defattr(-,root,root) %config /etc/sensors3.conf %config /etc/sensors.d/ %{_libdir}/libsensors.so.4* %doc /usr/share/man/man5/*.5.gz %files -n libsensors4-devel %defattr(-,root,root) /usr/include/sensors/ %{_libdir}/libsensors.so %doc /usr/share/man/man3/*.3.gz %changelog ++++++ baselibs.conf ++++++ libsensors4 obsoletes "sensors-<targettype> <= <version>" provides "sensors-<targettype> = <version>" ++++++ fancontrol.service ++++++ [Unit] Description=Start fan control, if configured ConditionFileNotEmpty=/etc/fancontrol After=lm_sensors.service [Service] Type=simple PIDFile=/var/run/fancontrol.pid EnvironmentFile=/etc/sysconfig/lm_sensors ExecStart=/usr/sbin/fancontrol [Install] WantedBy=multi-user.target ++++++ lm_sensors-3.0.0-sensord-separate.patch ++++++ --- lm_sensors-3.1.1.orig/doc/progs +++ lm_sensors-3.1.1/doc/progs @@ -53,6 +53,8 @@ see http://www.lm-sensors.org/wiki/Usefu the sensors hardware to syslog, and to alert (using syslog level ALERT) when a sensor alarm is signalled; for example, if a fan fails, a temperature limit is exceeded, etc. + In Suse Linux, this daemon is packaged separately. You have to explicitly + install the package named "sensord" if you want it. * prog/sensors/sensors (written in C, installed by `make install') This pretty-prints the information provided by the modules. It is a normal ++++++ lm_sensors-3.0.0-sysconfig_metadata.patch ++++++ --- prog/detect/sensors-detect | 6 ++++++ 1 file changed, 6 insertions(+) --- lm_sensors-3.3.2.orig/prog/detect/sensors-detect +++ lm_sensors-3.3.2/prog/detect/sensors-detect @@ -6642,6 +6642,12 @@ sub write_config or die "Sorry, can't create /etc/sysconfig/lm_sensors ($!)"; print SYSCONFIG "# Generated by sensors-detect on " . scalar localtime() . "\n"; print SYSCONFIG <<'EOT'; +## Path: Hardware/Sensors +## Description: Defines the modules to used +## Type: string +## ServiceRestart: lm_sensors +## Default: "" +# # This file is sourced by /etc/init.d/lm_sensors and defines the modules to # be loaded/unloaded. # ++++++ lm_sensors-3.0.3-hint-at-kernel-extra-package.patch ++++++ Now that the kernel package is split into 3 parts, it is possible that not all required hwmon drivers are installed on the system when sensors-detect is being run. Point the user to the kernel-*-extra package if drivers are found to be missing. --- prog/detect/sensors-detect | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) --- lm_sensors-3.3.2.orig/prog/detect/sensors-detect +++ lm_sensors-3.3.2/prog/detect/sensors-detect @@ -2567,12 +2567,15 @@ sub initialize_conf # [2] -> SUBLEVEL # [3] -> EXTRAVERSION # -use vars qw(@kernel_version $kernel_arch); +use vars qw(@kernel_version $kernel_flavor $kernel_arch); sub initialize_kernel_version { `uname -r` =~ /(\d+)\.(\d+)\.(\d+)(.*)/; @kernel_version = ($1, $2, $3, $4); + if ($kernel_version[3] =~ /-([a-z]+)$/) { + chomp($kernel_flavor = $1); + } chomp($kernel_arch = `uname -m`); # We only support kernels >= 2.6.5 @@ -6584,7 +6587,11 @@ sub generate_modprobes # isn't supported if ((($? >> 8) == 0) && ! $modulefound) { print "Warning: the required module $driver is not currently installed\n". - "on your system. If it is built into the kernel then it's OK.\n". + "on your system. ". + ($kernel_flavor ? + "You may need to install package\n". + "kernel-$kernel_flavor-extra for lm-sensors to work properly.\n" : + "If it is built into the kernel then it's OK.\n"). "Otherwise, check http://www.lm-sensors.org/wiki/Devices for\n". "driver availability.\n\n"; } else { ++++++ lm_sensors-3.1.1-build.patch ++++++ --- lm_sensors-3.1.1.orig/Makefile +++ lm_sensors-3.1.1/Makefile @@ -141,7 +141,7 @@ ifeq ($(DEBUG),1) ALL_CPPFLAGS += -DDEBUG ALL_CFLAGS += -O -g else -ALL_CFLAGS += -O2 +ALL_CFLAGS += $(RPM_OPT_FLAGS) endif ifeq ($(WARN),1) ++++++ lm_sensors-r6111-detection-Winbond-W83627SF.diff ++++++ Subject: Add detection of Winbond W83627SF/GF (no sensors) Upstream: yes, r6111 --- prog/detect/sensors-detect | 4 ++++ 1 file changed, 4 insertions(+) --- lm_sensors-3.3.3.orig/prog/detect/sensors-detect +++ lm_sensors-3.3.3/prog/detect/sensors-detect @@ -1945,6 +1945,10 @@ use constant FEAT_SMBUS => (1 << 7); logdev => 0x0b, features => FEAT_IN | FEAT_FAN | FEAT_TEMP, }, { + name => "Winbond W83627SF/GF Super IO", + driver => "not-a-sensor", + devid => 0x59, + }, { name => "Winbond W83627THF/THG Super IO Sensors", driver => "w83627hf", devid => 0x82, ++++++ lm_sensors-r6112-detection-AMD-family-16h.diff ++++++ Subject: Add detection of AMD family 16h power sensors Upstream: yes, r6112 --- prog/detect/sensors-detect | 4 ++++ 1 file changed, 4 insertions(+) --- lm_sensors-3.3.3.orig/prog/detect/sensors-detect +++ lm_sensors-3.3.3/prog/detect/sensors-detect @@ -2353,6 +2353,10 @@ use vars qw(@cpu_ids); driver => "fam15h_power", detect => sub { amd_pci_detect('1604') }, }, { + name => "AMD Family 16h power sensors", + driver => "fam15h_power", + detect => sub { amd_pci_detect('1534') }, + }, { name => "Intel digital thermal sensor", driver => "coretemp", detect => \&coretemp_detect, ++++++ lm_sensors-r6113-ITE-IT877x-IT878x-driver.diff ++++++ Subject: Map ITE IT8771E, IT8772E, IT8782F and IT8783F to it87 Upstream: yes, r6113 --- prog/detect/sensors-detect | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) --- lm_sensors-3.3.3.orig/prog/detect/sensors-detect +++ lm_sensors-3.3.3/prog/detect/sensors-detect @@ -2225,13 +2225,13 @@ use constant FEAT_SMBUS => (1 << 7); features => FEAT_IN | FEAT_FAN | FEAT_TEMP, }, { name => "ITE IT8771E Super IO Sensors", - driver => "to-be-written", # it87 + driver => "it87", devid => 0x8771, logdev => 0x04, features => FEAT_IN | FEAT_FAN | FEAT_TEMP, }, { name => "ITE IT8772E Super IO Sensors", - driver => "to-be-written", # it87 + driver => "it87", devid => 0x8772, logdev => 0x04, features => FEAT_IN | FEAT_FAN | FEAT_TEMP, @@ -2243,13 +2243,13 @@ use constant FEAT_SMBUS => (1 << 7); features => FEAT_IN | FEAT_FAN | FEAT_TEMP, }, { name => "ITE IT8782F Super IO Sensors", - driver => "to-be-written", # it87 + driver => "it87", devid => 0x8782, logdev => 0x04, features => FEAT_IN | FEAT_FAN | FEAT_TEMP, }, { name => "ITE IT8783F Super IO Sensors", - driver => "to-be-written", # it87 + driver => "it87", devid => 0x8783, logdev => 0x04, features => FEAT_IN | FEAT_FAN | FEAT_TEMP, ++++++ lm_sensors-r6117-detection-ITE-IT8752F.diff ++++++ Subject: Add detection of ITE IT8752F Upstream: yes, r6117 --- prog/detect/sensors-detect | 6 ++++++ 1 file changed, 6 insertions(+) --- lm_sensors-3.3.3.orig/prog/detect/sensors-detect +++ lm_sensors-3.3.3/prog/detect/sensors-detect @@ -2224,6 +2224,12 @@ use constant FEAT_SMBUS => (1 << 7); logdev => 0x04, features => FEAT_IN | FEAT_FAN | FEAT_TEMP, }, { + name => "ITE IT8752F Super IO Sensors", + driver => "to-be-written", # it87 + devid => 0x8752, + logdev => 0x04, + features => FEAT_IN | FEAT_FAN | FEAT_TEMP, + }, { name => "ITE IT8771E Super IO Sensors", driver => "it87", devid => 0x8771, ++++++ lm_sensors-r6123-AnalogDev-ADT7410-driver.diff ++++++ Subject: Update Analog Devices ADT7410 detection Upstream: yes, r6123 We have a driver for the ADT7410 since kernel 3.7. ADT7420 is register compatible with the ADT7410. --- prog/detect/sensors-detect | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- lm_sensors-3.3.3.orig/prog/detect/sensors-detect +++ lm_sensors-3.3.3/prog/detect/sensors-detect @@ -637,8 +637,8 @@ use vars qw(@i2c_adapter_names); i2c_addrs => [0x2c..0x2e], i2c_detect => sub { adt7490_detect(@_); }, }, { - name => "Analog Devices ADT7410", - driver => "to-be-written", + name => "Analog Devices ADT7410/ADT7420", + driver => "adt7410", i2c_addrs => [0x48..0x4b], i2c_detect => sub { adt7410_detect(@_); }, }, { ++++++ lm_sensors-r6163-pwmconfig-raise-threshold.diff ++++++ Subject: pwmconfig: Raise the detection threshold to 3/4 Upstream: yes, r6163 References: bnc#810344 Detection threshold of 2/3 of the maximum speed is too low, some fans will slow down to about that speed so controlled fans may be missed. Use 3/4 as the threshold to avoid these false negatives. --- prog/pwm/pwmconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/prog/pwm/pwmconfig +++ b/prog/pwm/pwmconfig @@ -448,7 +448,7 @@ do OS=`echo $SPEEDS | cut -d' ' -f$count` S=`echo $CURRENT_SPEEDS | cut -d' ' -f$count` echo " $j ... speed was $OS now $S" - let threshold=2*$OS/3 + let threshold=3*$OS/4 if [ $S -lt $threshold ] then echo " It appears that fan $j" ++++++ lm_sensors-r6164-pwmconfig-drop-comment.diff ++++++ Subject: pwmconfig: Drop a stray comment Upstream: yes, r6164 fancontrol supports multiple controlled fans for quite some time now. --- prog/pwm/pwmconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/prog/pwm/pwmconfig +++ b/prog/pwm/pwmconfig @@ -471,7 +471,7 @@ do exit 1 fi else - fanactive="$j+${fanactive}" #not supported yet by fancontrol + fanactive="$j+${fanactive}" fanactive_min="$S+${fanactive_min}" fi S=`cat $j` ++++++ lm_sensors-r6165-pwmconfig-multiple-fans.diff ++++++ Subject: pwmconfig: Properly deal with multiple fan control Upstream: yes, r6165 References: bnc#810344 When a given PWM output controls more than one fan, fanactive_min is no longer a space-separated list of numbers, it will also include items of the form "A+B". The tests in the rest of the code do not expect that and choke with errors like: /usr/sbin/pwmconfig: line 926: [: 538+799: integer expression expected /usr/sbin/pwmconfig: line 952: [: 538+799: integer expression expected As the only thing we really care about is whether any fan stops completely when PWM is 0, we can simply record the minimum of the lowest speed of all affected fans. --- prog/pwm/pwmconfig | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) --- a/prog/pwm/pwmconfig +++ b/prog/pwm/pwmconfig @@ -443,6 +443,7 @@ do let pwmactivecount=0 let count=1 + S_MIN= for j in $GOODFAN do OS=`echo $SPEEDS | cut -d' ' -f$count` @@ -461,7 +462,6 @@ do let pwmactivecount=1 pwmactive="$i ${pwmactive}" fanactive="$j ${fanactive}" - fanactive_min="$S ${fanactive_min}" # Give all correlated fans time to return to full speed sleep $DELAY @@ -472,8 +472,14 @@ do fi else fanactive="$j+${fanactive}" - fanactive_min="$S+${fanactive_min}" fi + + # Keep track of the slowest fan controlled by one PWM + if [ -z "$S_MIN" ] || [ $S -lt $S_MIN ] + then + S_MIN=$S + fi + S=`cat $j` if [ $S -lt $threshold ] then @@ -506,8 +512,11 @@ do if [ "$X" = "y" -o "$X" = "Y" ] then pwmactive="$i ${pwmactive}" + fanactive_min="0 $fanactive_min" fi echo + else + fanactive_min="$S_MIN $fanactive_min" fi done ++++++ lm_sensors-r6172-fancontrol-absolute-paths.diff ++++++ Subject: fancontrol: Fix handling of absolute paths in config Upstream: yes, r6172 References: bnc#810344 Reported by Marc Ferland. Make DEVPATH and DEVNAME mandatory only when using relative paths. Optionally support DEVNAME check when using absolute paths. --- prog/pwm/fancontrol | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) --- a/prog/pwm/fancontrol +++ b/prog/pwm/fancontrol @@ -289,11 +289,16 @@ fi cd $DIR # Check for configuration change -if [ -z "$DEVPATH" -o -z "$DEVNAME" ] +if [ "$DIR" != "/" ] && [ -z "$DEVPATH" -o -z "$DEVNAME" ] then echo "Configuration is too old, please run pwmconfig again" >&2 exit 1 fi +if [ "$DIR" = "/" -a -n "$DEVPATH" ] +then + echo "Unneeded DEVPATH with absolute device paths" >&2 + exit 1 +fi if ! ValidateDevices "$DEVPATH" "$DEVNAME" then echo "Configuration appears to be outdated, please run pwmconfig again" >&2 ++++++ lm_sensors.init ++++++ #!/bin/sh # ### BEGIN INIT INFO # Provides: lm_sensors # Required-Start: $remote_fs # Required-Stop: $remote_fs # Default-Start: 2 3 5 # Default-Stop: # Short-Description: Load and configure hardware monitoring drivers # Description: sensors is used for monitoring motherboard sensor values. # Config file is /etc/sysconfig/lm_sensors ### END INIT INFO # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, # MA 02110-1301 USA. # See also the lm_sensors homepage at: # http://www.lm-sensors.org # It uses a config file /etc/sysconfig/lm_sensors that contains the modules # to be loaded/unloaded. That file is sourced into this one. # The format of that file a shell script that simply defines the modules # in order as normal shell variables with the special names: # MODULE_1, MODULE_2, MODULE_3, etc. CONFIG=/etc/sysconfig/lm_sensors LOCK=/var/run/lm_sensors.lock PSENSORS=/usr/bin/sensors FANCONFIG=/etc/fancontrol PFAN=/usr/sbin/fancontrol # Source function library. . /etc/rc.status start() { echo -n "Starting up sensors" unset ${!MODULE_*} test -r "$CONFIG" && . "$CONFIG" for i in ${!MODULE_*} ; do eval module=\$$i /sbin/modprobe $module &>/dev/null rc_status done rc_status /usr/bin/sensors -s &> /dev/null rc_status # Start fan control, if configured if test -s "$FANCONFIG" -a -x "$PFAN" ; then echo -n ", starting fan control: " /sbin/startproc -q "$PFAN" rc_status else echo -n ": " fi rc_status -v && touch $LOCK } stop() { echo -n "Shutting down sensors" unset ${!MODULE_*} test -r "$CONFIG" && . "$CONFIG" # Stop fan control, if it was started if test -s /var/run/fancontrol.pid ; then echo -n ", stopping fan control: " /sbin/killproc -TERM "$PFAN" rc_status else echo -n ": " fi for i in ${!MODULE_*} ; do eval module=\$$i /sbin/modprobe -r $module &>/dev/null rc_status done rc_status -v && rm -f $LOCK } dostatus() { if test -s "$FANCONFIG" -a -x "$PFAN" ; then echo -n "Checking for fan control daemon: " /sbin/checkproc "$PFAN" rc_status -v fi if test -e "$LOCK" ; then $PSENSORS else rc_failed 3 fi rc_status } restart() { stop start rc_status } condrestart() { [ -e $LOCK ] && restart || : } # Reset status of this service rc_reset # See how we were called. case "$1" in start) start ;; stop) stop ;; status) dostatus ;; restart|reload) restart ;; try-restart) condrestart ;; *) echo "Usage: lm_sensors {start|stop|status|restart|reload|try-restart}" exit 1 esac rc_exit -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
