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
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
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
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
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
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
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
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
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
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
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
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
Mark D. Studebaker
42bbb8bb93
(mds) add i815 support to i2c-i810 driver.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@862 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-09-02 19:20:23 +00:00
Mark D. Studebaker
879bcdc859
(mds) smbus block write fixes, i2c block write support from Rickard Westman.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@856 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-08-12 16:33:25 +00:00
Philip Edelbrock
40a6e0e631
(Phil) It should now handle negative temps going to and from registers.
...
I tested the new macros from a simple stand alone C app, but actual
system testing is still desired.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@852 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-08-03 23:01:30 +00:00
Philip Edelbrock
622594be1e
(Phil) Modified REG_TO_TEMP to work with negative values. Some testing
...
is needed. (Which I will do immediately after this commit.)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@851 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-08-03 22:40:43 +00:00
Mark D. Studebaker
cb24789105
(mds) add support for Intel 82801BA ICH2 (815E chipset).
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@849 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-07-21 23:52:28 +00:00
Mark D. Studebaker
8233fa6c7b
(mds) remove incorrect 'function 3' comment.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@838 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-07-09 03:21:00 +00:00
Frodo Looijaard
78d4aac923
Bugfix for w83781d.c: unloading of w83783s now works.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@823 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-06-21 20:34:50 +00:00
Mark D. Studebaker
1371cc89c0
(mds) Change as99127f fan speed calculation based on actual
...
measurements with frequency counter. Divisor changed from
1350000 to 810000.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@819 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-06-17 20:33:50 +00:00
Mark D. Studebaker
13dc53b49c
(mds) wrap a printk with #ifdef DEBUG;
...
change address upper limit to 0x2e.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@818 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-05-27 14:58:48 +00:00
Philip Edelbrock
13b42982ff
(Phil) I seem to have at least quick r/w transactions working
...
reliably now! Now, trying to expand to byte read/writes...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@816 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-05-25 05:25:16 +00:00
Philip Edelbrock
7f936aae87
(Phil) Removed i2c-keywest.o from the build for now until we resolve
...
a nice way of doing platform dependant building. (*snif*)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@815 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-05-23 01:33:13 +00:00
Philip Edelbrock
174c4bbc9a
(Phil) Finally, an almost (but not quite) working version of the driver.
...
It may be very close or very far from working. At this point, scanning a
bus gives a bunch of errors, but seems to do different things around
addresses which could very well have devices, so it seems promising.
Hopefully, it's just something silly I'm missing like an 'ack'.
Pretty good for not having *any* technical documentation on the driver,
except a partially written (and maybe not even working) example code
from Apple.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@813 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-05-22 07:27:08 +00:00
Philip Edelbrock
d802cbbf5c
(Phil) Detection and attaching of i2c_adapter(s) done. Seems to work for
...
what there is now. What's left is to use the registers of the keywest
to communicate with devices on the bus. (I.e., flesh out the 'access'
routine.)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@812 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-05-22 02:38:37 +00:00
Philip Edelbrock
b8913f4be2
(Phil) Start of support for Apple's "Key West" I2C controller. As of this
...
commit, the module can detect and read the registers from compatible
Keywest buss(es). (Note: there may be more than one bus, as I seem to have.)
Probing is done via Apple's 'New World' Open-Firmware rather than PCI. In
this way, this driver should work with any I2C bus (when it is completed)
which is Keywest 'compatible'. The down side is that this module won't
work on anything but a newer Apple PPC.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@811 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-05-21 23:57:11 +00:00
Mark D. Studebaker
66113bdcd3
(mds) For as99127f, remove in7-8, sensor1-3, pwm3-4
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@807 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-05-13 17:31:11 +00:00
Mark D. Studebaker
2072a3c9d6
(mds) Add adm1025 driver from Chen-Yuan Wu.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@801 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-05-11 01:35:22 +00:00
Mark D. Studebaker
c07053a572
(mds) fix sensor selection for sensor2/sensor3.
...
Enable VBAT (in8) monitoring.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@800 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-05-06 20:58:10 +00:00
Mark D. Studebaker
c4bf748b21
(mds) w83627hf only has 2 pwm whether on ISA or I2C bus.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@797 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-05-06 16:41:01 +00:00
Mark D. Studebaker
03ef21e58b
(mds) fixed normal_i2c_range declaration; bus was being scanned
...
all the way to end of address range, which was hitting clock
chip and hanging the bus.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@796 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-05-05 23:56:49 +00:00
Frodo Looijaard
1b2fa00f10
Oops... Clobbered sensors.c in the last commit...
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@794 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-04-18 11:21:06 +00:00
Frodo Looijaard
ea2ffb2286
small INSTALL update
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@793 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-04-18 11:19:10 +00:00
Mark D. Studebaker
ce5c90df0b
(mds) maxilife 99 support from Fons R.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@790 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-04-15 17:21:12 +00:00
Mark D. Studebaker
5330eed207
(mds) Allow via686a's that have sensor I/O mapped but sensors not
...
enabled by enabling the sensors. Found on FIC SD11 boards.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@788 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-04-02 00:42:19 +00:00
Mark D. Studebaker
c73a081460
(mds) don't register address or update values for 2nd "lm75" in a w83783s
...
because there is only one.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@777 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-03-15 02:56:56 +00:00
Bob Dougherty
5e8886a66f
(bobd) now configures temp alarms to stay on while out of range (via686a default is to clear alarm when reg is read)
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@768 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-03-10 20:30:45 +00:00
Bob Dougherty
35cb21b7be
(bobd) fixed temp2 alarm bit
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@767 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-03-10 20:28:19 +00:00
Bob Dougherty
0f4931a011
(bobd) cleaned to conform to kernel coding standards & tightened up some inlines
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@766 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-03-10 06:50:51 +00:00