Commit Graph
5301 Commits
Author SHA1 Message Date
Jean Delvare 918279c5e9 Add National Semiconductor LM64 detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5213 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-04-27 07:07:01 +00:00
Jean Delvare 63d80257aa Add preliminary support for the Asus F8000. It is not yet known whether
this chip has hardware monitoring features or not (I guess not.)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5212 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-04-27 06:48:10 +00:00
Jean Delvare 7980b684e8 Add preliminary support for the Asus F8000. It is not yet known whether
this chip has hardware monitoring features or not (I guess not.)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5211 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-04-27 06:42:30 +00:00
Jean Delvare 6364733ff5 Add SMSC SCH5127 detection. Patch from Juerg Haefliger.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5192 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-04-18 10:08:33 +00:00
Jean Delvare 52029527f8 Add SMSC SCH5127 detection. Patch from Juerg Haefliger.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5191 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-04-18 10:05:49 +00:00
Jean Delvare 5df24a2fc5 Update the FSF address.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5190 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-04-17 11:41:05 +00:00
Jean Delvare ac0180cc78 Delete the FAQ. It is now maintained on the wiki:
http://www.lm-sensors.org/wiki/FAQ/


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5189 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-04-17 11:39:07 +00:00
Jean Delvare ed414d26a0 Fix stray references to cvs.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5188 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-04-17 11:18:18 +00:00
Jean Delvare 51f20e2b2f Fix stray reference to cvs.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5187 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-04-17 11:08:34 +00:00
Jean Delvare 95493528ab Minor readability adjustments.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5186 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-04-17 11:01:21 +00:00
Darrick J. Wong f4e4fcd8c1 Subject: [PATCH 3/3 v3]: sensors: Automatically scale energy/power units
Automatically scale energy and power values when printing them in cooked
mode.  Fixed all the warnings and warts that were brought up by Jean in
the previous thread.

Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>



git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5185 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-04-17 01:30:37 +00:00
Darrick J. Wong 4c93dffd4f Subject: [PATCH 3/4 v2] sensors: Print energy and power meters
Display power and energy meters in sensors.

Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>



git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5184 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-04-17 01:28:51 +00:00
Darrick J. Wong bb840c486c Subject: [PATCH 1/3 v3] libsensors: Support energy and power meters
Add power and sensor meters to libsensors, with minor tweaks and
documentation updates as suggested by Jean Delvare.

Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>



git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5183 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-04-17 01:27:22 +00:00
Jean Delvare bcabe00237 Arbitrary version bump.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5182 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-04-16 18:35:46 +00:00
Jean Delvare 5db0d2003f Drop obsolete comment.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5181 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-04-16 18:22:12 +00:00
Jean Delvare 17e7247f28 pwmconfig: Don't start if fancontrol is running.
fancontrol: Don't start if already running, delete fancontrol.pid at
exit time.
This closes ticket #2299.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5180 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-04-16 14:29:01 +00:00
Jean Delvare be4ea8ac3e Don't create the configuration file before it's needed.
Don't preserve configuration file customizations.
Fix permissions of the configuration file.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5179 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-04-16 11:18:36 +00:00
Jean Delvare a16f065eee Add libsensors-API.txt to the checklist.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5178 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-04-14 15:32:35 +00:00
Jean Delvare fdd8139afc Trivial alignment fix.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5177 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-04-14 15:29:49 +00:00
Jean Delvare 39b96fa477 Add support for virtual hwmon devices. This closes Red Hat bug #437637
and ticket #2305.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5176 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-04-14 15:27:59 +00:00
Jean Delvare c84fd9820e We start at the end of the chip list, going backwards, and we want the
late compute statements to override the early ones (as documented in the
sensors.conf manual page), so we must stop as soon as any match is found.

This fixes Debian bug #474596:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=474596


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5175 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-04-11 20:41:31 +00:00
Darrick J. Wong 7566fa5b1c Subject: [PATCH 1/4] libsensors: Detect OpenFirmware hwmon devices
On a QS22 blade, the BMC containing the (ibmpex) power meters is enumerated
via Open Firmware.  Check for "of_platform" to handle this case.

Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5174 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-04-10 23:24:57 +00:00
Jean Delvare 4293c939a7 Fix typo.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5171 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-04-08 15:07:31 +00:00
Jean Delvare f4126c0731 Fix typo.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5170 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-04-08 15:06:19 +00:00
Jean Delvare 399410079f The configuration file is currently parsed in the locale set by the main
program using the library. This means that if the decimal separator
(defined in LC_NUMERIC) is not '.' the values in the compute lines are
truncated. This happens for example with sensors-applet and a French
locale.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=469333

Parsing the configuration file in C locale fixes the problem.
Original patch from Aurelien Jarno.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5169 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-04-08 14:50:13 +00:00
Jean Delvare f2e518511d Patch from Aurelien Jarno:
I have just noticed that the FSF address is the old one in all files
except COPYING. Please find a patch below to fix that.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5163 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-03-26 13:37:12 +00:00
Jean Delvare d636ad5775 Drop broken I2C block read support.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5148 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-03-16 18:04:20 +00:00
Jean Delvare 46c0ae46d7 Don't choke on unrecognized devices, part 2. In case hwmon devices have
no underlying physical device, just ignore them. This happened in kernel
2.6.25-rc5-git4 with the newly added generic thermal zone device.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5147 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-03-16 17:30:20 +00:00
Jean Delvare 10c689aac4 Drop unused defines.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5146 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-03-16 17:10:10 +00:00
Hans de Goede e4870c50f9 The platform case
acts as a fallback solution so it must be last in the list.

git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5145 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-03-16 12:51:18 +00:00
Hans de Goede afed959df6 modify initscript to have lsb compliant return values
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5144 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-03-12 20:50:34 +00:00
Hans de Goede d155421542 Modify initscript chkconfig comments to not make the service start by default, modify sensors-detect to enable the service on boot once configured and to start it at the end of sensors-detect
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5143 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-03-12 20:50:19 +00:00
Hans de Goede 5bb9e56109 modify initscript to have lsb compliant return values
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5142 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-03-12 20:49:40 +00:00
Hans de Goede 7c472a4a1e Modify initscript chkconfig comments to not make the service start by default, modify sensors-detect to enable the service on boot once configured and to start it at the end of sensors-detect
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5141 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-03-12 20:48:54 +00:00
Jean Delvare 2940a23f22 New device ID for the SMSC SCH5317.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5139 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-03-09 19:15:34 +00:00
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