Commit Graph
5316 Commits
Author SHA1 Message Date
Jean Delvare 289f27572f Post-release tagging.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5138 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-03-09 19:14:17 +00:00
Jean Delvare 3495a8c225 Prepare for 2.10.6 release.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5136 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-03-06 20:21:25 +00:00
Mark M. Hoffman 60d8c6b2c0 Bugfix: add carriage return ('\r') to the BLANK character class.
This closes ticket #2284.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5135 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-03-06 13:16:03 +00:00
Jean Delvare 24ee53d80e Use __func__ instead of __FUNCTION__. The former is standard, the latter
is not.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5134 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-03-05 07:44:16 +00:00
Jean Delvare 70829b1594 New device ID for the SMSC SCH5317.
http://lists.lm-sensors.org/pipermail/lm-sensors/2008-February/022645.html


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5133 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-03-02 22:06:43 +00:00
Hans de Goede c91ff9d317 run chip_special_cases() earlier so that the special chips get added to the modules_supported list
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5132 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-02-26 13:52:35 +00:00
Hans de Goede f702bcf551 run chip_special_cases() earlier so that the special chips get added to the modules_supported list
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5131 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-02-26 13:50:33 +00:00
Jean Delvare 9cc993fbab Fix W83783S support. It has been broken for over 4 years.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5130 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-02-24 12:45:37 +00:00
Jean Delvare ff00a57135 Minor string edit.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5129 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-02-21 08:22:40 +00:00
Jean Delvare 5464d9e26e Minor string edit.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5128 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-02-21 08:21:20 +00:00
Jean Delvare 92717f150e Move south bridge sensor detection to the right section.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5127 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-02-20 19:33:56 +00:00
Jean Delvare 7f58258a1d Move south bridge sensor detection to the right section.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5126 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-02-20 19:31:34 +00:00
Jean Delvare 6447132a3e Do not access I/O ports on PPC.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5125 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-02-20 19:06:30 +00:00
Jean Delvare 1dc288af38 Do not access I/O ports on PPC.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5124 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-02-20 19:05:00 +00:00
Jean Delvare ac5487665a According to Tobias Klauser:
"The placement of a storage-class specifier other than at the
beginning of the declaration specifiers in a declaration is an
obsolescent feature."


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5123 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-02-18 09:23:22 +00:00
Jean Delvare a0a1eb9aab w83627hf: Enable VBAT monitoring (#2282, 2.6 backport).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5121 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-02-09 10:01:12 +00:00
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 10f1901765 Add SMSC SCH5027D detection. Patch from Juerg Haefliger.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5117 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-02-03 21:03:07 +00:00
Jean Delvare 2fd9c2d098 Post-release version update.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5116 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-01-29 07:22:47 +00:00
Jean Delvare 3af8a8e6b8 Prepare for release.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5114 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-01-28 17:47:23 +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 8f2142b76e Spelling fix.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5112 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-01-27 14:18:24 +00:00
Jean Delvare 04ae8141b8 MINPWM and MAXPWM may be undefined for a given PWM output.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5111 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-01-27 12:36:28 +00:00
Jean Delvare 191ed0afa6 Fix previous commit.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5110 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-01-22 12:29:06 +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 134aa5bd3f Add Fintek F71858DG and F81216D detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5108 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-01-22 12:22:47 +00:00
Jean Delvare 7ab0e911cc Document the variable overriding mechanism (#2296).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5107 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-01-19 10:20:45 +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 3914365547 Fix duplicate warning message when configuration file is broken.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5103 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-01-09 11:01:44 +00:00
Jean Delvare 8d00528cd3 Detect improperly formatted FCTEMPS value (#2293).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5102 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-01-09 10:59:48 +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 e6c94c66ed 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/branches/lm-sensors-3.0.0@5100 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-01-08 20:10:52 +00:00
Jean Delvare 936c5f66c2 Switch to SVN revision numbering, so that the version is always up-to-date.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5099 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-01-08 19:12:44 +00:00
Jean Delvare 7963e7cf13 Repeat available configuration options before prompt (#2289).
The code isn't very clean but that's the best I could come up with.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5098 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-01-08 19:02:40 +00:00
Jean Delvare 81a7fbdb22 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/branches/lm-sensors-3.0.0@5097 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-01-06 14:14:25 +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 89b2310ff3 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/branches/lm-sensors-3.0.0@5094 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-01-05 16:55:11 +00:00
Jean Delvare 9815a9f31b Add support for drivers that place the hwmon attributes in the hwmon
class device directory rather than directly in the device directory.
The latter is what all drivers do at the moment, but in the long run
the former is preferred as it prevents attribute name collisions.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5093 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-01-05 15:20:13 +00:00
Jean Delvare 5af7917c1f Get the device type from the subsystem symlink, rather than
guessing it from how the device identifier looks like. For kernels
<= 2.6.17, we use the bus symlink instead. For kernels <= 2.6.11,
neither symlink exist so we fallback to the old type guessing
approach. It doesn't really matter as all hwmon devices were
i2c devices back then.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5092 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-01-05 12:31:55 +00:00
Jean Delvare 7a2649483e Fix error path on library initialization error. Only call fclose() if
we have actually opened a configuration file before.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5090 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-01-05 09:14:28 +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 1cf9ea0c54 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/branches/lm-sensors-3.0.0@5084 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-12-19 22:36:13 +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 1b4d863eaa Add support for the 82801AA (ICH).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5082 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-12-19 13:27:40 +00:00