Commit Graph
3924 Commits
Author SHA1 Message Date
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
Mark D. Studebaker 7b6c302155 increase max SDRs
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2333 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-05 04:10:55 +00:00
Jean Delvare 2d4cc0bd4c Updates.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2332 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-03 22:45:13 +00:00
Jean Delvare f5f14fb585 Fix 47B27x device ID.
Do not hardcode ports in exit_superio().


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2331 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-03 20:19:10 +00:00
Jean Delvare 476217a3b3 More Super IO chips. Reworked exit sequences policy.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2330 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-02 21:05:44 +00:00
Jean Delvare b1d14ec032 Enable IT8705 and Nat'l PC87366 Super IO detection.
Use the same escape sequence for all Super IO chips.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2329 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-29 22:14:01 +00:00
Jean Delvare 55903e4677 Remove now useless subclient detection code.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2328 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-29 18:43:53 +00:00
Jean Delvare 8ee9459465 Correctly handle 2.6 subclients. Original patch by Andrey
Borzenkov, much reworked.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2327 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-29 10:25:54 +00:00
Jean Delvare d0091d0dfd as99127f doesn't have in7/8 nor sensor1/2/3.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2326 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-29 09:11:57 +00:00
Jean Delvare 526bfecfe2 Typo.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2325 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-29 08:20:08 +00:00
Mark D. Studebaker e1b94e8571 spelling fixes
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2324 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-28 23:00:22 +00:00
Jean Delvare b769ea66c5 Fix broken superio exit sequence handling.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2323 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-28 22:00:35 +00:00
Jean Delvare e8eeb5f14a Updates.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2322 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-28 18:55:16 +00:00
Jean Delvare dce540bec8 Add support for Shuttle eeproms.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2321 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-28 16:57:34 +00:00
Jean Delvare 1288153498 reset_it87 is now called reset.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2320 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-28 16:41:56 +00:00
Mark D. Studebaker 520da35172 fix comment
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2319 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-28 16:34:08 +00:00
Mark D. Studebaker 705eeb900f remove in6 and temp1 from vt1211 and vt8231
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2318 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-28 16:24:01 +00:00
Jean Delvare 0c16cd1d37 Add xsensors.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2317 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-28 16:00:28 +00:00
Jean Delvare 6b2f1e18bb Backport Takeru Komoriya's changes from Linux 2.6. This fixes
loading it87 with reset=1.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2316 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-28 15:46:46 +00:00
Jean Delvare f0ab72d26c Tell Linux 2.6 users that they may need i2c_sensor.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2315 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-27 19:00:10 +00:00