Commit Graph
3866 Commits
Author SHA1 Message Date
Philip Edelbrock 682cfda93a Tag and release 2.10.7
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5297 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-07-01 18:28:03 +00:00
Jean Delvare 36c8df21cc Bump version.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5296 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-06-30 08:00:10 +00:00
Jean Delvare ffadc527cf Fallback to simple depmod if System.map can't be found.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5294 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-06-29 22:08:48 +00:00
Jean Delvare 1036c96c71 We have a driver for the Winbond W83L786NR/NG/R/G now.
Closes ticket #2336.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5291 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-06-24 06:40:46 +00:00
Jean Delvare 5215a15ebd Add VIA C7 detection. Patch from Juerg Haefliger.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5289 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-06-24 06:31:27 +00:00
Jean Delvare 253dc9c9d9 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. Also closes ticket #2312.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5286 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-06-19 08:38:44 +00:00
Jean Delvare 38c7268590 Fix adm1021, adm1023 support with 2.6 kernel. This closes ticket #2334.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5285 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-06-19 08:28:25 +00:00
Jean Delvare 4691c5dcf9 lm90: Fix LM86 detection. This closes ticket #2335.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5284 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-06-19 08:21:55 +00:00
Jean Delvare 29a6f09c49 Fix Analog Devices ADT7461 detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5283 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-06-15 08:43:37 +00:00
Jean Delvare 5279cedf9f Fix Andigilog aSC7621 detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5277 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-06-08 10:22:08 +00:00
Jean Delvare 1ca0a25154 Don't use named pipes when we don't need them. Named pipes have been reported
to cause trouble on some systems. This closes ticket #2319.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5272 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-06-02 06:23:51 +00:00
Jean Delvare d110f707cf Display the local temperature of the MAX6657 with one decimal place.
The chip can do it even though the lm90 driver doesn't support it yet.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5265 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-27 17:26:31 +00:00
Jean Delvare 5d0581afcb Coding style fixes.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5263 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-24 06:58:19 +00:00
Jean Delvare b155419611 Mass coding-style cleanups.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5259 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-22 12:00:52 +00:00
Jean Delvare ab3a660f22 Fix functionality flags. Backport from Linux 2.6.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5257 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-19 08:53:02 +00:00
Jean Delvare 9195f25c65 Add lm90, adm1032, lm99, lm86, max6657 and adt7461 support to sensord.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5253 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-13 16:06:16 +00:00
Jean Delvare 52c42c3794 Add Dallas DS1631 detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5250 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-11 21:01:18 +00:00
Jean Delvare 2e9d43f253 Rework all device detection routines which use SMBus read word
transactions in address range 0x40-0x48. Some devices don't like word
transactions, so we now try to do as much of the detection as possible
using byte transactions, and only use word transactions when there is
a good chance that the detection will succeed.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5248 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-11 17:16:27 +00:00
Jean Delvare 81e9cacb79 Try to detect 1-register-only devices, which are designed to be
accessed with SMBus receive byte and SMBus send byte transactions
(i.e. short reads and short writes) and treat SMBus read byte as a
real write followed by a read. The device detection routines would
write random values to the chip with possibly very nasty results for
the hardware. So when we detect such a chip, we skip all probing for
this address.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5247 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-11 17:14:29 +00:00
Jean Delvare edf4152601 Fix the parsing of I2C addresses not to scan.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5244 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-09 18:01:00 +00:00
Jean Delvare f804788da1 Don't probe I2C addresses 0x40-0x47. We only probed them for the MAX6633,
which is a rare chip, and hard to identify anyway. Given that some I2C chips
have been reported to live at 0x47 and to hang the bus when probed, the
benefit just isn't worth the risk.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5234 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-04 16:41:03 +00:00
Jean Delvare e6fbab795c We have a preliminary driver for the Asus F8000.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5233 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-03 13:27:51 +00:00
Jean Delvare d9287bbef5 Add Intel ICH10 support.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5231 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-02 12:48:17 +00:00
Jean Delvare 703d08cf84 Add Intel ICH10 (bus) detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5230 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-02 12:23:31 +00:00
Jean Delvare d77f0bb20c Add Asus F8000 detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5228 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-02 12:13:29 +00:00
Jean Delvare 98552054b7 Drop I2C adapter entries for graphics adapters, and a few other misc
bus entries. I don't think we ever saw a sensor chip on these.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5226 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-02 12:05:31 +00:00
Jean Delvare 348ad0a99d Improve handling of special-case bus driver names:
* Drop support for temporarily disabling I2C bus drivers - we've not
used it for years.
* Handle the other special cases early, so that later code no longer
needs to care.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5225 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-02 12:04:52 +00:00
Jean Delvare 9713a6c953 We now always prefer ISA access over I2C/SMBus access, so we can
simplify the code a bit.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5224 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-02 12:04:30 +00:00
Jean Delvare 50fcd028d0 There's nothing we can do about read errors on the W83L785TS-S, so
don't ask the user to report them (backported from Linux 2.6).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5220 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-02 10:12:30 +00:00
Jean Delvare 6be54c1d09 High-byte first is not opposite to the usual practice - that's what
almost all hardware monitoring drivers do. It is opposite to the SMBus
standard though. Also delete a duplicate comment.
(Backported from Linux 2.6)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5219 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-02 10:10:34 +00:00
Jean Delvare 3a4c2b64d8 Remove some dead code (backported from Linux 2.6).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5218 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-02 10:08:28 +00:00
Jean Delvare 20041cbfe1 Fix an error path. If initialization fails, we want to restore the physical
bus, not delete it again. Backported from Linux 2.6.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5217 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-01 10:53:50 +00:00
Jean Delvare b097de4ba4 Minor cleanups in sis5595_access, backported from Linux 2.6:
* Remove commented-out code.
* Remove a legacy comment.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5216 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-01 10:22:49 +00:00
Jean Delvare 135fa09cb0 Minor cleanups backported from Linux 2.6:
* Remove a needless include.
* Remove a legacy comment in piix4_access.
* Minor optimization in piix4_access.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5215 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-01 10:21:30 +00:00
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 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 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 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 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 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
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