Jean Delvare
5fe10beeda
Increase MAX_SENSORS_PER_TYPE to 24. The old value of 20 isn't enough
...
at least for the W83795G, which has up to 21 voltage inputs.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5826 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-02-23 13:29:05 +00:00
Jean Delvare
5405489be4
Add support for Intel PCH (SMBus).
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5823 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-02-10 13:22:56 +00:00
Jean Delvare
d64aa20664
sensors-detect: Give udev time to settle before accessing i2c device
...
nodes.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5822 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-02-04 08:14:10 +00:00
Jean Delvare
6e78c8c779
Prepare for release.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5819 7894878c-1315-0410-8ee3-d5d059ff63e0
2010-02-02 20:14:53 +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
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
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
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
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
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
c09cff1f11
Add a default configuration section for adt7473 and adt7475.
...
Add a default configuration section for adt7476 and adt7490.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5803 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-12-01 12:14:54 +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
Andre Prendel
57c69770e7
CHANGES appendix for commits r5789:r5796
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5798 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-11-06 20:23:59 +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
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
7c37bd44ac
Add support for HID devices.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5786 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-10-18 12:05:16 +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
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
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
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
7d3bddb1fa
Add missing log entry.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5772 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-09-18 19:35:13 +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
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
ea3afb6ce5
Document the previous change.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5761 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-07-24 15:41:45 +00:00
Jean Delvare
4d3ee85bae
Support upcoming sysfs path to i2c adapters.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5759 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-07-22 12:53:51 +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
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
Andre Prendel
e41a22eb4e
sensors-detect: Refer to tmp401 driver if TMP411 is detected
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5751 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-07-07 05:57:03 +00:00
Jean Delvare
4584499872
Encourage the user to not modify /etc/sensors3.conf. Suggested by
...
Aurelien Jarno to make updates easier.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5750 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-07-05 09:04:50 +00:00
Jean Delvare
6ff7f5e25b
Exit immediately if not root.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5749 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-07-03 19:37:22 +00:00
Jean Delvare
c2646f2e6a
Prepare for release.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5742 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-06-21 15:22:06 +00:00
Jean Delvare
78f496ca62
libsensors: New method to free the memory allocated for the internal
...
representation of chip names.
sensord, sensors: Fix a memory leak when one or more chip names are
provided on the command line.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5740 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-06-20 10:04:52 +00:00
Jean Delvare
ef2f2c04ce
Use the "daemon" logging facility instead of "local4" by default.
...
Local facilities are meant for local uses, no daemon should use it by
default.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5737 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-06-11 17:39:48 +00:00
Jean Delvare
a5bb03f300
Disable unit scaling for fan speeds. We want fan speed to be reported as
...
3000 RPM, not 3.0 kRPM.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5735 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-06-09 12:22:11 +00:00
Jean Delvare
098ae6d2e5
Don't use the system log when generating a CGI script. This is is
...
normally done by a human on a console, rather than in the background,
so the system log isn't where people would look for error messages.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5734 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-06-09 12:19:53 +00:00
Jean Delvare
ee26e6d2b0
From Yuriy Kaminskiy:
...
Most filesystems (in particular - reiserfs, jfs, xfs, nfs); maybe,
some legacy installation of ext2/3 too) always return dirent->dt_type =
DT_UNKNOWN, so libsensors fails to parse /etc/sensors.d.
Also, symlink (DT_LNK) can point to directory, or FIFO/socket/device
(very bad!) - current check insufficient anyways.
Fixed by always using stat() to check what each entry is, rather than
relying on dirent->dt_type.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5730 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-06-05 15:17:29 +00:00
Jean Delvare
019db74670
Add Winbond/Nuvoton W83627DHG-P and W83627UHG detection.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5726 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-05-19 07:36:06 +00:00
Andre Prendel
8a53c5bc31
Update CHANGES file due to recent updates in sensord.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5725 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-05-14 07:28:51 +00:00
Jean Delvare
dee604c8e9
Add support for absolute path to hwmon devices.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5717 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-05-09 11:43:06 +00:00
Jean Delvare
2ea3bf392b
Make it possible to skip building of the static library. Just run:
...
make BUILD_STATIC_LIB=0
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5711 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-04-20 09:18:06 +00:00
Jean Delvare
e0ad43a545
Include generated source files in dependency checking.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5710 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-04-20 08:42:11 +00:00