Commit Graph
4991 Commits
Author SHA1 Message Date
Jean Delvare ac5e4f1597 3.3.3 release
git-svn-id: http://lm-sensors.org/svn/lm-sensors/tags/V3-3-3@6088 7894878c-1315-0410-8ee3-d5d059ff63e0
V3-3-3
2012-11-06 20:11:17 +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
Jean Delvare 096fe8790a Post-release version update.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6037 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-03-14 08:04:48 +00:00
Jean Delvare ae877a1e55 Prepare for release.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6035 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-03-14 07:43:39 +00:00
Jean Delvare 7a4273e763 Motherboard donated by Winbond that I thought was dead has miraculously
resurrected.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6034 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-03-13 19:30:30 +00:00
Jean Delvare 0871a7d568 Drop invalid statement.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6032 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-03-08 20:36:42 +00:00
Guenter Roeck 5175a1eab8 sensors-detect: Add detection of IDT TSE2002GB2, TS3000GB2, Microchip MCP9804,
and Atmel AT30TS00



git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6031 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-03-07 16:14:01 +00:00
Guenter Roeck 107829d11d Fix power interval output
Power interval is measured in seconds, not Watt.



git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6030 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-03-07 16:12:56 +00:00
Jean Delvare a3e40509e0 Add support for fan[1-*]_max, fan[1-*]_min_alarm and fan[1-*]_max_alarm
attributes. These are defined in the standard sysfs interface for quite
some time, and at least three drivers (max6650, lm63 and applesmc)
implement them so we should support them.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6029 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-03-06 07:34:13 +00:00
Jean Delvare 8695f0f515 Add detection of ST Microelectronics STTS2002 and STTS3000.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6028 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-03-06 07:29:32 +00:00
Jean Delvare 38158e4fe3 Calling strcat twice in a row is inefficient, it's better to use
sprintf at the end of the string, so that we look for that end only
once.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6027 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-03-06 07:24:42 +00:00
Jean Delvare 1c20f6a298 Fold get_features() into do_features().
There is no rationale for having separate functions, both are static
and called only once. do_features() is calling helper functions to get
values it doesn't use and passes to get_features() directly. Having a
single function is more efficient and allows for per-action
optimizations.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6026 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-03-06 07:23:42 +00:00
Jean Delvare 8aa001900f Fix memory leaks in sensord revealed by valgrind.
The leak in daemonize() is harmless, we're about to exit anyway. Fix
it still to make valgrind happy.

The leak in do_features() is real, as the function is called
periodically by the daemon, for all actions. If the intervals at set
low and the system has many sensors, the leak could be significant,
maybe 150 kB/day.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6025 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-03-06 07:22:06 +00:00
Guenter Roeck 9e144ca2a5 Add detection of ITE IT8510E/TE/G, IT8511E/TE/G, IT8513E/F/G, and IT8518E
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6024 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-03-04 18:10:41 +00:00
Jean Delvare 37bdb0bb5a Add detection of ITE IT8781F, IT8782F and IT8783F.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6023 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-03-02 07:53:06 +00:00
Jean Delvare bdfeb5e97e Filter out one more fake DMI string.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6022 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-02-16 06:44:31 +00:00
Jean Delvare fad34226aa Add detection of ITE IT8771E.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6021 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-02-15 08:24:08 +00:00
Jean Delvare 38581a071e lm96080 is the new lm80.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6020 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-01-31 14:25:29 +00:00
Jean Delvare ce67eab867 Fix typo.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6019 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-01-31 14:22:39 +00:00
Jean Delvare a79b62b21c Add detection of the National Semiconductor (now Texas Instruments)
LM96080. It is functionally compatible with the LM80 but detection is
completely different.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6018 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-01-31 12:55:39 +00:00
Jean Delvare ae32c8a919 Upcoming change in sysfs will break the way libsensors detects if
sysfs is mounted. Adjust the implementation so that it still works after
said change.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6017 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-01-31 12:54:03 +00:00
Jean Delvare c9c0cb604f Properly handle Super-I/O chips without logical device. Just report
that we can't support the chip yet, instead of spitting I/O errors.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6016 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-01-31 12:51:31 +00:00
Jean Delvare 2e65243b16 Add 4 PCI IDs for Intel SMBus controllers.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6015 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-01-24 07:54:35 +00:00
Guenter Roeck 60608958e0 Add detection of GMT G781
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6014 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-01-23 17:05:21 +00:00
Jean Delvare 4f21a6bbed w83627ehf: Increase default value of Vbat max, the previous default
triggered an alarm on many boards.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6012 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-01-14 19:56:13 +00:00
Jean Delvare ffa146909c sensors: Align power values better.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6011 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-01-13 09:41:36 +00:00
Jean Delvare cd2ff28d7b sensors: Report thermal sensor type 1 as CPU diode.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6010 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-01-13 08:48:55 +00:00
Jean Delvare 847dc0b454 Add recent donation of a fanless graphics card by AMD.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6009 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-01-13 08:24:23 +00:00
Guenter Roeck f8b6670e56 sensors: Display both instantaneous and average power
Some sensor chips report both instantaneous and average power.
Add support to display both.



git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6008 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-01-09 18:24:03 +00:00
Guenter Roeck 273102f2c9 Add support for additional sysfs attributes to libsensors and to sensors command
inX_average
inX_lowest
inX_highest
tempX_lowest
tempX_highest
currX_average
currX_lowest
currX_highest




git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6007 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-01-09 17:30:10 +00:00
Guenter Roeck 19fd8481b7 sensors: Use defines for array sizes
Use defines for array sizes. For alarm attributes, take into account that both
the generic alarm flag as well as individual alarm attributes may be provided
by a driver (even though that should not be the case).

Remove overflow checks from get_sensor_limit_data(), as overflows should
no longer happen.



git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6006 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-01-09 17:21:08 +00:00
Jean Delvare 2c145550b5 fancontrol: Output error messages to stderr
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6001 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-12-04 16:54:05 +00:00
Jean Delvare bd21ec1ee4 fancontrol: Support setup where one PWM output controls several fans
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6000 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-12-04 16:53:10 +00:00
Jean Delvare 4b809e1ff1 Map IT8728F to driver it87.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5999 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-11-22 10:10:42 +00:00
Jean Delvare 4188c5d234 The LM94 and LM96194 are almost the same chip, and they have the same
device ID.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5998 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-11-08 09:24:16 +00:00
Jean Delvare 4c63be0361 Add detection of National Semiconductor LM96163.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5997 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-11-08 09:10:11 +00:00