Commit Graph
921 Commits
Author SHA1 Message Date
Mark D. Studebaker d4cf6b4a6f (mds) start a simple log of the donations we have received.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@944 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-12-14 00:38:56 +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 7879f5cf8a (mds) fix fan min 3 initialization
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@942 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-12-04 00:05:14 +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 a1952c601f (mds) modify the print_temp_info() routine that was added in the
Fahrenheit patch so that it will print either limit/hysteresis
      or min/max. Add a flag to each call to select the right one.
      Change temp output to be %3.1f. Some chips are 1 degree accuracy,
      some are .5, the 686a is less. For now since it is a common
      routine use one decimal point. In future maybe add another
      parameter to the routine to specify accuracy.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@939 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-11-30 02:42:53 +00:00
Mark D. Studebaker 6dadf068b2 (mds) add adm1025 entries
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@938 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-11-30 02:39:06 +00:00
Mark D. Studebaker 16f5cb512a (mds) add entry for Serverworks south bridge. 0x1166 / 0x0200.
Not completely sure this is the correct PCI ID though.
      No driver yet (requires NDA).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@937 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-11-29 03:25:24 +00:00
Mark D. Studebaker a009a9acee (mds) Claim support for TelCom Semiconductor TCN75, an LM75 second source.
TelCom was recently purchased by Microchip.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@936 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-11-29 01:27:31 +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 bd1b923045 Typo corrected as indicated by Christian W. Zuckschwerdt
<zany@triq.net>


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@934 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-11-23 17:01:32 +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 7336a798c9 (mds) add more suggestions to contributors of things to do
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@931 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-11-22 17:55:46 +00:00
Mark D. Studebaker eb74a8ad40 (mds) advise that people get and install the latest i2c package even
if they have kernel 2.3.34 or greater. Ticket 427.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@930 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-11-19 22:31:43 +00:00
Frodo Looijaard 4444c1464a Applied patch of Chip Salzenberg <chip@valinux.com>:
Better #ifdefs


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@929 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-11-18 11:38:15 +00:00
Frodo Looijaard 4fe4b3619c Display stuff as Fahrenheits; patch of Kelsey Hudson
<khudson@rohan.sdsu.edu >


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@928 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-11-13 18:31:48 +00:00
Frodo Looijaard 62ebc84b6f Patch to make it compile with 2.2 kernels (people, please test this
before submitting patches!)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@927 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-11-10 20:45:30 +00:00
Philip Edelbrock 08c77525b6 (Phil) Nothing changed. Just testing again.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@926 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-11-04 00:15:53 +00:00
Philip Edelbrock 5a001e423d (Phil) Just testing the new server.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@925 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-11-04 00:12:11 +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 03e12c8b80 (mds) allow force and force_ddcmon parameters to bypass detection
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@923 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-11-02 02:56:37 +00:00
Dan Eaton ab8a428bb6 (dan) Extended cache time for values to 5 seconds.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@922 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-11-01 16:53:42 +00:00
Dan Eaton 7d4089704e (stephen) Updated cache time to 1 second to be compliant with National spec
read times.  Updated voltage calculations for AIN1/2 and VCCP1/2.  Fixed
VID calculation.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@921 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-11-01 16:48:18 +00:00
Dan Eaton 5be9dd74fb (dan) Added mutex to insure that only one process can gain access to the
SMBus controller at a time.  This is basically an insurance policy.  The
kernel and the status from the SMBus controller should handle this but
observed behavior seems to indicate that the SMBus controller does not
ALWAYS mark itself as "busy" during a transaction especially if a trans-
action fails.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@920 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-11-01 16:44:23 +00:00
Dan Eaton abdcc7ee80 (dan) Restructured the error checks performed at the end of the transaction
to check the "command completed" flag before checking for error flags in
the status register.  This will insure that when both conditions exist
(command not completed && error conditions present), a "kill" command will
be executed on the SMBus controller to clean up the bus.  Also, added a
status register write after "kill" and "timeout" commands to insure that
the status gets cleaned up after a bad transaction.  This change fixes
observed behavior in which a "command never completed" transaction was
always followed by an "idle wait timeout" on the next subsequent trans-
action.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@919 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-11-01 16:31:45 +00:00
Frodo Looijaard 2e083cada0 Fixed small bug that made writing to the first field only of
the 'beep' file (global enable/disable) have random results.

Patch by Frans E. van Dorsselaer <frans@bia-bv.demon.nl>


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@918 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-10-29 23:52:38 +00:00
Frodo Looijaard dfd80414dd Ticket 412 mkpatch problem fixed (I hope)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@917 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-10-29 23:13:11 +00:00
Frodo Looijaard f520d6481b Reference to Sentinelle added
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@916 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-10-29 23:05:32 +00:00
Frodo Looijaard 3830966577 Buglet fixed as indicated by Eric Swalens <eric.swalens@ulb.ac.be>:
#define typo made it possible to include chips.h multiple times


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@915 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-10-29 22:49:51 +00:00
Bob Dougherty 8113589931 (bob dougherty) Fixed typos in temp-conversion polynomial fit formula. (thanks to Uwe Anderson for finding them.)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@914 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-10-25 15:31:51 +00:00
Mark D. Studebaker 14934f7c48 (mds) update documentation about m7101 module, add pointer to 0.1 version.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@913 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-10-24 23:23:38 +00:00
Dan Eaton 9b95794b50 (dan) Corrected inadvertent overwrite of part of cached data value.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@912 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-10-19 17:24:00 +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 4dcb88898c (mds) MTP008 driver patch from Kris Van Hees.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@909 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-10-18 00:34:07 +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
Frodo Looijaard 3be4abb087 Fixed mkpatch typo
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@907 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-10-16 20:57:56 +00:00
Bob Dougherty d620f2c724 (bob dougherty) Fixed typos. :)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@906 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-10-16 16:44:23 +00:00
Bob Dougherty 141d391ef7 (bob dougherty) Added comments from Johannes Drechsel-Burkhard about via686a on the MSI K7T Pro
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@905 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-10-16 16:33:53 +00:00
Philip Edelbrock 6270f18139 (Phil) Added support for adm1023. Actually, the adm1021 driver worked
perfectly with the adm1023, but didn't take advantage of it's extra precision
for the remote temp sensor. Now, if an adm1023 is detected, it will.

For example, my adm1021 remote_temp looks like this:

phil@penn phil]$ cat /proc/sys/dev/sensors/adm1021*/remote_temp
60 20 23

My 1023 looks like this:

[root@penn lm_sensors2]# cat /proc/sys/dev/sensors/adm1023-i2c-2-2a/remote_temp
60.125 20.250 1.500 20.875

(Both from the same inserted driver)

Notice the extra 3 digit precision (actually, it's in increments of 0.125).
And, also notice the extra 'limit'.  It's actually an offset register.
Right now it's adding 1.5 degrees to the reading for the remote_temp. This
same functionality could easily be done by editing /etc/sensors.conf, but
Analog Devices decided to put it into the chip instead. :')

Things to do: edit the default sensors.conf, and sensors-detect for this
new chip.

Oh, I also added SENSORS_INSMOD_7 into sensors.h.  This was the first
driver to need it, apparently.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@904 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-10-16 01:45:44 +00:00
Philip Edelbrock c967638ca3 (Phil) Prep for 2.5.4 release.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@902 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-10-12 21:31:10 +00:00
Mark D. Studebaker c8b9526eb2 (mds) add support for Via 596B with PCI ID 0x3051.
Found and patch submitted by Phil Langdale.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@901 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-10-12 02:57:18 +00:00
Mark D. Studebaker 8251d7cbd3 (mds) Emphasize that mkpatch only patches in a subset of the package.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@900 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-10-12 02:16:19 +00:00
Mark D. Studebaker 51a520ee32 (mds) cleanup, emphasize getting the i2c package if sensors doesn't compile.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@899 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-10-12 02:08:01 +00:00
Mark D. Studebaker 177791ac02 (mds) LM87 update, add PCF8574.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@898 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-10-12 02:01:39 +00:00
Dan Eaton 77bedf5510 (Stephen) - Changed temperature threshold values to 70C for int. and 80C for ext.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@897 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-10-11 15:02:39 +00:00
Frodo Looijaard 2bbd90fc40 mkpatch loop solved for test9 kernels
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@896 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-10-09 19:07:56 +00:00
Mark D. Studebaker 7e78edf5ee (mds) add m7101 module to prog/hotplug/
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@895 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-10-09 03:17:45 +00:00
Mark D. Studebaker d51bdd40d2 (mds) Big update for 2.4.0-testx kernels. Now uses kernel
"hotplug" facility. Somewhat tested on my PC.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@894 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-10-09 03:10:03 +00:00