Commit Graph
896 Commits
Author SHA1 Message Date
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
Mark D. Studebaker ec8a8ef06c (mds) Original m7101 inserter as contributed by Burkhard Kohl and
Frank Bauer, and added by me to the website as m7101-0.1
      on June 21, 2000. Does not work with 2.4.0-testx kernels.
      Checking in this version as a base for modifications.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@893 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-10-09 02:57:19 +00:00
Philip Edelbrock a989c42220 (Phil) update the checklist a little
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@892 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-10-09 00:02:12 +00:00
Philip Edelbrock a56b0002e3 (Phil) Tag and release 2.5.3
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@891 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-10-09 00:00:49 +00:00
Dan Eaton 85054dd08d (Dan) Original version of chip driver for Philips PCF8574 I2C bus expander.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@889 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-10-08 20:41:03 +00:00
Dan Eaton aedcd81c02 (Dan) Added build support for pcf8574.o driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@888 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-10-08 20:34:11 +00:00
Dan Eaton 0992d0bc20 (Dan) Added support for PCF8574 I2C bus expander.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@887 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-10-08 20:33:00 +00:00
Mark D. Studebaker fdba19d08c (mds) add reference to Jedec Mfr. ID document.
add links to GnomeSensors and MonitorSensors.
      Alphabetize applications section.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@886 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-10-04 02:01:34 +00:00
Dan Eaton 6f57f19061 (Dan) Comment was right, code was wrong. Configure pins 17 and 18 for
external temperature 2 monitoring instead of individual voltages.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@885 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-09-26 16:19:55 +00:00
Dan Eaton db2c35fba4 Corrected typo in /proc file formatting.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@884 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-09-25 21:49:13 +00:00
Mark D. Studebaker 103a2bb87f (mds) Remove "Unwritten" on lm87 driver.
Add information message on where to download i2c-riva
      module if it is not found.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@883 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-09-23 01:42:32 +00:00
Mark D. Studebaker 9debde4806 (mds) update link to Simon's I2C page; delete link to Simon's news group.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@882 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-09-21 03:11:48 +00:00
Mark D. Studebaker ce6f623a42 (mds) Add GPL boilerplate to comments.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@881 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-09-21 02:27:21 +00:00
Mark D. Studebaker 3637167920 (mds) update decode-dimms.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@880 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-09-21 02:25:56 +00:00
Mark D. Studebaker aa33fdcc9b (mds) replace with updated version from Christian Zuckschwerdt
<zany@triq.net>. Updated according to SPD Spec 1.2B;
      add html output option -f.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@879 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-09-21 02:24:30 +00:00
Dan Eaton 235d74e73a (Dan) Added conditional export of base address for RocketLogix, Inc..
Made some other minor cleanup.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@878 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-09-19 13:54:20 +00:00
Dan Eaton 187e198faf (Dan) Updated division values to correctly scale values for /proc.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@877 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-09-19 13:43:48 +00:00
Mark D. Studebaker f7cc1c20dd (mds) add i2c-ali1535 driver from RocketLogix.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@876 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-09-16 02:44:58 +00:00
Mark D. Studebaker 8d7e6c94d7 (mds) fix typo in comment.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@875 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-09-16 02:35:27 +00:00
Mark D. Studebaker 5d5e6410e0 (mds) removed FORCE #ifdef which never worked anyway.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@874 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-09-16 02:21:55 +00:00
Mark D. Studebaker 3250c57c0a (mds) add lm87 info and changes to kernel/sensors.c for
kernel 2.4.0-test8.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@873 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-09-14 02:52:06 +00:00
Philip Edelbrock cc4315029e (Phil) Initial addition of LM87 driver. Compiling testing not done yet,
but will be done very shortly.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@872 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-09-13 23:28:14 +00:00
Mark D. Studebaker ea5430f3f7 (mds) Limit the as99127f fan_div values to 8. The as99127f apparently
does not support the extended fan_div bits like the w83782d
      does. This should fix fan2 so it defaults to a divisor
      of 2 instead of 32.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@871 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-09-10 23:28:51 +00:00
Mark D. Studebaker 4695a1fbb2 (mds) Merge with website version, update Thermistor Guide link,
add link to "Sensors Server".


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@870 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-09-10 16:17:17 +00:00
Frodo Looijaard 41fd38d287 Added a link to the Solaris LM78 drivers
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@869 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-09-07 14:43:41 +00:00
Frodo Looijaard 6fa9fe98eb Update for 2.4.0-test8 kernels
(patch by Mohammed A. Haque <mhaque@haque.net>)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@868 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-09-06 22:52:00 +00:00