Commit Graph
761 Commits
Author SHA1 Message Date
Jean Delvare 0b86f4e187 Get I2C adapter driver names from sysfs. The old method (matching against
regexp for known I2C adapters) is still used as a fallback, as early 2.6
kernels don't support the new method, and some drivers (i2c-viapro for
example) do not bind to their device so the new method doesn't work for
them.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5407 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-24 12:42:00 +00:00
Jean Delvare a1db385f3c Fix SMBus detection of early W83627EHF chips.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5405 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-23 15:24:50 +00:00
Jean Delvare a0ddf07aad Handle special case chips more efficiently. Instead of listing every
chip twice with just the driver field differing, we put the chip entry
in the main list directly and resolve the driver field at run-time.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5402 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-22 18:04:50 +00:00
Jean Delvare 4de44481ae Drop support for Linux 2.4.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5399 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-22 15:52:52 +00:00
Jean Delvare 992ab93b71 Fix detection of SMSC LPC47M292. Add detection of SMSC LPC47M233.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5395 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-21 08:52:40 +00:00
Jean Delvare 7dc02997d0 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
2008-11-17 21:35:50 +00:00
Jean Delvare 745219e9be The LM99 offset is now handled in the lm90 driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5381 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-10-30 12:36:59 +00:00
Jean Delvare 51a621be43 Add support for current sensors.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5379 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-10-24 09:04:26 +00:00
Jean Delvare d766935c47 Add support for instantaneous power sensors.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5378 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-10-24 09:03:18 +00:00
Jean Delvare 7aa5cb5871 Fix detection of Intel 5000 series FB-DIMM AMB.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5366 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-10-22 12:50:32 +00:00
Jean Delvare e42b57bf03 Drop "label temp#_crit" statements. Since version 3.0.0, sensors no
longer display a separate label for the critical temperature.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5365 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-10-20 11:42:12 +00:00
Jean Delvare fb5bbd86f1 Add VIA VX800/VX820 detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5360 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-10-14 16:40:08 +00:00
Jean Delvare e4df67dd27 Map IT8720F to it87 driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5358 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-10-08 06:32:53 +00:00
Jean Delvare 13d35a13f5 Add trac ticket number.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5354 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-10-04 08:29:56 +00:00
Jean Delvare 00193652cd Fix detection of ADT7463 and LM96000.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5352 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-10-02 11:42:47 +00:00
Jean Delvare adcd5def31 Delete maxilife scripts. The maxilife driver was not ported to
Linux 2.6 and probably never will.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5350 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-28 16:44:36 +00:00
Jean Delvare 334a4fcf27 Prepare for release.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5346 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-28 15:48:57 +00:00
Jean Delvare 66130a9630 Update pwmconfig manual page.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5344 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-28 08:18:29 +00:00
Jean Delvare f7ccb96a7c Add support for drivers that place the hwmon attributes in the hwmon
class device directory rather than directly in the device directory.
This is what virtual devices have.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5343 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-27 15:35:47 +00:00
Jean Delvare f1c80ef5aa Add MAX1618 detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5337 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-19 15:05:28 +00:00
Jean Delvare 8827e4bac6 W83627DHG has no subclients.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5332 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-10 07:24:46 +00:00
Jean Delvare 6cf8b4be86 Prevent misdetection of W83627DHG (and more generally, Winbond chips)
on I2C as LM78.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5331 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-10 07:22:06 +00:00
Jean Delvare 78e6d49180 Change default for MINTEMP from 0 to 20 degrees C. Computers never run at
below 20 degrees C, so setting MINTEMP to 0 uselessly reduces the control
range.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5329 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-09 13:18:48 +00:00
Jean Delvare 012aae9b58 Skip MINSTOP and MINSTART tests if fan can't stop.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5328 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-09 13:15:04 +00:00
Jean Delvare 346159764f Determine MINSTOP automatically.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5327 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-09 12:14:28 +00:00
Jean Delvare c0645f4011 Detect and report obviously incorrect fan speeds.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5326 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-09 09:30:38 +00:00
Jean Delvare 7ca1c39b92 Use the same step values for the MINSTOP test as we do for the detailed
correlation. That is, 15 above 31 and 2 below 31. This makes more sense
than using 10 all the time, as changes in low PWM values tend to have a
greater effect on fan speeds than changes in high PWM values.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5324 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-08 13:51:22 +00:00
Jean Delvare 5f9008ddf3 Test MINSTOP before MINSTART. We know that MINSTART can't be less than
MINSTOP, so we can use MINSTOP as the initial value for the MINSTART test.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5323 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-08 12:21:20 +00:00
Jean Delvare 1bf9b248b0 Fix MINSTOP and MINSTART test functions. PWM must be enabled for the duration
of the test, and disabled again afterwards. Bug reported by Philippe Roubach.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5318 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-08 09:49:13 +00:00
Jean Delvare f9dbe31f15 Tell the user about gnuplot if isn't installed.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5317 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-01 11:58:30 +00:00
Jean Delvare eedc452efa An updated TMP411 datasheet actually shows that this chip has different
device IDs than the TMP401.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5314 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-08-20 18:02:22 +00:00
Jean Delvare 790bd11ca3 Add ITE IT8720 detection. No datasheet available yet.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5308 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-08-09 12:52:05 +00:00
Jean Delvare 744a5d0178 Add detection of VIA VT1212 and SMSC EMC2700LPC Super IOs.
Patch from Juerg Haefliger.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5303 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-07-14 18:25:46 +00:00
Jean Delvare 9fcfb654af The free_expr() function is no longer static in lib/init.c (it is also
used in lib/conf-parse.y), and therefore must be renamed according to
the libsensors naming conventions.
Based on an original patch from Sergey Vlasov.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5302 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-07-14 16:21:48 +00:00
Jean Delvare a03f51bbcb Add Maxim MAX6646, MAX6647 and MAX6649 detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5300 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-07-07 11:21:15 +00:00
Jean Delvare c57566e85b We have a driver for the Winbond W83L786NR/NG/R/G now.
Closes ticket #2336.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5290 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-06-24 06:38:33 +00:00
Jean Delvare 45c012f52c Add VIA C7 detection. Patch from Juerg Haefliger.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5288 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-06-24 06:29:19 +00:00
Jean Delvare 4a79587695 Fix Analog Devices ADT7461 detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5282 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-06-15 08:42:14 +00:00
Jean Delvare 04b9a162b9 Add Texas Instruments THMC51 detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5281 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-06-11 14:09:15 +00:00
Jean Delvare 16d97a6f01 Fix Andigilog aSC7621 detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5276 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-06-08 10:19:13 +00:00
Jean Delvare 83c47f9a5e Merge several alias detection functions.
Drop unused parameter of vt1211_alias_detect.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5275 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-06-07 21:14:07 +00:00
Jean Delvare a5f4b32d17 Don't use named pipes when we don't need them. Named pipes have been reported
to cause trouble on some systems. This closes ticket #2319.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5271 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-06-02 06:21:06 +00:00
Jean Delvare 34881b958e Add Maxim MAX6654/MAX6690 detection.
Add National Semiconductor LM95231 detection.
Add Analog Devices ADT7481 detection.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5270 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-28 12:36:57 +00:00
Jean Delvare 337f390279 Cache the byte data reads. As we keep reading the same registers over
and over again in the detection functions, and SMBus can be slow,
caching results in a big performance boost. This closes ticket #2326.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5266 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-28 07:26:11 +00:00
Jean Delvare 0463566da7 Improve MAX6657, MAX6658, MAX6659 detection.
Adjust the confidence value of ADM1032, MAX6680/MAX6681 and TMP401.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5264 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-25 10:07:25 +00:00
Jean Delvare a00447d1ce Identify the lm85-compatible chips individually. The previous method was
vendor-based, so we couldn't tell the user what exact device they had,
and the broad device ID mask could lead to false positives.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5261 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-23 10:22:30 +00:00
Jean Delvare c2852cba57 Add Intel SCH (bus) support.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5258 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-21 08:15:48 +00:00
Jean Delvare d53ba9bb1c Prepare for release.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5254 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-18 16:07:48 +00:00
Jean Delvare aa47fb99e2 Fix support of multiple chip names on the command line. It got broken
accidentally during the conversion to the new libsensors API in version
3.0.0. This closes ticket #2321.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5252 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-12 11:51:18 +00:00
Jean Delvare 47ed2c0ffd Add Dallas DS1631 detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5249 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-11 20:56:25 +00:00