Commit Graph
100 Commits
Author SHA1 Message Date
Jean Delvare bb5da5b8a8 Ignore fan invert configuration bits.
Do not depend on "new data ready" bit for fan speed update.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2492 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-29 21:34:39 +00:00
Jean Delvare dbc993ac93 Default configuration section for LM85-like chips.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2491 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-29 19:53:27 +00:00
Jean Delvare 4d095e0921 New manual page for isaset.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2490 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-29 17:43:50 +00:00
Jean Delvare 62b7916019 Add missing include.
Discard unused hexchar function.
        Massive reindent.
        Rework the command line parameters handling.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2489 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-29 17:24:45 +00:00
Jean Delvare acbe389aa9 Use the correct alarm bits for pc87366 temperatures and voltages.
Refactor pc87366 temperatures and voltages code.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2487 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-28 18:10:47 +00:00
Jean Delvare 352fb41c68 Fix fan configuration being read from the wrong registers.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2486 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-28 18:07:52 +00:00
Jean Delvare 084a788bc6 Mask voltage and temperature alarm registers.
Fix temp status sysctl values.
        Clear fan alarms after we read them.
        Do not read invalid or old fan values.
        Do not read voltage and temperature alarms on fan-only chips.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2485 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-27 18:56:06 +00:00
Jean Delvare 23eed72eb1 Fix pc87366 temp alarms.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2484 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-27 18:24:29 +00:00
Jean Delvare eb13a07e48 Be concurrent-access safe (i.e. ensure than no bank change occurs
in our back).
        Fix compilation without DEBUG.
        Do not read in and temp alarms more than needed.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2481 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-26 17:53:43 +00:00
Jean Delvare cc405777c3 Misc fixes.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2480 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-26 17:01:24 +00:00
Jean Delvare f33169d5cd Retrieve fans configuration from Super-I/O space; export
pwm_enable (read-only); handle fan invert.
        Fix temp_crit being read from temp_min register.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2479 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-26 16:58:52 +00:00
Jean Delvare 80968de0a9 Fix setting voltage limits. This got broken by my previous
fix of inaccurate voltage roundings.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2478 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-25 19:43:54 +00:00
Jean Delvare f5a0f7d493 Add some debug output.
Show more status bits (voltages and temperatures).
        Fix incorrect use of const.
        Clear status bits on update.
        Fix temperature reads (min, crit and current).
        Fix temperature writes (min).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2477 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-25 15:23:32 +00:00
Jean Delvare 0738cd0915 Document the new flat address options.
Add a few notes.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2476 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-25 13:30:21 +00:00
Jean Delvare ad91c909d8 Add bank support to flat address space mode.
Default to bank register 0x07 for Super-I/O chips.
        Move default bank register selection to a separate function.
        Move setting/restoring bank to a separate function.
        Allow dumping of shorter ranges (flat address space mode).
        Limit I2C-like dumps to addresses up to 0x3fff.
        Print expected ranges on range errors.

        This should allow us to work with the PC87360 family of chips.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2475 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-25 13:26:45 +00:00
Jean Delvare 44014e8b70 Correctly handle the case where some of the logical devices are
disabled.
        Add KERN constants to printks.
        Reindent.
        Fix error path in detect function.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2474 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-25 06:53:07 +00:00
Jean Delvare 7c8db8e5ff Fix driver not being called by i2c-proc.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2473 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-24 21:29:01 +00:00
Jean Delvare 635b1b06bc Support the LM99 (and LM89).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2471 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-24 08:10:48 +00:00
Jean Delvare 07575dbb7f Update via686a section, new lm99 section.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2470 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-24 08:10:16 +00:00
Jean Delvare b3ccf0787c Improve LM89/LM99 support.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2469 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-23 16:25:56 +00:00
Jean Delvare c142542ae2 Updates.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2468 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-22 20:00:38 +00:00
Jean Delvare 1f40482fd7 Move i2c device opening to a separate function.
Move actual scanning to a separate function.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2467 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-22 19:47:08 +00:00
Jean Delvare 60d0048763 Fix lm80 displaying HOT alarm instead of OS alarm. Caught by
Shawn Starr.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2466 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-22 18:47:48 +00:00
Jean Delvare 783c6a0ed6 Adapt probing method to address. Should prevent any kind of
EEPROM corruption. Previous method (quick writes for every
        address) can be forced with -q. Read bytes can be forced with -r.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2465 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-21 20:58:05 +00:00
Jean Delvare 267b92db0d Do not run depmod on staged installs. Give hints instead.
Patch by Peter Breitenlohner.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2464 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-21 18:44:20 +00:00
Jean Delvare 8fa6d819ce Drop LTC1710 support.
Disable EEPROM write-protection detection by default.
        Use byte reads for probing on ranges 0x30-0x37 and 0x50-0x5F
        (where EEPROMs live). This should efficiently prevent the
        AT24RF08 corruption.
        Rephrase IBM systems warning.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2463 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-20 19:40:02 +00:00
Jean Delvare d832ee135d More detail on how i2cdump can write to a chip.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2462 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-20 19:34:10 +00:00
Jean Delvare 61ecbe0b81 Fix min fan speed.
Update limitations.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2461 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-20 17:55:41 +00:00
Jean Delvare a41a6d70ab Fix fan speed computations.
Fix voltage magnitudes.
        Fix voltage limits order.
        Add voltage limits write support.
        Add temperature limits write support.
        Prevent user from setting limit of nonexistent fan 3.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2460 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-20 17:55:10 +00:00
Jean Delvare d492526cc2 (Axel Thimm) Support 82801BAM and 82801DBM.
Some fixes and cleanups.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2459 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-20 17:42:48 +00:00
Jean Delvare 48e0e22aea Fix voltage roundings.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2458 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-20 17:12:55 +00:00
Jean Delvare 621de3361a Misc fixes to lm80 default configuration.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2457 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-20 16:52:57 +00:00
Jean Delvare f32d63565a Support ALi 1563 bus (Linux 2.6 only).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2455 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-19 19:53:23 +00:00
Jean Delvare e9d2d1aa95 Bump version.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2454 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-19 19:47:46 +00:00
Jean Delvare db71a2a1a4 Support voltages and temperatures of National Semiconductor
PC87365 and PC87366 (read-only).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2453 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-19 19:46:14 +00:00
Jean Delvare 0c01cd9544 Stop being Winbond-specific about banks: don't mask high bit.
Allow forcing of bank 0. Restore bank after dump.
        This allows proper operation on Super-I/O chips.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2452 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-19 18:02:10 +00:00
Jean Delvare 55bd48127c Comment on Asus A7V8X-X VCore.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2446 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-17 18:16:08 +00:00
Jean Delvare 239b3d0344 Backport memory allocation reworking from Linux 2.6.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2445 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-17 17:20:01 +00:00
Jean Delvare 05565e7913 Update.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2443 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-17 06:46:05 +00:00
Jean Delvare 1712183b84 Add comments about BP6 voltages.
Patch by Aurelien Jarno.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2442 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-16 21:07:03 +00:00
Jean Delvare 24384fff35 Enable the i2c-nforce2 module in mkpatch.
Patch by Aurelien Jarno.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2441 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-16 20:56:53 +00:00
Jean Delvare c7a33c464f Support MAX6633, MAX6634, MAX6635 and LM76.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2440 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-14 18:29:24 +00:00
Jean Delvare 8756685f86 Detect LM92, LM76, MAX6633, MAX6634, MAX6635.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2439 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-14 17:21:26 +00:00
Jean Delvare 4a6fb11424 Scan all logical devices of PC87365/PC87366.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2438 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-13 18:07:46 +00:00
Jean Delvare ff48783182 Use kernel's swab16 instead of our own function.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2437 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-13 17:52:59 +00:00
Jean Delvare 26aefc15ba Trivial comment fix.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2436 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-12 11:27:00 +00:00
Jean Delvare 2af0c943fc Update 4.27 (Can't get xxxxx data).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2435 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-11 07:52:23 +00:00
Jean Delvare 81db694b66 Fix i2c address range.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2434 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-10 17:25:55 +00:00
Jean Delvare 731d350aeb Explicitely support the ADM1028.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2433 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-10 17:24:46 +00:00
Jean Delvare 368979f60a Add support of Analog Devices ADT7461 and ADT7467.
Improve support of Analog Devices ADM1027/ADT7460/ADT7463.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2432 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-10 16:45:48 +00:00
Jean Delvare 342b8a2c04 Return error values in detect.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2431 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-10 14:09:50 +00:00
Jean Delvare 2104a15719 Update.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2430 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-10 05:57:50 +00:00
Jean Delvare 2901509e24 Correctly set the chip name depending on the type.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2429 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-09 18:57:41 +00:00
Jean Delvare bcfb34bcb7 Drop PWM support for as99127f. Update AS99127F docs.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2428 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-09 18:50:43 +00:00
Jean Delvare 2cdac4e54a The pc87360 driver now support the PC87365 and PC87366 as well,
and can write to registers. Untested.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2427 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-09 18:41:30 +00:00
Jean Delvare 4c32b1a881 Fix hyst temp for 2.6 lm75, lm78 and gl518sm. Shame on me.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2426 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-09 17:19:10 +00:00
Jean Delvare c0deaa79c2 Additional configuration info for Epox motheboards (w83697hf).
Thanks to Thomas Schorpp for feedback. Closes ticket #1635.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2425 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-08 19:50:40 +00:00
Jean Delvare 2652853d44 Patch dmi_scan.c in kernel instead of adding our own module.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2424 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-07 20:18:08 +00:00
Jean Delvare af741a7b4d Move IBM detection into dmi_scan.c.
Delete dmi_scan.h, now useless.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2423 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-07 18:36:19 +00:00
Jean Delvare 89749d347b Premliminarily support PC87365 and PC87366.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2422 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-07 18:32:18 +00:00
Jean Delvare 478a83d656 Revert bogus assumption that magnitude of sysfs files can only be
0 or 3.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2421 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-07 18:03:14 +00:00
Jean Delvare 1a7c4d2eed Also support the PC87365 and PC87366.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2420 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-07 17:59:38 +00:00
Jean Delvare 6589dbb3d2 Rename pc87360-fan driver to pc87360.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2419 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-07 17:30:54 +00:00
Jean Delvare 26d763bb48 Preleminary (read-only) National Semiconductor PC87360, PC87363
and PC87364 fan monitor and controller support.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2418 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-07 17:27:50 +00:00
Jean Delvare d3e51c2084 More efficient Super I/O detection. Should reduce the I/O ports
hammering a lot.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2416 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-06 19:14:45 +00:00
Jean Delvare d5e4af0245 List a few non-sensors Super IO chips.
Use a hash for modules list, for performance.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2414 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-05 19:01:14 +00:00
Jean Delvare 668dd20ac6 Review comments on Super IO chips declaration.
Add two SMSC Super IO chips.
        Support 2.6 /proc/modules (with underscores).
        Fix double input request for /etc/sysconfig creation.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2413 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-05 18:29:27 +00:00
Jean Delvare 092aae7ffe Fix bogus memset (similar to a recent fix to the eeprom driver).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2410 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-04 07:16:30 +00:00
Jean Delvare bc84ffa4a1 Update superio comments.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2409 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-03 18:26:21 +00:00
Jean Delvare 24b124e07e Update.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2408 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-03 15:04:14 +00:00
Jean Delvare 01bf87d950 Refactor Super IO data.
Support Super IO chips at 0x4e.
        Better devfs compatibility.
        Misc cleanups in ISA and Super IO user interaction.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2407 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-03 14:55:45 +00:00
Jean Delvare 4a828818d5 Update status.
Update URI of Joe's site.
        Add link to pwcrack.com.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2406 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-01 17:40:57 +00:00
Jean Delvare 3307085b6b Preleminary (read-only) National Semiconductor PC87360, PC87363
and PC87364 fan monitor and controller support.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2405 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-01 05:48:18 +00:00
Jean Delvare c1d0ddea28 Even stricter MAX1617 and LM84 detection tests.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2404 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-31 19:17:02 +00:00
Jean Delvare 18d6d587cc Preleminary (read-only) National Semiconductor PC87360, PC87363
and PC87364 fan monitor and controller support.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2403 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-31 18:58:05 +00:00
Jean Delvare a46739aa1d Update.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2402 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-29 17:52:06 +00:00
Jean Delvare 32b628a4fa Fix bogus memset. Reported by Ralf Roesch.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2401 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-29 17:25:15 +00:00
Jean Delvare cbc73ddca1 Add a white space before Volt symbol in pcf8591. Reported by
Aurelien Jarno.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2400 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-28 15:28:25 +00:00
Jean Delvare 3955186c10 Update pcf8591 default configuration, make it compliant with 2.6
driver.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2399 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-28 15:27:26 +00:00
Jean Delvare fb5c1fd230 Change pcf8591 magnitude (libsensors only) so as to display
values in pseudo-volts, much like what the 2.6 driver handles.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2398 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-28 13:01:34 +00:00
Jean Delvare 46867ff39c Backport a few fixes from 2.6:
* remove two unused structure members
* remove needless kind checks (only one kind)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2397 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-28 12:00:42 +00:00
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
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
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
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
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