2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-30 05:48:07 +00:00

2505 Commits

Author SHA1 Message Date
Jean Delvare
6828de49ec Support 2.6 pcf8591 driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2396 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-28 11:48:58 +00:00
Jean Delvare
835d3937dd Backport misdetection prevention patch from 2.6:
* Use unused bits of two more registers (configuration and conversion
rate) to reduce misdetections.

* Return with -ENODEV if the detection fails.

* Change the order in which we try to identify the chips. We better
finish with the LM84 and the MAX1617, in this order, because they are
harder to identify and are more likely to result in false positives.

* Refine LM84 detection. The LM84 has less features than the other chips
(chip cannot be stopped, conversion rate cannot be set, no low limits)
so it has extra unused bits.

* Do not intialize the chip if it was detected as an LM84. This one
cannot be stopped so why would we try to start it again? And as said
right before, conversion rate isn't changeable either.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2395 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-27 16:12:20 +00:00
Jean Delvare
1022db4ca3 Autodetect if we need to link against libiconv.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2394 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-27 10:30:04 +00:00
Jean Delvare
a1b40ade8b Rework adm1021 and clones detection. Should hopefully prevent more
misdetections.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2393 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-27 09:19:31 +00:00
Mark D. Studebaker
6dd6a90af5 add smart battery manager and charger detection
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2392 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-27 02:50:11 +00:00
Jean Delvare
57d7f9c0ef Do not initialize more bits than needed.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2391 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-25 19:05:40 +00:00
Jean Delvare
652c1790cf Updates.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2390 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-22 20:02:35 +00:00
Jean Delvare
80618f354d Trivial fixes.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2389 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-22 19:55:12 +00:00
Jean Delvare
3d7dcf2574 New manual pages, courtesy of the Debian folks.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2388 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-22 19:53:44 +00:00
Jean Delvare
8028a99ac0 Print the degree symbol in the terminal's current locale. Original
patch by Aurelien Jarno.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2387 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-21 18:57:09 +00:00
Jean Delvare
baee14b641 Drop out-of-date comment about semi-static allocation.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2386 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-21 17:28:36 +00:00
Jean Delvare
416bfd8e68 Fix typo.
Discard it8507-* and it8712-*.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2385 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-21 16:49:41 +00:00
Jean Delvare
fc0c6e324b Rename variables for consistency.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2384 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-21 16:47:43 +00:00
Mark D. Studebaker
0b1c5d4a03 fix broken smart battery detection
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2383 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-21 16:40:46 +00:00
Jean Delvare
67a0c882aa Skip isadump on non-x86 architectures. Patch by Aurelien Jarno.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2382 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-21 13:10:26 +00:00
Jean Delvare
434874ba7d Support it87 in7 and fan3. Patch by Aurelien Jarno.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2381 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-21 10:35:49 +00:00
Jean Delvare
45940855fd Manual pages for dump tools, originally written by David Z Maze
for the Debian distribution. Original patch by Aurelien Jarno.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2380 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-21 10:28:48 +00:00
Jean Delvare
4f511fe713 Drop dead link (Aurelien Jarno).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2379 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-20 18:51:31 +00:00
Jean Delvare
5c8b8dd34b Fix bad include in example (Aurelien Jarno).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2378 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-20 18:41:50 +00:00
Mark D. Studebaker
e1c8fe7676 scan address 0x03 again
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2377 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-20 17:23:31 +00:00
Jean Delvare
7f9a68c529 Big update.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2376 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-20 16:19:58 +00:00
Mark D. Studebaker
d9ab520272 spelling fix
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2375 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-20 16:10:39 +00:00
Jean Delvare
b635c71012 Add 47B27x, remove 47M120, misc fixes.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2374 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-20 11:06:54 +00:00
Jean Delvare
453d6dc1e0 New Perl script, scans sensors-detect and prints statistics.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2373 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-20 10:33:51 +00:00
Jean Delvare
1a4c1fe191 Drop support of undetectable adapters.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2372 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-20 09:29:50 +00:00
Jean Delvare
e3ced8dff4 Do not scan 0x00-0x03 and 0x78-0x7f by default. Can be forced
with -f.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2371 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-20 08:38:20 +00:00
Jean Delvare
eac40915b6 Add pca9540.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2370 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-19 18:25:57 +00:00
Jean Delvare
38eb690928 New driver for the Philips PCA9540.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2369 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-19 18:25:01 +00:00
Jean Delvare
5386f69a14 A few fixes.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2368 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-19 18:23:09 +00:00
Jean Delvare
0fb8b6f04b Add support for the PCA9540.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2367 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-19 18:22:30 +00:00
Jean Delvare
12805aeb7c New driver for the PCA9540 (used on the Gigabyte GA-7DPXDW+).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2366 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-19 18:21:07 +00:00
Jean Delvare
77468b7dfc Add a "white list" of IBM systems.
Limit i2c addresses scanning.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2365 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-19 18:07:01 +00:00
Jean Delvare
36329a0336 Support SMSC 47B27x.
Fix bogus comment.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2364 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-19 17:57:42 +00:00
Jean Delvare
2c157316dc Support the LPC47B27x.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2363 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-19 17:51:52 +00:00
Jean Delvare
50b5b87d23 Backport cleanups from Linux 2.6. Mostly whitespace changes, and
a few simplifications.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2362 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-18 20:49:39 +00:00
Marius Reiner
71ba04019e (mariusr) added FCFANS description
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2361 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-17 19:22:12 +00:00
Jean Delvare
c44b1691cc Check for capabilities before using them. Reported by Aurelien
Jarno.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2360 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-16 19:28:40 +00:00
Jean Delvare
9b65707bd1 Fix man page refering to itself in the SEE ALSO section.
Patch by Aurelien Jarno.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2359 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-15 20:57:21 +00:00
Mark M. Hoffman
dbf8948a78 Added custom detection for some SiS chipsets. This resolves a long-
standing false detection problem.  Other changes in support of this custom
detection:

1) Changed pci_list to a hash, with keys of the form "1039:0016"
2) Added @kernel_version detection and comparison routine (thanks Khali)
3) Removed legacy sub: read_proc_pci


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2358 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-15 04:23:54 +00:00
Jean Delvare
664c5caf86 Remove reference to LM78 in ds1621.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2357 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-14 20:32:44 +00:00
Jean Delvare
e06c39f4b5 Add support for 2.6 ds1621.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2356 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-14 20:15:05 +00:00
Jean Delvare
085c52d0ae --rrd-cgi used instead of --rrd-file in an example.
Patch by Aurelien Jarno.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2355 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-14 19:15:55 +00:00
Mark M. Hoffman
c4ca60614b Fix pattern match for sis645
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2354 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-14 17:57:15 +00:00
Jean Delvare
dc8835e31f Add ALi M5879 detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2353 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-13 18:29:26 +00:00
Jean Delvare
83bf546473 Define min_t if needed (ticket #1504).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2352 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-13 09:24:54 +00:00
Jean Delvare
d3d6231f3c Suggest that default answers are good.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2351 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-09 22:08:32 +00:00
Jean Delvare
28604730b3 Installation guides.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2350 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-09 22:01:41 +00:00
Jean Delvare
da21eeb652 Add ID in case i2c-id.h doesn't have it.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2349 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-09 20:39:15 +00:00
Jean Delvare
76b73da4f1 Add WMgtemp and WMtemp.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2348 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-09 20:33:57 +00:00
Jean Delvare
1a5df45d8b Add MAX6900 detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2347 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-08 20:49:08 +00:00