Jean Delvare
4f8196934c
sensord: Fix rrd support ( #2276 ).
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5069 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-12-11 13:14:39 +00:00
Jean Delvare
ce73cfb389
Fix typo. According to National's datasheet PC87317 has SID = 0xd0 and
...
PC97317 has SID = 0xdf. PC87371/PC97371 do not seem to exist.
Patch from Ulf Jordan.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5066 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-12-08 11:18:10 +00:00
Jean Delvare
9bf2d8c187
Warn about outputs found in automatic mode.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5063 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-12-04 10:21:16 +00:00
Jean Delvare
972e5e2f01
Really hide errors on sysfs writes.
...
Deal gracefully with read-only pwm_enable files.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5061 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-12-04 09:27:49 +00:00
Rudolf Marek
78f7214fbb
Fix typo, model should be in hex.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5051 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-11-27 11:37:26 +00:00
Rudolf Marek
d147525434
Add Intel Celeron 4xx and Intel Core 2 CPUs on 45nm (Penryn) detection.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5048 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-11-27 11:13:49 +00:00
Jean Delvare
48035c2161
Drop detection of the Philips Semiconductors PCA9540. This is an I2C
...
multiplexer, it should be handled transparently at the kernel level.
On top of that, it can't be detected reliably, and the pca9540 driver
doesn't even exist in Linux 2.6.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5045 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-11-26 13:01:30 +00:00
Hans de Goede
4075aa1660
Fix building on PPC machines
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5035 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-11-23 19:50:05 +00:00
Jean Delvare
c0637bebe0
pwmconfig: Give the fans some time to spin up.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5025 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-11-18 16:16:41 +00:00
Jean Delvare
a95f194cef
pwmconfig: Better diagnostics in pwmdisable.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5023 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-11-18 16:01:04 +00:00
Jean Delvare
778c45136c
Stop probing I2C addresses 0x20-0x27 for the LM78, LM79, W83781D and
...
W83782D chips. We've never seen any hardware monitoring chip at these
addresses. The correponding kernel drivers will be modified to no
longer probe these addresses either.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5016 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-11-11 21:20:16 +00:00
Jean Delvare
5c5da6df8b
sensors-detect: Add SMSC LPC47B367-NC detection. We have no datasheet,
...
but this is a variant of the LPC47B357, and that one has no hardware
monitoring features, so for now we assume that the LPC47B367 has no
hardware monitoring features either.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5009 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-11-09 14:17:51 +00:00
Jean Delvare
6ece4889ce
Mention the f75375s driver. Reported by Christian Emmerich.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5007 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-11-02 10:23:32 +00:00
Hans de Goede
ce23228bbd
sensors-detect: Add Texas Instruments TMP401 detection
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5000 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-28 14:20:53 +00:00
Jean Delvare
5b5b1bb3dc
Install sensors as sensors again.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4991 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-25 10:57:14 +00:00
Jean Delvare
35a5a7dbce
Use /etc/sensors3.conf as the default configuration file. If it can't
...
be found, fallback to /etc/sensors.conf. This allows for an old
libsensors and a new libsensors to be installed in parallel, and each
one has its own configuration file.
One important change here is that the default configuration file will
be installed as /etc/sensors3.conf by "make install".
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4990 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-25 09:59:05 +00:00
Jean Delvare
6d5292cce4
"sensord" no longer needs a default configuration file name. If no
...
file name is provided on the command line, use the libsensors default.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4987 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-25 09:50:17 +00:00
Jean Delvare
f17e1cf5a8
"sensors" no longer needs a default configuration file name. If no
...
file name is provided on the command line, use the libsensors default.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4986 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-25 09:49:34 +00:00
Jean Delvare
2b650945f1
sensors: Handle the case where voltage measurements aren't available.
...
This will soon be the case of the Linux 2.6 gl518sm driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4977 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-22 18:27:04 +00:00
Jean Delvare
2b1c2a0e6f
sensors: Fix file handle leak on library initialization error.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4973 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-21 14:31:38 +00:00
Jean Delvare
a3be2931c6
sensors-detect-stat.pl: Handle alternative chip lists.
...
Ultimately this script should be folded into sensors-detect.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4971 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-21 13:58:27 +00:00
Jean Delvare
3d9acfa6f9
sensord: Reload config on SIGHUP rather than automatically.
...
Reloading the configuration on SIGHUP is common for daemons. Reloading
automatically is less efficient and can be confusing or even racy.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4969 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-20 14:05:35 +00:00
Jean Delvare
4db0a3284c
Recommend the fschmd driver for FSC Scylla chips even on old 2.6 kernels.
...
There's no fscscy driver for Linux 2.6, so users would have to either
upgrade to a newer 2.6 kernel (and use fschmd) or backport the fschmd
driver. In either case they will use the fschmd driver, not fscscy.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4968 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-20 08:47:54 +00:00
Jean Delvare
40706a7157
Rename fsc-specific chip arrays to something clearer.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4965 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-20 08:36:05 +00:00
Jean Delvare
eec91d37b3
Fix SMSC LPC47B357/M967 detection. Patch from Juerg Haefliger.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4962 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-19 21:41:44 +00:00
Hans de Goede
e73a2f5b72
Only use fschmd driver for kernels >= 2.6.24
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4961 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-19 13:29:56 +00:00
Hans de Goede
180ebb1d95
Update sensors-detect for new fschmd driver
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4958 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-19 09:43:31 +00:00
Jean Delvare
bf2524aeae
Drop extra slash.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4944 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-13 18:42:16 +00:00
Jean Delvare
96647a6995
The ADM1024 will be supported by the lm87 driver in Linux 2.6.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4930 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-09 11:32:39 +00:00
Rudolf Marek
f387f95bae
Add detection of AMD K10 CPU sensor.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4925 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-07 18:31:16 +00:00
Jean Delvare
ff46494457
sensord manual page update.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4919 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-07 07:32:21 +00:00
Jean Delvare
3a87a433fd
Drop the configuration file search path mechanism from sensord. It's
...
confusing and useless. We dropped it from sensors years ago.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4918 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-07 07:23:32 +00:00
Jean Delvare
878333508c
List some more Winbond chips which can be detected with the same IDs.
...
Patch by Uwe Hermann.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4917 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-05 17:12:14 +00:00
Jean Delvare
cb5a94578d
Chip-specific code is gone.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4914 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-01 17:05:34 +00:00
Jean Delvare
618a41d13e
Fix SMSC SCH311x detection. The logical device number was missing.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4913 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-01 17:04:41 +00:00
Jean Delvare
e012d14d95
sensors: Better handling of the fault flags.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4910 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-30 17:56:19 +00:00
Jean Delvare
647b47cb6a
Add my copyright everywhere it is missing.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4902 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-29 19:18:15 +00:00
Jean Delvare
46d3a180cd
Discard a paranoid test in outb().
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4901 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-29 19:11:31 +00:00
Jean Delvare
855b1aa6ef
The lm-sensors team has no legal existence and thus can't hold a copyright.
...
I tried to assign the copyright back to the original author where possible.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4900 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-29 19:08:30 +00:00
Jean Delvare
fa1f1aef32
sensors: Make error messages more helpful and consistent.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4898 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-29 18:11:38 +00:00
Jean Delvare
a269604853
sensors: Print error messages to stderr.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4897 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-29 14:31:07 +00:00
Jean Delvare
19b4cf5e37
Fix spurious critical temperature alarm.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4892 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-26 21:28:04 +00:00
Jean Delvare
43e4f551b7
Log the error code on failure, to make it easier to investigate
...
problems.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4888 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-26 17:15:13 +00:00
Jean Delvare
ab36c5b0f8
Delete unused SENSORS_ERR_ACCESS.
...
Rename SENSORS_ERR_PROC to the more neutral SENSORS_ERR_KERNEL.
Introduce SENSORS_ERR_NO_DEVS for finer-grained error reporting.
Use SENSORS_ERR_KERNEL and SENSORS_ERR_NO_DEVS where appropriate.
No error message for invalid error codes.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4854 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-23 13:53:11 +00:00
Jean Delvare
4b6f9ee727
Better error message if configuration file can't be loaded.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4853 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-23 13:48:52 +00:00
Jean Delvare
c390c9e29f
Hide warnings about unused parameters.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4849 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-23 12:47:27 +00:00
Jean Delvare
9698d82fd3
Rename sensors_get_label_size() to get_label_size() for consistency.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4847 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-23 12:33:12 +00:00
Jean Delvare
e01466d993
New public library function: sensors_get_subfeature(). Applications can
...
use it to retrieve a specific subfeature by type. While it is slighly
less efficient than looping over sensors_get_all_subfeatures(), it
often makes the application code much more elegant.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4846 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-23 12:30:28 +00:00
Jean Delvare
da7b4e48da
Introduce a separate type for main features. Make subfeatures map to
...
the real main feature rather than the first subfeature.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4838 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-23 12:16:50 +00:00
Jean Delvare
65f1d1f1cd
Rename subfeature types from *_FEATURE_* to *_SUBFEATURE_*, to better
...
reflect what they represent.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4837 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-23 12:12:19 +00:00