2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-30 22:05:11 +00:00
Commit Graph

2001 Commits

Author SHA1 Message Date
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
Mark D. Studebaker
ebb1dc9a20 updates
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1986 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-31 18:13:38 +00:00
Mark D. Studebaker
9e27af12f5 make w83627thf a separate type, enhance support
(remove in5, in6; add pwm3)
      fix some printks


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1985 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-31 18:11:13 +00:00
Mark D. Studebaker
969cfd1f8d general cleanup. Fix 697HF PWM. Fix 697HF VBAT and V5SB alarms.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1984 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-30 21:39:09 +00:00
Mark D. Studebaker
6815e0bafe Fix 697HF PWM (ticket 1207). Fix 791D PWM.
Fix 697HF V5SB and VBAT alarms.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1983 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-30 21:38:33 +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
Jean Delvare
f24d73e83b Clarified the conversion policy after John Morris' question.
Original text by Mark M. Hoffman.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1980 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-30 08:33:48 +00:00
Mark D. Studebaker
96045bea38 Add separate error returns and messages for read and write errors.
Add missing message for "general parse error" - a nasty bug.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1979 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-25 00:28:26 +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
2d6fb09db0 remove old sensors.h info
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1977 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-25 00:06:14 +00:00
Mark D. Studebaker
63d87246ef updates
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1976 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-24 15:18:59 +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
Mark D. Studebaker
fe368024cf remove COMPILE_KERNEL; was previously replaced by 'make user'
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1974 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-24 14:51:17 +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
Jean Delvare
8a11762641 Add CUV266-DLS as an example of third temp2 formula for as99127f.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1972 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-23 19:56:31 +00:00
Jean Delvare
16881b62e7 Introduce EDID registers (makes use of the eeprom speed
improvements).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1971 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-23 19:21:59 +00:00
Jean Delvare
bc34ae1749 Divide the eeproms into slices to speed reads up.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1970 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-23 19:20:31 +00:00
Jean Delvare
9614076742 Update known systems list.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1969 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-23 19:19:34 +00:00
Jean Delvare
7cddef8cb2 Add details about the mailing-list.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1968 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-23 17:29:58 +00:00
Jean Delvare
52df8b5abf Use capable() to protect Vaio's passwords and other security-
related data.
        Simplify the sysctl callback function.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1967 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-16 12:05:36 +00:00
Jean Delvare
500e783461 Fix missing parenthesis (DEBUG=1).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1966 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-16 10:26:12 +00:00
Jean Delvare
46c0a4650e Documentation update.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1965 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-15 19:10:48 +00:00
Jean Delvare
489fee2e2d All a lm90-* section.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1964 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-15 17:29:17 +00:00
Jean Delvare
236c01efd8 Updates.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1963 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-15 10:35:55 +00:00
Jean Delvare
a54d86f8f4 Fix LM90 prints.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1962 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-15 09:23:48 +00:00
Jean Delvare
bb89ea05e3 Force CPCI735 bug workaround (patch by Tom Rini).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1961 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-14 22:28:42 +00:00
Jean Delvare
0d4d71d5c8 Add support for the lm90 driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1960 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-14 22:10:32 +00:00
Jean Delvare
7f475406ad Pointless changes (white spaces etc.).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1959 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-14 22:09:25 +00:00
Jean Delvare
f135d97c28 New LM90 driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1958 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-14 22:08:41 +00:00
Jean Delvare
c8bd7bb1e6 LM83 updates.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1957 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-13 20:17:58 +00:00
Jean Delvare
d7880c5f77 Update.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1956 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-13 20:17:38 +00:00
Jean Delvare
08e0c2ad5d Update rrdtool URI.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1955 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-11 08:47:15 +00:00
Jean Delvare
597e5fb59a Add tcrit and alarms support to lm83.
New print_temp_info mode (CRIT, for high+crit).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1954 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-09 21:21:32 +00:00
Jean Delvare
122e8d43a3 Add tcrit and alarms support to lm83.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1953 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-09 21:18:41 +00:00
Jean Delvare
c3aa6202ca Support T_CRIT and status registers.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1952 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-09 21:17:43 +00:00
Jean Delvare
39daf5f1e6 Big update.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1951 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-09 18:46:17 +00:00
Jean Delvare
ee6d023d6f Change Sony Vaio EEPROMs detection procedure. This should
prevent EEPROMs with a password set from being randomly
        detected as regular memory chips.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1950 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-09 14:19:31 +00:00
Jean Delvare
da916a854b Ignore Sony Vaio EEPROMs with a password set (override
with force parameter).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1949 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-09 14:18:13 +00:00
Jean Delvare
6f26bed8ce Add default labels for as99127f temp1 and temp2. Mention the
fact that the A7N8X Deluxe rev.2 has them swapped.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1948 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-09 09:47:39 +00:00
Jean Delvare
159548a6d4 Exit(1) on /proc write failure.
Suggested by Malte Starostik.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1947 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-09 08:39:44 +00:00
Jean Delvare
ee0aca4616 Add SMSC manufacturer ID to our list.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1946 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-08 16:01:49 +00:00
Jean Delvare
e05bedb2a3 Enhance LM82 and LM83 detection (thanks to Magnus Forsstrom).
Handle "to-be-written" drivers more cleanly (users won't be asked
        to "modprobe to-be-written" anymore).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1945 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-07 13:03:25 +00:00
Jean Delvare
0dc5c7c00c Detect which of modules.conf or conf.modules should be used.
Detect which of /dev/i2c-*, /dev/i2c/* or /dev/i2c*  should be
        used.
        Stop if no i2c device files exist.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1944 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-07 09:31:24 +00:00
Jean Delvare
ded9daf517 Fix EEPROM detection (again).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1943 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-07 08:51:08 +00:00
Jean Delvare
283e61378a Take LINUX_HEADERS out of ALL_CPPFLAGS, use it in MODCPPFLAGS
only. This fixes compilation on PPC and possibly others.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1942 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-06 14:22:50 +00:00
Mark M. Hoffman
3629850def When changing fan divisor(s), save and restore fan minimum(s).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1941 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-06 04:37:12 +00:00
Mark M. Hoffman
69ef356b2c Prevent buffer overrun during SMBus Block Read when client responds
(mmh) with illegal read size.  Patch by Sergey Vlasov <vsu@altlinux.ru>.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1940 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-06 03:11:40 +00:00
Jean Delvare
7c3bb9df01 Make sure /sbin is in the user's path.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1939 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-05 09:08:38 +00:00
Mark M. Hoffman
9791b06ae5 Fixes backported from 2.6 work by Greg KH:
(mmh) o remove devinitdata marking from i2c-nforce2.c as it's wrong
(mmh) o minor cleanups to the i2c-nforce2 driver


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1938 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-03 05:32:01 +00:00