Commit Graph
3810 Commits
Author SHA1 Message Date
Jean Delvare ca3f53c26d lm90: Use generic i2c reads during detection (2.6 backport).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5120 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-02-08 19:10:35 +00:00
Jean Delvare 15d2b1d2a6 gl518sm: Fix fan speed reading (2.6 backport).
gl520sm: Fix fan speed reading (2.6 backport).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5119 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-02-08 10:34:10 +00:00
Jean Delvare 9882a42ede Add SMSC SCH5027D detection. Patch from Juerg Haefliger.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5118 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-02-03 21:05:29 +00:00
Jean Delvare aa3003a157 MINPWM and MAXPWM may be undefined for a given PWM output.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5113 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-01-27 14:22:49 +00:00
Jean Delvare bd3d70249c Add Fintek F71858DG and F81216D detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5109 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-01-22 12:27:54 +00:00
Jean Delvare 17735732b0 Detect improperly formatted FCTEMPS value (#2293).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5106 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-01-10 09:17:47 +00:00
Jean Delvare 8b6882e8d6 Fix lm93 vid2 access (#2295). It got broken by r4745.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5105 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-01-10 08:10:20 +00:00
Jean Delvare 15e150b078 Fix duplicate warning message when configuration file is broken.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5104 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-01-09 11:04:21 +00:00
Jean Delvare c9c18ec489 Bash doesn't do lazy evaluation on test-like expressions, so don't
assume it does (#2292).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5101 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-01-08 20:11:32 +00:00
Jean Delvare eed6e723e8 Lower the confidence value of the MAX6650/MAX6651 from 4 to 3.
These chips are easily misdetected.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5096 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-01-06 14:11:34 +00:00
Jean Delvare 2f96d70c2c Add detection of the SMSC SCH5514 Super-IO. The chip doesn't contain
HW monitoring features. Patch from Juerg Haefliger.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5095 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-01-05 16:57:49 +00:00
Jean Delvare baf6c7143a Don't choke on unrecognized devices (#2087).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5086 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-12-27 15:35:04 +00:00
Jean Delvare 938a627d3e More system integration improvements:
* Call insserv on the lm_sensors service when present.
* No sleep before running sensors -s.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5085 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-12-19 22:39:50 +00:00
Jean Delvare fb2c5a4dd8 Add support for the 82801AA (ICH).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5083 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-12-19 13:29:35 +00:00
Jean Delvare 8ddd513188 Improve sysconfig and modprobe.d integration, based on suggestions by
Gary Funck:
* If we create /etc/sysconfig/lm_sensors, there's no point in printing
  the modprobe commands on the screen.
* Otherwise, suggest /etc/rc.d/rc.local as the init script where to put
  the commands.
* If /etc/modprobe.d exists, create a file there to store the module
  options, rather than printing them on the screen.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5081 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-12-18 13:08:34 +00:00
Jean Delvare a6cb801017 sensors_eval_expr can be made static.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5079 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-12-18 10:12:10 +00:00
Jean Delvare 9e7e404727 Returned error values are supposed to be negative.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5078 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-12-18 10:09:02 +00:00
Jean Delvare 291fd8c00c Return the correct error code on I2C block read failure.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5074 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-12-15 22:35:17 +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 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 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 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 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 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
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 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 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 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
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 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 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 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
Rudolf Marek 32a5d71904 Update IDs (JEP106W). Change 'formerly' to 'former'.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5013 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-11-11 20:41:19 +00:00
Jean Delvare a36a2f7774 decode-dimms: Fix DDR2 SDRAM module speed decoding.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5012 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-11-11 20:25:22 +00:00
Jean Delvare 384f35a691 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/trunk@5010 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-11-09 14:23:07 +00:00
Jean Delvare 6fc1e3251a Mention the f75375s driver. Reported by Christian Emmerich.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5008 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-11-02 10:27:53 +00:00