2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-30 22:05:11 +00:00
Commit Graph

4069 Commits

Author SHA1 Message Date
Jean Delvare
cbb496e134 Refactor IPMI detection functions.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5419 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-24 15:50:00 +00:00
Jean Delvare
9f03b10a04 Group all ISA detection functions and harmonize their parameters.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5418 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-24 15:42:03 +00:00
Jean Delvare
7a8669796e Drop $chip parameter from all detection functions which handle only
one chip. Let's not make the code more complex than needed.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5417 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-24 15:27:26 +00:00
Jean Delvare
ec73088454 Drop separate LM78-J entry, we really have no good reason to handle
the LM78-J differently from the original LM78.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5416 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-24 14:56:18 +00:00
Jean Delvare
f60a79b999 Oops, remove debug print.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5415 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-24 14:51:43 +00:00
Jean Delvare
9bbc5b348f Move all alias detection functions in once place and harmonize their
parameters.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5414 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-24 14:51:11 +00:00
Jean Delvare
829298b0c6 Comment clarification.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5413 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-24 13:57:39 +00:00
Jean Delvare
569de49970 Drop old comment.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5412 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-24 13:52:07 +00:00
Jean Delvare
9cc1de4bfb Comment update.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5411 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-24 13:46:52 +00:00
Jean Delvare
a6706d680a Update an obsolete comment.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5410 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-24 13:34:30 +00:00
Jean Delvare
4814ce52c3 Drop old SiS I2C adapter entries. If anyone really wanted to write a
driver for these chips, it would already be done by now.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5409 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-24 13:31:58 +00:00
Jean Delvare
b5df304f5d Add a separate look-up table to figure out an I2C adapter's driver
based on the adapters description in sysfs. This is more efficient to
have one entry per driver than one per device as we did so far.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5408 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-24 13:24:00 +00:00
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
963ca0992c Fix device->driver lookup name. What we are really interested in is the
name of the kernel module, not the name of the driver. This went unnoticed
so far because almost all hwmon drivers have a driver name equal to the
module name.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5404 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-23 15:16:45 +00:00
Rudolf Marek
973789e9e6 Fix the CHIPID for W83627DHG.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5403 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-23 14:27:22 +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
5cd00e8a72 Merge all FSC detection functions into a single function.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5401 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-22 17:28:30 +00:00
Jean Delvare
f70ea56585 Merge LM87 and ADM1024 detection in a single function.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5400 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-22 16:05:13 +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
a048d7a22a We now have a driver for the ADT7473.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5397 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-21 20:26:43 +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
f62a62abaa Drop old comments.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5387 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-18 12:23:00 +00:00
Jean Delvare
1533724750 Missing comma in comment.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5385 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-18 12:19: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
15c06bed80 Fix typo.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5382 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-10-30 12:37:21 +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
2bf52892a9 The PC8374L looks like an LM96000 on the SMBus.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5380 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-10-30 12:33:05 +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
39b48545a0 Update the relase checklist.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5349 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-28 16:40:03 +00:00
Jean Delvare
9a3e3855b8 Post-release version update.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5348 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-28 16:35:29 +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
5f269d0f10 Don't choke on missing name attribute. Drivers shouldn't do that, but
we can live without the name attribute, so there's no point in failing.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5345 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-28 15:22:44 +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
5b218864d0 Typo fix.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5340 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-26 14:54:32 +00:00
Jean Delvare
1d13df0109 Drop stray reference to temp3_over in comment.
Drop stray reference to lib/chips.c in comment.
Drop outdated comment about feature names starting with a number.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5339 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-26 08:44:25 +00:00
Jean Delvare
118a102198 Add a script that provides manual control of the vt1211 PWM outputs.
This script puts the vt1211 in automatic PWM mode and fools the chip
into believing that there is a temp change to force the PWM outputs to
specified values. This is necessary since the standard manual mode of
the vt1211 doesn't seem to work.
Patch from Juerg Haeflinger.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5338 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-21 15:25:39 +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
8f9a67f5bd Strip trailing whitespace.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5330 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-09 16:18:27 +00:00