Commit Graph
570 Commits
Author SHA1 Message Date
Mark D. Studebaker 82caa7986f add -l option to i2cdetect so 'i2cdetect -l'
can be used as a replacement for 'cat /proc/bus/i2c'


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2100 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-28 04:37:08 +00:00
Mark D. Studebaker 0872117cb9 eeprog program from
Stefano Barbato
	stefano@codesink.org


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2099 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-28 03:07:48 +00:00
Mark D. Studebaker 713f3eddb7 simplification
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2098 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-28 02:27:41 +00:00
Mark D. Studebaker 5bfcb08e18 report i2c-dev bus numbers rather than i2c-adapter numbers,
which may be different.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2097 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-27 23:53:10 +00:00
Mark D. Studebaker bd947e0fe5 add 'c' mode for consecutive address byte reads
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2095 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-26 03:45:18 +00:00
Jean Delvare 576aeb20d9 Fix broken strerror call.
Fix several memory leaks.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2089 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-23 21:24:07 +00:00
Mark D. Studebaker 1ec05114f4 cleanups
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2086 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-22 22:27:19 +00:00
Jean Delvare e90563ba2f Prevent LM80 misdetections.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2084 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-21 23:12:04 +00:00
Jean Delvare b1c4ef69cf Remove ddcmon support. Was broken, and what's the point in
monitoring constant values anyway?


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2082 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-21 20:19:08 +00:00
Mark D. Studebaker 5cef938a0e remove isaset accidentally added in
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2079 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-21 04:05:48 +00:00
Mark M. Hoffman 849d140dbb Fixed minor typo in table-driven do_a_print() that was preventing
auto-printing of unknown chips.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2073 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-18 04:46:54 +00:00
Mark D. Studebaker 27cc3b8bf1 don't write to subclients
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2067 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-17 14:22:59 +00:00
Mark D. Studebaker 4f3ded5af9 use common function to print out available i2c busses;
add sysfs support to that function


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2065 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-17 03:04:09 +00:00
Mark D. Studebaker e46771300d skip i2c subclients not hidden by sysfs
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2064 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-16 21:09:54 +00:00
Mark D. Studebaker 08e2eda9ff update error message to include sysfs info
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2062 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-16 20:17:30 +00:00
Mark D. Studebaker 3a25956e5c make do_a_print() table-driven
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2057 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-16 01:22:51 +00:00
Mark D. Studebaker b1741b5366 add sensor type selection in /proc for it87
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2053 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-12 01:36:12 +00:00
Jean Delvare 3a0da75647 Add VPD method to detect IBM systems. In the long term, the other
methods (DMI and ACPI) are expected to become unnecessary.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2052 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-11 22:08:07 +00:00
Mark D. Studebaker bdebe88c28 handle multiple fans controlled by a single PWM
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2048 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-09 02:32:08 +00:00
Mark D. Studebaker d0497c3452 detect W83637HF and W83697UF (no drivers yet)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2047 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-09 02:19:35 +00:00
Jean Delvare 3c8f76f8b5 Add support for ADM1029, ADM1030 and ADM1031.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2044 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-08 11:13:46 +00:00
Jean Delvare 3b0f10d9e1 Mention the SuSE-specific init script.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2042 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-04 20:23:05 +00:00
Jean Delvare 6a66b636f9 Init script for SuSE Linux. Contributed by Marc Rieffel.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2041 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-04 20:20:44 +00:00
Jean Delvare 0fd659dfcb Improve lm90 print.
Normalize temperature print (general).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2040 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-03 19:29:20 +00:00
Jean Delvare 9413c3153f Add support for the ADM1032.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2039 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-02 19:37:45 +00:00
Jean Delvare e574d476b5 Fix W83791D detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2034 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-10-28 19:17:04 +00:00
Mark D. Studebaker d1c97266db remove burntest
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2030 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-10-28 01:41:47 +00:00
Jean Delvare f67324f3be New FSC Hermes chip driver, contributed by Reinhard Nissl
<rnissl@gmx.de>.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2029 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-10-27 21:14:26 +00:00
Mark D. Studebaker 39faf50b41 add support for CSB6 based on confirmation in ticket #1424
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2027 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-10-27 03:03:47 +00:00
Mark D. Studebaker 9728b298e3 add more programs installed in /usr/local/sbin
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2026 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-10-27 01:26:44 +00:00
Jean Delvare 8b82c4d22d Fix W83627HF detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2025 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-10-25 18:53:48 +00:00
Mark M. Hoffman 3f9fc00906 Fix for w83627thf - should show all of its features now.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2023 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-10-23 04:39:52 +00:00
Jean Delvare 75b6d048e7 Raise superio confidence value from 8 to 9.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2021 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-10-22 18:42:44 +00:00
Jean Delvare b1fe3439d3 Removed detection of PCF* chips. They are not sensors and not
detectable, so they generated more noise that anything else.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2019 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-10-15 17:46:46 +00:00
Jean Delvare 228a83efb5 More LM75 misdetection prevention.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2018 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-10-13 20:09:52 +00:00
Jean Delvare 8e802a7085 Enhance MAX1617, LM84 and LM75 detection in order to reduce
misdetections.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2015 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-10-11 13:35:01 +00:00
Jean Delvare 7e659d760f Extra checks to prevent misdetection of MAX1617 and LM84.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2013 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-10-10 20:57:40 +00:00
Marius Reiner 6765e3fc46 (marius) comments
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2007 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-09-28 20:02:36 +00:00
Jean Delvare 51817d862a Add FSC Hermes detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2002 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-09-27 08:19:20 +00:00
Jean Delvare 64418721e3 Fix a bug in MAX6650 support.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2001 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-09-26 21:08:57 +00:00
Jean Delvare dc953405ce Fix the case where different chips using the same driver, when
detected at the same address, cause the driver to be told to
        ignore this address. Untested.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2000 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-09-26 21:07:16 +00:00
Mark D. Studebaker 833a8615ba add detection for smsc 47m14x
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1994 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-09-13 21:05:52 +00:00
Jean Delvare 2b503c995c Improve ADM1032 detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1991 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-09-08 17:38:23 +00:00
Mark D. Studebaker 633df4cb0b add separate 627thf support
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1988 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-31 21:39:15 +00:00
John Morris 45576fb3fd (jrm): New driver and other support for the Maxim MAX6650 and MAX6651 chips.
Mainly targetted (and tested) with the 6651, but should work with
       the MAX6550.

       See doc/chips/max6650 for notes, bugs, assumptions, etc.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1987 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-31 20:45:12 +00:00
Jean Delvare da334c10bc Tell people to contact us for to-be-written drivers.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1982 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-30 20:58:02 +00:00
Jean Delvare dfd8c9035c Add detection for LM90 clones (ADM1032, MAX6657, MAX6658).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1981 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-30 20:53:29 +00:00
Mark D. Studebaker 103344795a add xeontemp driver
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1978 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-25 00:11:02 +00:00
Mark D. Studebaker b1f28efcd3 Fix SMP compilation.
Re: Intel 82801DA ICH4

    * To: "Alexander Pohl" <alexander.pohl@xxxxxxxxxxxx>
    * Subject: Re: Intel 82801DA ICH4
    * From: Jean Delvare <khali@xxxxxxxxxxxx>
    * Date: Tue, 22 Jul 2003 23:42:06 +0200
    * Cc: sensors@xxxxxxxxxxxxxxxxxxxx
    * In-reply-to: <32787.62.246.185.231.1058905435.squirrel@mailbox.TU-Berlin.DE>
    * References: <32803.62.246.166.13.1058892758.squirrel@mailbox.TU-Berlin.DE><20030722191127.7b077828.khali@linux-fr.org><32787.62.246.185.231.1058905435.squirrel@mailbox.TU-Berlin.DE>
    * Reply-to: sensors@xxxxxxxxxxxxxxxxxxxx

> I have some trouble compiling the module p4b_smbus.o and adding
> support for the i2c-bus. Adding support for pci-hotplug to my kernel
> was successful.
> (reference to ticket # 1345)
>
> Here the compiler output:
>
> cc  -D__SMP__ -DMODVERSIONS -include
> /lib/modules/2.4.20-hotplug/build/include/linux/modversions.h
> -D__KERNEL__-DMODULE -Wall -Wstrict-prototypes -O2
> -fomit-frame-pointer-fno-strict-aliasing
> -I/lib/modules/2.4.20-hotplug/build/include   -c -o p4b_smbus.o
> p4b_smbus.c p4b_smbus.c: In function `cleanup_module':
> p4b_smbus.c:263: incompatible type for argument 1 of `write_lock'
> p4b_smbus.c:268: invalid type argument of `->'
> make: *** [p4b_smbus.o] Error 1

Strange. I can compile it. I suspect the code isn't SMP-compliant. Try
forcing SMP=0 in Makefile.p4b, just to make sure this is the cause of
the failure. Once confirmed, Mark D. Studebaker will take a look at it.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1975 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-24 15:16:23 +00:00
Jean Delvare d99a492966 Fix data block length (128 bytes instead of 256).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1973 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-24 13:22:22 +00:00