Jean Delvare
963ca0992c
Fix device->driver lookup name. What we are really interested in is the
...
name of the kernel module, not the name of the driver. This went unnoticed
so far because almost all hwmon drivers have a driver name equal to the
module name.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5404 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-23 15:16:45 +00:00
Rudolf Marek
973789e9e6
Fix the CHIPID for W83627DHG.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5403 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-23 14:27:22 +00:00
Jean Delvare
a0ddf07aad
Handle special case chips more efficiently. Instead of listing every
...
chip twice with just the driver field differing, we put the chip entry
in the main list directly and resolve the driver field at run-time.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5402 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-22 18:04:50 +00:00
Jean Delvare
5cd00e8a72
Merge all FSC detection functions into a single function.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5401 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-22 17:28:30 +00:00
Jean Delvare
f70ea56585
Merge LM87 and ADM1024 detection in a single function.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5400 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-22 16:05:13 +00:00
Jean Delvare
4de44481ae
Drop support for Linux 2.4.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5399 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-22 15:52:52 +00:00
Jean Delvare
a048d7a22a
We now have a driver for the ADT7473.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5397 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-21 20:26:43 +00:00
Jean Delvare
992ab93b71
Fix detection of SMSC LPC47M292. Add detection of SMSC LPC47M233.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5395 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-21 08:52:40 +00:00
Jean Delvare
f62a62abaa
Drop old comments.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5387 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-18 12:23:00 +00:00
Jean Delvare
1533724750
Missing comma in comment.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5385 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-18 12:19:40 +00:00
Jean Delvare
7dc02997d0
Fix detection of ADT7462.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5383 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-11-17 21:35:50 +00:00
Jean Delvare
2bf52892a9
The PC8374L looks like an LM96000 on the SMBus.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5380 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-10-30 12:33:05 +00:00
Jean Delvare
7aa5cb5871
Fix detection of Intel 5000 series FB-DIMM AMB.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5366 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-10-22 12:50:32 +00:00
Jean Delvare
fb5bbd86f1
Add VIA VX800/VX820 detection.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5360 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-10-14 16:40:08 +00:00
Jean Delvare
e4df67dd27
Map IT8720F to it87 driver.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5358 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-10-08 06:32:53 +00:00
Jean Delvare
00193652cd
Fix detection of ADT7463 and LM96000.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5352 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-10-02 11:42:47 +00:00
Jean Delvare
f1c80ef5aa
Add MAX1618 detection.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5337 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-19 15:05:28 +00:00
Jean Delvare
8827e4bac6
W83627DHG has no subclients.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5332 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-10 07:24:46 +00:00
Jean Delvare
6cf8b4be86
Prevent misdetection of W83627DHG (and more generally, Winbond chips)
...
on I2C as LM78.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5331 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-10 07:22:06 +00:00
Jean Delvare
fa119667ec
Fix typo.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5315 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-08-20 18:03:52 +00:00
Jean Delvare
eedc452efa
An updated TMP411 datasheet actually shows that this chip has different
...
device IDs than the TMP401.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5314 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-08-20 18:02:22 +00:00
Jean Delvare
6068029628
The TI TMP411 has the same device ID as the TMP401.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5312 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-08-20 11:27:43 +00:00
Jean Delvare
4e1862cfa7
The Maxim MAX6646, MAX6647 and MAX6649 will be supported by the lm90
...
driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5310 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-08-19 15:33:44 +00:00
Jean Delvare
790bd11ca3
Add ITE IT8720 detection. No datasheet available yet.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5308 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-08-09 12:52:05 +00:00
Jean Delvare
744a5d0178
Add detection of VIA VT1212 and SMSC EMC2700LPC Super IOs.
...
Patch from Juerg Haefliger.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5303 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-07-14 18:25:46 +00:00
Jean Delvare
a03f51bbcb
Add Maxim MAX6646, MAX6647 and MAX6649 detection.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5300 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-07-07 11:21:15 +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
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
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
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
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
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
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
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
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
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
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