Commit Graph
2437 Commits
Author SHA1 Message Date
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
Mark D. Studebaker 39d1d4dfa5 remove old library versions in make clean
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2472 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-24 17:31:34 +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
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 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
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 f3c310b5ea regenerated with makeinfo 4.7
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2450 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-18 13:46:16 +00:00
Mark D. Studebaker af334e9f99 add manhtml target to generate html man pages for copying to the website
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2449 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-18 03:37:28 +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
Mark D. Studebaker ef2e3e0b1d update eeprom shadow info
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2447 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-18 00:36:56 +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
Mark D. Studebaker 8f4ce259b5 add asb100, w83l785ts
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2444 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-17 15:32:30 +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