Commit Graph
702 Commits
Author SHA1 Message Date
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
Mark D. Studebaker 6f821d2ad8 new isaset program. Warning - lightly tested.
Please test and improve as necessary.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2488 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-28 23:54:09 +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 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 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 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 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 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 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 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
Mark D. Studebaker 379a2143d3 add code authors to man pages
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2456 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-20 01:25:22 +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 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
Mark D. Studebaker 588589924f restore slave addr in eeprom_detect()
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2451 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-18 14:31:21 +00:00
Mark D. Studebaker 49754b948f support detection of eeprom shadows we now know are
software write-protect registers.
      prevent Vaio detection from running more than once.
      update eeprom driver documentation.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2448 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-18 00:38:28 +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 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 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 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 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
Mark M. Hoffman 5f25412789 Add support for SiS655/SiS96x I2C bus.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2417 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-07 01:18:42 +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 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 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 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 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 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 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 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 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
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