Commit Graph
2343 Commits
Author SHA1 Message Date
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
Jean Delvare 3957bad83f Prevent null pointer dereference. Reported by Tim Toohey.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2346 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-08 18:03:42 +00:00
Mark M. Hoffman 71a96916d5 Patch by Philipp Thomas <pth@suse.de>:
> Current gcc versions warn when type punning is used, as this breaks the
> strict aliasing analysis gcc 3.3 does by default. When checking the causes
> for these warnings I discovered that sensors_malloc_array,
> sensors_free_array, sensors_add_array_el and sensors_add_array_els in
> lib/general.c all take a 'void **' for the list. This is plain wrong as
> the C standard only allow 'char *' and 'void *' to alias any other type, so
> if these functions should take a generic pointer, it *must* be a 'void *'
> that's internally cast to a 'void **'.
>
> The attached patch does this and adapts all places where these functions are
> called. Note that when done correctly, no cast what-so-ever in the calling
> code is needed.
>
> The patch is against current lm_sensors2 cvs version.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2345 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-08 04:39:50 +00:00
Mark D. Studebaker e1c3e50aac correctly install shared lib 755
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2344 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-07 16:43:49 +00:00
Jean Delvare b7706a11a1 Bump lib version.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2343 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-07 15:06:03 +00:00
Jean Delvare b0bcb2990c Switch to new sysfs naming standard.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2342 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-07 07:30:27 +00:00
Mark D. Studebaker 36c7305e78 use /sys/class/i2c-dev/i2c-x/name file if available;
solves problem with drivers that have multiple busses;
      requires Greg's patch (for kernel 2.6.5?)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2341 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-06 20:27:41 +00:00
Philip Edelbrock 3a0255d125 (Phil) Tag and release 2.8.5
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2339 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-05 23:16:09 +00:00
Mark D. Studebaker 2edf79f350 don't print device ID if 0
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2338 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-05 04:31:10 +00:00
Mark D. Studebaker a8b840a15c updates
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2337 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-05 04:25:11 +00:00
Mark D. Studebaker 96d4fcced7 #ifndef driverid
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2336 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-05 04:23:35 +00:00
Mark D. Studebaker 731ecf3db3 remove root uid/gid from install in Makefiles
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2335 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-05 04:16:00 +00:00
Mark D. Studebaker a30f070533 correct driver ID
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2334 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-05 04:13:39 +00:00