Commit Graph
4755 Commits
Author SHA1 Message Date
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 8b094633cf sensord: Add lm85 support.
The extra voltage inputs aren't supported yet, we can add them later if
anybody cares.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5068 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-12-10 14:06:13 +00:00
Jean Delvare 67218f03c3 libsensors: No longer depend on libsysfs.
Instead, access sysfs directly, using 3 embedded helper
functions. My motivations for doing this are:
* As far as I know, libsysfs is no longer maintained.
* libsysfs does much more than we need. For example, when asking for a
device attribute list, libsysfs will read the contents and permissions
of all attributes. Not only does this waste CPU cycles per se, but in
the case of hwmon driver it also triggers register reads, which can be
slow for SMBus chips.
* libsysfs enforces the difference between devices and class devices,
while future changes will be easier if we can handle both types alike.



git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5067 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-12-10 13:30:22 +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 687f90a16f 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/trunk@5065 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-12-08 11:16:47 +00:00
Jean Delvare c8f47827ab Warn about outputs found in automatic mode.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5064 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-12-04 10:28:14 +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 a093c97666 Really hide errors on sysfs writes.
Deal gracefully with read-only pwm_enable files.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5062 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-12-04 09:30:15 +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
Jean Delvare 02d870944a Fix broken references, typos, trailing space.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5060 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-12-02 13:42:26 +00:00
Jean Delvare d4c77fa8bb Fix broken reference.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5059 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-12-02 13:41:37 +00:00
Jean Delvare 826310dce1 Fix typos, strip trailing space.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5058 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-12-02 13:38:31 +00:00
Jean Delvare fc28fe7974 Delete sysfs-interface doc, it's redundant with the applications doc.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5057 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-12-02 13:26:22 +00:00
Jean Delvare da141f4699 Update the application writing guidelines:
* The drivers are no longer in this package.
* Drop all references to i2c, these aren't related to sensors per se and
belong elsewhere.
* Random updates, fix broken references, clarify some parts.
* Add references to the relevant manual pages.
* Drop references to freshmeat, they don't really help.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5056 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-12-02 13:25:16 +00:00
Jean Delvare 1e8dab35c9 Fix typos, strip trailing space.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5055 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-12-02 13:12:48 +00:00
Jean Delvare 3433b8d9ed adm1026: Various cleanups.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5054 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-12-01 10:50:40 +00:00
Jean Delvare f16b6923bd Drop outdated URL.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5053 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-12-01 10:42:58 +00:00
Jean Delvare f3363e1a31 sensors: Hide spurious errors on missing adm1026 inputs.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5052 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-12-01 10:41:36 +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 b0d8c041aa Fix the typo, model should be in hex.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5050 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-11-27 11:29:31 +00:00
Rudolf Marek 39f5eecffb Add Intel Celeron 4xx and Intel Core 2 CPUs on 45nm (Penryn) detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5049 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-11-27 11:16:48 +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 f1a894e4e1 No warnings about ld configuration for staged installations, as these
make no sense: we have no idea how the target system will be configured.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5047 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-11-26 13:54:31 +00:00
Jean Delvare 1e9fef2945 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/trunk@5046 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-11-26 13:07:27 +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
Jean Delvare ed57ac9cc8 Create a new version in trac after each release.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5044 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-11-25 10:49:11 +00:00
Jean Delvare 4cdbe1ff23 Create a new version in track after each release.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5043 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-11-25 10:19:08 +00:00
Jean Delvare 53622c0a2e Discard dead e-mail address.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5042 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-11-24 16:58:08 +00:00
Jean Delvare 1a06b71120 Update.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5041 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-11-24 16:47:49 +00:00
Jean Delvare 3614d05e47 Post release update.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5040 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-11-24 14:57:29 +00:00
Jean Delvare 60c451b381 Release 3.0.0.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5038 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-11-24 13:32:18 +00:00
Jean Delvare e5b239ac38 Typo fix.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5037 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-11-24 13:19:08 +00:00
Jean Delvare 3e46333e7c Fix sysfs presence detection. Since sysfsutils 2.0.0, libsysfs will
return success even if sysfs isn't mounted. We have to check by ourselves
if it is mounted or not, so that we can fallback to procfs on Linux 2.4
systems.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5036 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-11-24 10:46:02 +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 c9ef1503a5 Fix MODULE_DIR usage.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5034 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-11-22 20:03:29 +00:00
Jean Delvare 8773c670cf The timestamp is only 18-byte long.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5033 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-11-19 22:28:44 +00:00
Jean Delvare 6e8384e098 More Vaio models tested successfully.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5032 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-11-19 22:28:20 +00:00
Jean Delvare 5403bb0394 The model name is actually the first half of the asset tag.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5031 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-11-19 22:27:47 +00:00
Jean Delvare ae945da77e Private Sony Vaio data might not be readable by non-root users.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5030 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-11-19 22:27:26 +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 986d6b55a2 pwmconfig: Give the fans some time to spin up.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5024 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-11-18 16:13:57 +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 1a795661fb pwmconfig: Better diagnostics in pwmdisable.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5022 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-11-18 15:51:26 +00:00
Jean Delvare 9df95ebdee Recognize VGN as a valid Sony Vaio name prefix. This is a backport from
Linux 2.6.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5021 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-11-16 09:08:44 +00:00
Jean Delvare b5f0bc5e6c eeprom: Drop useless and possibly unsafe debugging log messages.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5020 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-11-16 09:02:12 +00:00
Jean Delvare 7294b74b97 Hide Sony Vaio serial number and UUID to regular users. This is a backport
from Linux 2.6.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5019 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-11-16 08:48:06 +00:00
Jean Delvare 2ae24a97ed Makefile: Revert changeset 4738, fix bug #2187 differently. The original
fix was breaking the build for non-current kernels, or at least making it
more difficult than before.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5018 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-11-12 13:43:50 +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 6b58796daf 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/trunk@5015 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-11-11 21:17:19 +00:00
Jean Delvare e44a81a13a sensors: Hide spurious errors on missing f71872f voltage inputs.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5014 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-11-11 21:10:51 +00:00