Commit Graph
113 Commits
Author SHA1 Message Date
Mark D. Studebaker bea2bbf99e fix sis5595 temp (and temp min, max, alarm). These registers are
in a different place than the LM78, which this driver was copied from,
      so temp was completely broken.
      Temp shares a pin and registers with in4; add in4 support, recognize
      chip configuration and act accordingly.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1067 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-04-09 23:20:13 +00:00
Mark D. Studebaker b7ade0b926 fix bug in lm84 and gl523sm support; driver would recognize the
chip and then return an error code anyway.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1058 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-04-04 23:12:34 +00:00
Mark D. Studebaker 6c52f4b47f add i2cset, simple utility to write a single location
in an i2c device, good for debugging.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1057 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-04-03 02:39:23 +00:00
Mark D. Studebaker 030053643c add devfs /dev/i2c/x support
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1054 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-03-31 19:07:09 +00:00
Mark D. Studebaker 0709b19497 add devfs /dev/i2c/x support
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1053 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-03-31 19:00:45 +00:00
Mark D. Studebaker cf3d81cc76 add rrd and tellerstats info
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1050 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-03-31 04:11:18 +00:00
Mark D. Studebaker 338d695ef9 remove LTC1710 from mkpatch - unlikely to be
needed on a PC


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1048 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-03-31 01:40:53 +00:00
Mark D. Studebaker 805a7e7d94 add a sample configuration for the Tyan 2510 board which has
two (differently-connected) MTP008 chips.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1038 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-03-20 01:44:39 +00:00
Mark D. Studebaker 448fe0c52c add adm9240/ds1780/lm81 template, add quotes to feature names
in lm87 template where necessary.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1034 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-02-24 21:57:42 +00:00
Mark D. Studebaker db52f427a6 Change mtp008 temperature reporting from max/min to limit/hyst.
Change initial values in driver from 70/5 to 70/50.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1032 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-02-23 03:23:49 +00:00
Mark D. Studebaker f8287b30bd fix swapped limit and hysteresis on adm9240, sis5595, and
via686a. Thanks Karl Schmidt <karl@xtronics.com>


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1029 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-02-23 01:02:35 +00:00
Mark D. Studebaker 11a8bf78fa renamed i2c_i810i2c_init() to i2c_i810_init()
to match what mkpatch patches in patched kernel.
      Affected only kernel patches; standalone build was fine.
      Ticket # 492.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1026 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-02-20 02:12:39 +00:00
Mark D. Studebaker d71110b4ad change mtp008 entries from fan[1-3]_limit to fan[1-3]_min to
be identical to other drivers.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1025 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-02-11 19:54:23 +00:00
Mark D. Studebaker 0f1417afc7 add full lm87 template since names are non-standard
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1023 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-02-10 22:35:19 +00:00
Mark D. Studebaker eac7c14bb1 fix the names in some lm87 entries in libsensors
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1022 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-02-10 22:30:21 +00:00
Mark D. Studebaker b799b5e41e fix temp2 max initialization (70 instead of 7)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1021 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-02-10 22:07:17 +00:00
Mark D. Studebaker 95003a7c4b format help a little better at top of sensors.conf,
add temp limit example.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1020 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-02-10 20:14:52 +00:00
Mark D. Studebaker 77218c4438 new as99127f calculations for in5 and temp2 from
Guntram Blohm <gbl@bso2001.com>


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1018 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-02-10 04:53:24 +00:00
Mark D. Studebaker b5d014bd46 Disable sensors.c and i2c-isa.h in the Module.mk files.
Leave the files there for now.
      Remove old installed sensors.o in kernel/Module.mk.
      sensors.c was moved to i2c-proc.c in the i2c package.
      i2c-isa.h was appended to i2c.h in the i2c package.
      Delete all but the SYSCTL and ALARMS definitions in sensors.h,
      as the rest of the file was moved to i2c-proc.h in the i2c package.
      Remove #include "i2c-isa.h" lines in all chip drivers and
      in bus driver i2c-isa.c.
      This all probably breaks mkpatch.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1015 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-02-06 02:53:46 +00:00
Mark D. Studebaker fa761437c0 add the missing Configure.help entries
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1014 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-02-05 00:02:45 +00:00
Mark D. Studebaker 60c24768b1 recognize SMSC Victory66 south bridge.
No driver support yet. Looks identical to piix4 so we can
      add to i2c-piix4.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1013 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-02-04 23:24:03 +00:00
Mark D. Studebaker 377be956da PCI chip detection cleanup.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1011 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-02-03 20:48:43 +00:00
Mark D. Studebaker b4b343d74b claim support for Via 686B. Same PCI id as 686A. No driver changes.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1010 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-02-03 19:22:54 +00:00
Mark D. Studebaker b9b1a902be Adjust -12V as99127f calculation +15% based
on empirical data. Still no datasheet.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1006 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-01-27 20:33:09 +00:00
Mark D. Studebaker 9a613b219c FAQ update
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1004 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-01-27 19:25:28 +00:00
Mark D. Studebaker 899498a9b4 Allow force and force_via686a parameters. Driver will take the
address and program the base address in the 686a.
      This is NOT a PCI force; the 3057 device must
      be present in lspci.
      Should work for Asus A7V/K7V boards which don't set the
      base address (because they also have a as99127f on them!??).
      Some rough edges remain, because
      via686a_find() does not know there is a force; that only
      is apparent to via686a_detect().
      Notably, the driver will stay loaded even if the address is
      uninitialized and there is no force; also, the driver complains
      that a force is needed even when you give it one.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@999 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-01-20 03:43:50 +00:00
Mark D. Studebaker c2b81edc8a recognize lm78's with chipid register (0x49) == 0x20, as
reported by Vernon McPherron <vernon@xnote.com>


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@998 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-01-19 02:39:26 +00:00
Mark D. Studebaker d569353d79 add xxx_init() calls to bottom of sensors.c for those drivers added
to mkpatch in 2.5.5. Also add mtp008 and ds1621 init calls in anticipation
      of them being added. Fix typos adm9024->adm9240.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@997 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-01-17 01:42:56 +00:00
Philip Edelbrock 44ea61ed74 (Phil) Tag and release 2.5.5
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@993 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-01-16 03:27:51 +00:00
Mark D. Studebaker 235cc1d959 misc. cleanup
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@989 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-01-13 17:28:32 +00:00
Mark D. Studebaker 5bca9ebda4 fix CVS thingie >>>, update when i2c 2.5.5 is required.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@978 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-01-10 01:07:07 +00:00
Frodo Looijaard b572ff829c Oops, removed double entry
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@977 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-01-09 23:27:03 +00:00
Frodo Looijaard 9398823a91 Update in docs to reflect mkpatch changes.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@976 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-01-09 23:26:29 +00:00
Philip Edelbrock 6afe8168b0 (Phil) Documentation, further testing/debugging for the lm87 and osb4.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@974 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-01-07 22:13:59 +00:00
Mark D. Studebaker ece9f6ce1c note that i2c-piix4 supports Serverworks.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@966 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-12-27 19:58:28 +00:00
Frodo Looijaard fa1081df9a Finally added almost all drivers to mkpatch!
I added the list we made some weeks ago, except for the maxilife driver
which is old and which I do not trust at all.

To do: add descriptions for Documentation/Configure (any volunteers?
It should be put in mkpatch.pl next to the other documentation)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@961 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-12-19 21:26:00 +00:00
Mark D. Studebaker e3fe21cc9f rename /proc entries temp and remote_temp to temp1 and temp2.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@960 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-12-16 20:41:47 +00:00
Mark D. Studebaker ecb7bb70a3 (mds) rename /proc entries to in[0-5]
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@955 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-12-16 17:27:10 +00:00
Mark D. Studebaker f5ff85cca2 (mds) add serverworks osb4 support.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@948 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-12-15 00:43:16 +00:00
Mark D. Studebaker 33d1607299 (mds) print message if no sensors are found rather than just silently returning.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@945 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-12-14 01:20:52 +00:00
Mark D. Studebaker 7ccaa7f419 (mds) Check for uninitialized base addresses. Check for unenabled sensors.
On sis5595, refuse to load if chip not found.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@943 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-12-14 00:26:13 +00:00
Mark D. Studebaker ec53bfa1fe (mds) Add "dummy writes" before bit reads as recommended in 815
programmers' reference guide. This ensures that the input value
      is latched in the 815 register. We assume this also applies
      to the 810 or at least does no harm. Ticket 419.
      Alan Chen <alp_chen@hotmail.com> reports that this fixes the
      bug where i2c-algo-bit bit_test=1 fails the test.
      We don't have any data that shows there was any problem in
      normal operation (non bit_test) or that this fixes anything else.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@941 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-12-02 22:39:21 +00:00
Mark D. Studebaker b57428a14b (mds) add remote temp support (temp2) to adm1025
(also in prog/sensors/chips.c),
      rename /proc entries to in[0-5] and temp[1-2], fix negative
      temperature reporting.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@940 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-11-30 02:44:47 +00:00
Mark D. Studebaker bb4b723e68 (mds) add ds1621 driver from Christian Zuckschwerdt (zany@triq.net)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@935 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-11-26 23:07:17 +00:00
Frodo Looijaard aa0c8f6768 Updated the MUTEX definitions again - they are now guarded by
the horrible
         #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,2,18)) || \
             (LINUX_VERSION_CODE == KERNEL_VERSION(2,3,0))
        They should now both work with 2.3 kernels (including 2.4 prepatches)
        and very new 2.2 kernels (ie. 2.2.18 prepatches)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@933 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-11-22 23:54:39 +00:00
Mark D. Studebaker 21ce90d2d8 (mds) update for sensors fahrenheit and module mutex changes
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@932 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-11-22 17:59:37 +00:00
Mark D. Studebaker ebee4ccfcc (mds) add recent changes from several people
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@924 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-11-02 02:59:59 +00:00
Mark D. Studebaker 9e7e663693 (mds) Add mtp008 driver from Kris Van Hees.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@911 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-10-18 23:31:44 +00:00
Mark D. Studebaker 64c433c78b (mds) add mtp008
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@910 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-10-18 00:36:25 +00:00
Mark D. Studebaker 6de8a33003 (mds) add support for adm1023 and adm1021a (?)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@908 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-10-17 01:10:38 +00:00