2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-31 14:25:39 +00:00
Commit Graph

1673 Commits

Author SHA1 Message Date
Jean Delvare
8d5e35625a Minor cleanup in adt7490_detect().
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5818 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-01-18 16:22:07 +00:00
Jean Delvare
9322291a6b Add detection for Analog Devices ADT7411.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5817 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-01-18 16:19:15 +00:00
Jean Delvare
df4921b0b1 Winbond W83L771AWG/ASG support.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5815 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-01-13 20:18:02 +00:00
Jean Delvare
fab3afc75d Refine the detection of AMD family 10h processors with working
sensors.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5814 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-12-20 17:11:48 +00:00
Jean Delvare
4745d9cac6 More AMD family 10h CPU models with broken thermal sensors.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5813 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-12-17 10:01:14 +00:00
Jean Delvare
57373f9e6b Improve AMC6821 detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5812 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-12-15 16:57:34 +00:00
Jean Delvare
a312cc6da1 Add detection for Texas Instruments AMC6821.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5811 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-12-15 16:53:00 +00:00
Jean Delvare
be799124f8 Differentiate between Intel Core and Atom.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5810 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-12-14 10:02:53 +00:00
Jean Delvare
dc4a8c8f70 Add detection for VIA Nano. Update driver name for VIA C7.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5809 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-12-14 09:52:42 +00:00
Jean Delvare
04e9184038 We have a driver for the AMD family 10h/11h now (k10temp).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5807 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-12-06 16:44:08 +00:00
Jean Delvare
e58cb01e91 Add detection for Nuvoton W83L771AWG/ASG.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5806 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-12-02 16:37:37 +00:00
Jean Delvare
2485b5490f Support for the ADT7473, ADT7476 and ADT7490 is being added to the
adt7475 driver.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5805 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-12-02 16:23:55 +00:00
Jean Delvare
f37859035a More known revisions for the ADT7476.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5804 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-12-01 12:29:36 +00:00
Jean Delvare
8416f31add Fix a build warning in set_degstr. The prototype of iconv() is
stupid but won't change so we have to live with it.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5801 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-11-28 12:26:44 +00:00
Jean Delvare
8d3e7a742e Restore detection for AMD Family 10h thermal sensors. Only CPU with
model > 2 are reported, as older ones are known to have broken sensors.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5800 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-11-23 12:15:26 +00:00
Jean Delvare
74425eb8fc Detect ADT7473 at 0x2c and 0x2d.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5799 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-11-23 09:17:55 +00:00
Jean Delvare
6d3f81d5da "alarm" is a glibc function, don't use this identifier for our own
variables to prevent any confusion.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5797 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-11-05 09:23:46 +00:00
Andre Prendel
db0b1e6e11 sensord: Break long lines in doChips()
This patch breaks long lines in function doChips().


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5796 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-11-04 19:12:34 +00:00
Andre Prendel
a079f9c35d sensord: Evaluate return value of idChip()
Evaluate return value of idChip().

Some of the functions called from idChip() can fail which means
idChip() can return an error. Callers of idChip() should be aware of
this.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5795 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-11-04 19:11:41 +00:00
Andre Prendel
57e7762901 sensord: Refactoring of file prog/sensord/sense.c
This patch does some refactoring of function doKnownChip().

* doKnownChip() is a huge function with deep indentation
levels. Splitting this funcion up into smaller ones makes code much
more readable.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5794 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-11-04 19:08:32 +00:00
Andre Prendel
bb6495d47d sensord: Change signature of (*FeatureFN)
This patch changes the signature of function pointer (*FeatureFN) and
the related functions:

  rrdGetSensors_DS()
  rrdCGI_DEF()
  rrdCGI_LINE()

Return type is now void because none of the functions return an error
code.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5793 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-11-04 19:07:38 +00:00
Andre Prendel
ae56c60bff sensord: Refactoring of applyToFeature()
This patch cleans up function applyToFeature().

Function applyToFeature() is nearly unreadable. There are some deep
levels of indentation and cascades of loops makes code flow difficult to
read.

I split up this function into three smaller one. This reduces
indentation levels and makes code flow clearer.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5792 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-11-04 19:06:54 +00:00
Andre Prendel
051d8693e4 sensord: Remove needless casts
This patch removes some needless casts. We don't have to cast
explicitly from void * (in C).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5791 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-11-04 19:05:19 +00:00
Andre Prendel
eea3628561 sensord: Convert CGI script to lower case
This patch converts HTML code in the generated CGI script to lower
case. This makes us a bit more XHTML compatible.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5790 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-11-04 19:04:30 +00:00
Andre Prendel
13b3c7aa36 sensord: Fix coding style
This patch fixes some coding style issues.

* Remove whitespaces between variable and increment operator.
* Break long lines.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5789 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-11-04 19:02:58 +00:00
Hans de Goede
9a83fe6c01 sensors-detect: Add detecton for Fintek F71869FG
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5788 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-10-22 10:11:12 +00:00
Hans de Goede
9c58672a66 Refer to f71882fg driver if F71889FG is detected
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5787 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-10-22 10:05:38 +00:00
Jean Delvare
f5fc77eb58 Don't choke on virtual i2c adapters.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5785 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-10-16 20:21:15 +00:00
Jean Delvare
cc1af46348 Add detection for Analog Devices ADT7490.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5784 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-10-16 19:55:03 +00:00
Jean Delvare
71d0b791e8 The Nuvoton W83667HG and W83677HG have the same I2C chip ID as
the Winbond W83627DHG.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5783 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-10-16 10:45:20 +00:00
Jean Delvare
ae0b253b53 Add detection for Nuvoton W83667HG-B and W83677HG-I.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5782 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-10-16 08:59:16 +00:00
Jean Delvare
19fe62e6e0 Add SMBus detection for AMD Hudson-2.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5781 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-10-12 10:51:24 +00:00
Jean Delvare
c4d9a2fba3 Lower the confidence of MAX6650/1 detection, as it is really weak.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5780 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-10-03 10:41:53 +00:00
Jean Delvare
b6becb237e Add detection for National Semiconductor LM73.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5779 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-10-03 10:38:14 +00:00
Jean Delvare
f513a6b8b2 Document the different CPU models supported by the coretemp driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5774 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-09-20 08:51:45 +00:00
Jean Delvare
c65c353ad9 Add detection for Intel Atom thermal sensors.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5773 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-09-20 08:23:02 +00:00
Jean Delvare
8ddd1d2984 Save hwmon device paths and names in configuration file, and check them
before starting any fan control operation.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5770 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-09-16 15:57:53 +00:00
Jean Delvare
739d25f48c Drop AMD K10 detection (unreliable sensors).
Add detection for AMD Family 11h thermal sensors.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5769 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-09-14 10:50:45 +00:00
Jean Delvare
bff5a8dde0 Clean up the code writing the configuration file.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5767 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-09-13 11:19:57 +00:00
Jean Delvare
5ee7d14714 Minor line wrapping fix.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5766 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-09-08 17:24:25 +00:00
Jean Delvare
c76907971e Check that all referenced sysfs files exist before starting. If not,
quilt immediately. Better no fan control than fan control using an
out-of-sync configuration file.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5765 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-09-08 16:52:29 +00:00
Jean Delvare
835eee0a7f Don't assume legacy references to i2c devices, instead explicitly
check for them. This should help spot invalid configuration files.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5764 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-09-08 14:19:22 +00:00
Jean Delvare
1bb3175a5f Recent versions of module-init-tools only want *.conf files under
/etc/modprobe.d. So rename our configuration file to lm_sensors.conf
there. Also let "make install" rename the file if it already exists.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5760 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-07-24 13:52:28 +00:00
Jean Delvare
09d912a45f Support upcoming sysfs path to i2c adapters.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5758 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-07-22 12:20:58 +00:00
Jean Delvare
9153ce2240 The SMSC LPC47M233 isn't currently supported. If it ever is, it will most
probably not be by the smsc47m1 driver.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5757 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-07-20 19:10:25 +00:00
Jean Delvare
ab845dd7bb sensord has a manual page now. Patch from openSUSE.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5756 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-07-20 10:02:27 +00:00
Jean Delvare
963c843c6a Fix exit code. If there's no change needed, this is a success, not
a failure.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5755 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-07-20 09:50:51 +00:00
Andre Prendel
4cf83be1b1 sensors-detect: Add TMP42x chip detection
This patch adds detection for TI's TMP421, TMP422 and TMP423 chips to
sensors-detect. Only the manufactory ID and the device ID is used for
detection. I hope this is reliable enough.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5754 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-07-14 20:14:53 +00:00
Jean Delvare
f69dbc887a Report unsupported Access Bus adapters, as we already do for SMBus.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5753 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-07-09 20:05:17 +00:00
Jean Delvare
a3eb98b8db Clean up the discovery of i2c adapters, their parent and their
attributes in sysfs. Make references to i2c-adapter class less
specific, as this class is eventually going away.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5752 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-07-09 12:54:49 +00:00