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
c57566e85b
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/branches/lm-sensors-3.0.0@5290 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-06-24 06:38:33 +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
45c012f52c
Add VIA C7 detection. Patch from Juerg Haefliger.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5288 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-06-24 06:29:19 +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
4a79587695
Fix Analog Devices ADT7461 detection.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5282 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-06-15 08:42:14 +00:00
Jean Delvare
04b9a162b9
Add Texas Instruments THMC51 detection.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5281 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-06-11 14:09:15 +00:00
Jean Delvare
d4358492e7
Lower confidence of the mtp008 detection.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5279 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-06-08 11:27:04 +00:00
Jean Delvare
094b624194
Drop old manufacturer IDs which we have seen only once and/or at a
...
non-standard location.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5278 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-06-08 11:24:10 +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
16d97a6f01
Fix Andigilog aSC7621 detection.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5276 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-06-08 10:19:13 +00:00
Jean Delvare
83c47f9a5e
Merge several alias detection functions.
...
Drop unused parameter of vt1211_alias_detect.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5275 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-06-07 21:14:07 +00:00
Jean Delvare
79fa83d534
Slightly improve alias detection of W83627EHF and W83627DHG.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5274 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-06-07 20:49:30 +00:00
Jean Delvare
e165317220
Drop redundant test in vt1211_alias_detect.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5273 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-06-07 18:32:03 +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
a5f4b32d17
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/branches/lm-sensors-3.0.0@5271 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-06-02 06:21:06 +00:00
Jean Delvare
34881b958e
Add Maxim MAX6654/MAX6690 detection.
...
Add National Semiconductor LM95231 detection.
Add Analog Devices ADT7481 detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5270 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-28 12:36:57 +00:00
Jean Delvare
aa79effd61
Have a common function for LM78-like ISA access, so that we no longer have
...
to define it again each time we need it.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5269 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-28 09:52:16 +00:00
Jean Delvare
1546409b03
Delete two unused functions.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5268 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-28 09:34:46 +00:00
Jean Delvare
ba80846842
More coding style cleanups. This time, most of them are to make function
...
calls look like function calls, but there are also a couple whitespace
fixes and needless parentheses removed.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5267 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-28 09:32:41 +00:00
Jean Delvare
337f390279
Cache the byte data reads. As we keep reading the same registers over
...
and over again in the detection functions, and SMBus can be slow,
caching results in a big performance boost. This closes ticket #2326 .
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5266 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-28 07:26:11 +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
0463566da7
Improve MAX6657, MAX6658, MAX6659 detection.
...
Adjust the confidence value of ADM1032, MAX6680/MAX6681 and TMP401.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5264 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-25 10:07:25 +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
bc735d6619
Coding style fixes.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5262 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-24 06:56:33 +00:00
Jean Delvare
a00447d1ce
Identify the lm85-compatible chips individually. The previous method was
...
vendor-based, so we couldn't tell the user what exact device they had,
and the broad device ID mask could lead to false positives.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5261 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-23 10:22:30 +00:00
Jean Delvare
18ed2e1022
Mass coding-style cleanups.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5260 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-22 12:01:33 +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
c2852cba57
Add Intel SCH (bus) support.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5258 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-21 08:15:48 +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
2a414fdd05
Post-release version update.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5256 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-18 16:54:15 +00:00
Jean Delvare
d53ba9bb1c
Prepare for release.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5254 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-18 16:07:48 +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
aa47fb99e2
Fix support of multiple chip names on the command line. It got broken
...
accidentally during the conversion to the new libsensors API in version
3.0.0. This closes ticket #2321 .
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5252 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-12 11:51:18 +00:00
Jean Delvare
0f2d2724a6
Bugfix: add carriage return ('\r') to the BLANK character class.
...
This closes ticket #2284 .
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5251 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-12 11:44:33 +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
47ed2c0ffd
Add Dallas DS1631 detection.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5249 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-11 20:56:25 +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
ed3571c03a
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/branches/lm-sensors-3.0.0@5246 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-11 17:12:29 +00:00
Jean Delvare
1bd1be771e
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/branches/lm-sensors-3.0.0@5245 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-11 17:04:03 +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
c814dad141
Fix the parsing of I2C addresses not to scan.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5243 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-09 17:59:51 +00:00
Jean Delvare
a4c078b3df
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/branches/lm-sensors-3.0.0@5235 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-05-04 16:43:12 +00:00