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
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
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
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
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
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
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
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
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
Bob Dougherty
9a072f2667
(bobd) fixed a small bug in the alarms
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@765 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-03-09 06:55:33 +00:00
Bob Dougherty
0b240765ef
(bobd) fixed temp over & hyst write bug and set default 5V & 12V correctly.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@763 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-03-08 16:15:15 +00:00
Bob Dougherty
097c23db16
fixed fan RPM reading & improved accuracy of temp LUT.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@762 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-03-08 04:59:33 +00:00
Bob Dougherty
d1412ad83b
bobd: removed nasty floating-point math, fixed temp3 over & hyst bug.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@759 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-03-07 15:25:20 +00:00
Mark D. Studebaker
28583353f9
(mds) Got it to compile again by fixing all the function calls.
...
Still no realistic application though. Needs i2c block reads.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@757 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-03-07 03:23:39 +00:00
Bob Dougherty
2c149094bd
fixed temp & voltage conversion- they're still not perfect, but are worth testing
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@756 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-03-06 15:56:14 +00:00
Mark D. Studebaker
cd28374a81
(mds) change type_name to via686a (remove space).
...
First bug found by Bob D.!
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@752 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-03-05 02:24:43 +00:00
Mark D. Studebaker
40ccaaa658
(mds) Add via686a integrated sensors support. Untested.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@742 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-03-04 16:14:08 +00:00
Mark D. Studebaker
ac2f78cb0e
(mds) stop changing fan 1/2/3 input/output values at module startup,
...
hopefully this will preserve BIOS settings.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@728 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-02-07 01:54:00 +00:00
Mark D. Studebaker
0efe92ad9a
(mds) more parentheses in detection if statement - can't hurt.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@719 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-30 02:37:03 +00:00
Mark D. Studebaker
ac7ace0484
(mds) changed refresh time from 1.5 seconds to 5 minutes.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@717 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-30 01:21:49 +00:00
Mark D. Studebaker
27f0db257c
(mds) add simple ddc monitor module 'ddcmon'.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@713 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-30 01:05:47 +00:00
Mark D. Studebaker
30fa84cbfd
(mds) remove functionality check for WRITE_WORD
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@710 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-28 00:46:11 +00:00
Frodo Looijaard
4319123b28
GL518SM buglet fixed
...
Initially, random values were put in the voltage registers. If iterate was
left at 0, these random values were put in /proc.
Solution: initialize voltage[0..2] with 0.
Frodo
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@709 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-26 16:16:53 +00:00
Frodo Looijaard
6a2c82b491
`indent -kr -i8' on all kernel sources
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@707 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-24 20:37:01 +00:00
Frodo Looijaard
888d32f50b
Removing kernel 2.0 and 2.1 compatibility pass 2
...
Eliminated compat.h
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@705 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-24 20:07:29 +00:00
Frodo Looijaard
9480bb5988
Removal of kernel 2.1 and 2.2 compatibility: pass one
...
Removed many #if statements
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@704 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-24 19:30:08 +00:00
Mark D. Studebaker
c80cf6c1eb
(mds) Divide temp2 and temp3 by 2 for as99127f. Resolves reports
...
by Dirk Mueller and Pixel that readings were 2x too high.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@693 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-11 03:08:41 +00:00
Mark D. Studebaker
62e2a8f187
(mds) fix 782d/99127f/623hf isa vs. i2c structure selection.
...
Thanks Dirk Mueller.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@692 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-11 02:35:57 +00:00
Frodo Looijaard
460f4f9ebb
Fixed a temperature bug in the LM80 driver
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@691 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-10 23:27:32 +00:00
Mark D. Studebaker
6340ed3175
(mds) change my email addr.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@688 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-08 16:48:39 +00:00
Mark D. Studebaker
cd15965d26
(mds) fix in5 and in6 min/max initialization for as99127f.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@687 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-08 16:42:26 +00:00
Mark D. Studebaker
68c3de4b5e
(mds) Change accesses for LM75-compatible temp2/temp3
...
registers in I2C mode.
Instead of using bank 1 and 2, which was in violation of
the datasheets, use the separate I2C registers (usually
0x48 and 0x49). Register these addresses separately
using additional i2c_attach-client() calls.
Users will see new "subclient" registration messages
in the syslog.
/proc and libsensors interfaces are unchanged, i.e. the
chip still looks like a single device.
This should fix temp2 and temp3 for the as99127f, which
did not allow bank 1 and 2 accesses. Should not affect
operation for other chips as they worked before.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@686 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-08 04:26:57 +00:00
Frodo Looijaard
2ff447b225
make install fixes
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@681 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-03 00:32:38 +00:00
Frodo Looijaard
01bad38253
Added DESTDIR Makefile variable
...
Set DESTDIR if you want to install at some other place then where you
will run everything from.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@675 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-24 19:52:28 +00:00
Mark D. Studebaker
87993e7c02
(mds) add support for force parameter. This allows for as99127f users to
...
use lm75 driver for temp2 and temp3 until I fix w83781d driver.
LM75 detection fails on as99127f (and w83781d temp2).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@670 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-14 01:24:37 +00:00
Frodo Looijaard
fd545796ee
Changes regarding the new i2c_check_addr function
...
Changes in sensors.c:
sensors_detect now skips addresses which are already taken. Even a
force parameter can not override this, as it could lead to major
problems.
For ISA addresses, the same is done; but the client drivers still need
a check if they claim more than one ISA address (as all of the current
ISA clients do).
Changes in chip drivers:
Removed the comment about needing address registration
Changes in i2cdetect.c:
Marks addresses which are already claimed
Changes in sensors-detect:
Warns when an address is already claimed, and skips it.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@667 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-08 20:37:09 +00:00
Frodo Looijaard
d3441611d6
SMP bug solved (file not included)
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@666 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-08 17:38:45 +00:00
Mark D. Studebaker
b5d883ad24
(mds) bug fixes on sensor[1-3] reads and writes.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@663 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-04 02:52:15 +00:00