Commit Graph
5025 Commits
Author SHA1 Message Date
Guenter Roeck e8af0c718c lm-sensors: Drop comment that additional checks for MAX1617 and LM84
are not done in adm1021 driver, as this is no longer correct.
2013-06-07 18:48:08 +00:00
Jean Delvare 2dec06a2a9 Fix EnvironmentFile in service files
* EnvironmentFile is mandatory for sensord.
* fancontrol needs no EnvironmentFile.
2013-06-03 12:36:47 +00:00
Jean Delvare a276f56993 sensors-detect: Report built-in drivers as such 2013-05-28 11:51:36 +00:00
Jean Delvare 91fa8d0694 Reorder post-release items in the order I actually do them. 2013-05-28 08:36:56 +00:00
Jean Delvare 7fbd617dbf Post-release version update. 2013-05-27 13:08:02 +00:00
Jean Delvare c70bea4f9c Prepare for release. 2013-05-27 10:33:26 +00:00
Jean Delvare a133842b93 Add missing dependency. 2013-05-24 13:28:38 +00:00
Jean Delvare 98f280797c Add sensord service file for systemd
Original file contributed by Nikola Pajkovsky.
2013-05-24 10:53:19 +00:00
Jean Delvare 1e3fb43118 Add fancontrol service file for systemd 2013-05-24 10:39:23 +00:00
Jean Delvare 62ed6f484b Fix handling of absolute paths in config
Reported by Marc Ferland. Make DEVPATH and DEVNAME mandatory only when
using relative paths. Optionally support DEVNAME check when using
absolute paths.
2013-05-23 14:09:22 +00:00
Jean Delvare 8f4461622c Drop unreliable DS1621/DS1631 detection
Detection of the Dallas/Maxim DS1621, DS1625 and DS1631 chips is weak
and likely to result in false positive. There's no rationale for
keeping it in sensors-detect as these chips are not found in desktop
computer systems. So drop detection of these chips altogether.
2013-05-20 19:25:22 +00:00
Jean Delvare 74252b1dd3 Move SMBus company ID list to a better place. 2013-05-01 11:48:38 +00:00
Jean Delvare c28d953cd8 Drop all outdated or redundant information from document chips/SUMMARY. 2013-05-01 11:46:36 +00:00
Jean Delvare da22a37aec Delete outdated document chips/MODPARMS. 2013-05-01 11:40:43 +00:00
Jean Delvare 7e2b5c3376 pwm: Declare local variables as such 2013-05-01 11:37:47 +00:00
Jean Delvare e46e4e519f pwmconfig: Properly deal with multiple fan control
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.
2013-05-01 10:31:00 +00:00
Jean Delvare f2b3e95c59 pwmconfig: Drop a stray comment
fancontrol supports multiple controlled fans for quite some time now.
2013-05-01 10:30:22 +00:00
Jean Delvare 58ec80bf54 pwmconfig: Raise the detection threshold to 3/4
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.
2013-05-01 10:29:57 +00:00
Jean Delvare 2096d14c18 pwmconfig: Print the initial PWM values
Print the initial PWM values before letting the user change them. This
should be useful to better understand what happens next, and for user
support in general.
2013-05-01 10:29:00 +00:00
Guenter Roeck 75e1846326 NCT5577D datasheet says that the chip ID can be 0xC333, same as NCT6776F.
So we can not use the chip revision to detect the actual chip.
Merge entries for NCT5577D and NCT6776F into one.

List NCT5572D as another variant of W83677HG-I (NCT6775).

NCT6106D chip ID as observed on a real system is 0xC452, not 0x1061 as
claimed by the data sheet. Confirmed with Nuvoton that the correct
chip ID is 0xC452. Also list its variants NCT6102D and NCT6104D.

List NCT5532D as variant of NCT6779D. Data sheets list possible chip
IDs of 0xC561 and 0xC562, so detect and accept all chip revisions.

Point to new nct6775 driver for NCT6775, NCT6776, and NCT6779.
2013-04-09 14:54:19 +00:00
Guenter Roeck 43e8122abb Add detection of TMP431 and TMP432 2013-03-17 16:04:55 +00:00
Guenter Roeck f3c0b42ed9 Add detection of LM95234 2013-03-17 16:03:51 +00:00
Jean Delvare d5ffa33d39 Update the dead items that went to trash. 2013-03-14 08:58:47 +00:00
Jean Delvare ad51e05f16 We have a driver for the ADT7410 since kernel 3.7.
ADT7420 is register compatible with the ADT7410.
2013-02-28 09:18:34 +00:00
Guenter Roeck fc22c02e65 Add detection of MCP98244 2013-02-04 23:56:11 +00:00
Guenter Roeck 9bec02f075 Add detection of IT8752F 2013-02-04 23:55:13 +00:00
Jean Delvare 1b77fd669b Avoid unwanted sensors-detect termination when /dev/port is missing
Patch from Jaromir Capik.

The device file /dev/port might be missing in some cases
and the sensors detection is terminated when the user
tries to detect sensors dependent on it's existence.
That's not correct -> it's not a reason for terminating
the detection.
2013-01-23 09:33:59 +00:00
Jean Delvare 6734fae250 The new sysconfig configuration file syntax is in place since December
2009, I think we can safely remove the old one, nobody should be using
it any longer.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6115 7894878c-1315-0410-8ee3-d5d059ff63e0
2013-01-16 18:11:30 +00:00
Jean Delvare 319f9b8f68 If a driver is built into the kernel, it doesn't show up in
/proc/modules so we will try to load it, even though it's already
available. It will succeed, however later attempts to remove the
driver will fail and such failures are reported at the end of the
script, which can be confusing.

So, use /sys/module instead of /proc/modules where available, as
built-in drivers are listed there too so we no longer attempt to load
already available drivers. As a consequence we also no longer attempt
to remove the drivers in question, thus clearing the error message.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6114 7894878c-1315-0410-8ee3-d5d059ff63e0
2013-01-16 17:33:38 +00:00
Jean Delvare 1971bc6ff1 Map IT8771E, IT8772E, IT8782F and IT8783F to it87.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6113 7894878c-1315-0410-8ee3-d5d059ff63e0
2013-01-16 14:26:48 +00:00
Jean Delvare 9c91c2897e Add detection of AMD family 16h power sensors. Patch from Boris
Ostrovsky.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6112 7894878c-1315-0410-8ee3-d5d059ff63e0
2013-01-12 14:35:31 +00:00
Jean Delvare 8714492f6b Add detection of Winbond W83627SF/GF (no sensors.)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6111 7894878c-1315-0410-8ee3-d5d059ff63e0
2013-01-11 20:52:59 +00:00
Jean Delvare 122780fc96 sensors.conf.5: Mention "sensors -u" to get the raw feature names.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6091 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-11-12 09:48:37 +00:00
Jean Delvare f915436019 sensors: Clarify what option -u is good for.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6090 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-11-12 09:35:59 +00:00
Jean Delvare c6c1c5d67c Post-release version update.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6089 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-11-06 20:32:29 +00:00
Jean Delvare f8e6c7fd6e Prepare for release.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6087 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-11-06 20:10:47 +00:00
Jean Delvare 717e87b4d2 Fix % in format.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6086 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-11-06 19:44:01 +00:00
Jean Delvare d1d5799d51 sensors-detect: Fix parent class discovery when multiplexer is present
Take multiplexers into account when looking up the parent device of
each I2C adapter. We don't bother with old kernels as they didn't have
support for multiplexers anyway.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6085 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-10-30 17:18:45 +00:00
Jean Delvare e817653329 sensors-detect: Do not scan I2C adapters on graphics cards by default.
Don't probe I2C buses on graphics cards by default. Their drivers will
typically instantiate the I2C slave devices themselves as needed, and
such probes have been occasionally reported to cause serious trouble.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6084 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-10-30 17:11:37 +00:00
Jean Delvare 6a2798ccc0 sensors/man - missing long switches
Patch from Jaromir Capik.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6076 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-10-22 11:51:27 +00:00
Jean Delvare f0af8775a1 Update fan-divisors: fan divisors are optional, recent monitoring chips
don't have them so the document doesn't apply to these chips.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6071 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-09-14 11:35:43 +00:00
Guenter Roeck 4726e44ab8 sensors: add humidity data to output of sensors command
Patch provided by Iain Paton.



git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6070 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-09-11 19:05:10 +00:00
Guenter Roeck aa504302de sensors-detect: Add detection of SMSC LPC47N217 and SIO10N268
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6057 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-06-01 15:47:27 +00:00
Guenter Roeck c94b615773 sensors-detect: Add detection of NCT6779D and NCT6102D/NCT6106D
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6056 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-06-01 15:46:30 +00:00
Jean Delvare 6ee8f6096d Merge 4 regular expressions into a single one, this is faster.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6046 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-04-19 13:21:00 +00:00
Jean Delvare 08d713c412 libsensors: Fix warning about library path not in /etc/ld.so.conf
On recent systems, extra configuration files can live in
/etc/ld.so.conf.d, so check this directory too, before warning.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6045 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-04-19 13:18:45 +00:00
Jean Delvare 69eb49cb7f sensors: Fix libiconv linkage need detection in rare corner case.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6044 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-04-19 13:13:27 +00:00
Jean Delvare 29bd5c021e 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
2012-04-09 19:33:35 +00:00
Jean Delvare 91bf1d30cc Update release checklist.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6039 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-03-29 07:54:05 +00:00
Jean Delvare ea7ff25c29 PCI bus is always required even if it might be missing on some
platforms. So don't choke is it is missing. Patch from Jaromir Capik.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6038 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-03-29 06:33:15 +00:00