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
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
f3df27d7ee
(mds) fixed some "i810" references in the printk's caused by
...
cut-n-paste from i810 driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@751 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-03-05 01:07:10 +00:00
Mark D. Studebaker
861461a48e
(mds) remove i2c-bit-voodoo3.c, copied over to i2c-voodoo3.c.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@748 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-03-04 16:57:47 +00:00
Mark D. Studebaker
08edb10e11
(mds) Copy i2c-bit-voodoo3 (algo-bit algorithm) to i2c-voodoo3,
...
remove i2c-bit-voodoo3.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@747 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-03-04 16:56:24 +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
Frodo Looijaard
1c4bf6e351
Corrected typo in #ifdef in init code
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@740 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-03-03 21:08:27 +00:00
Mark D. Studebaker
4f609f82a1
(mds) Add algo-bit rewrite of i2c-voodoo3.c. Will replace i2c-voodoo3.c
...
after testing. DDC works for me, I can't test other bus. Please test.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@737 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-02-25 01:10:21 +00:00
Mark D. Studebaker
6c3f85c5a8
(mds) add #ifndef xxxBANSHEE ... #define xxxBANSHEE at the top.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@736 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-02-23 02:54:56 +00:00
Mark D. Studebaker
a27faf0d60
(mds) make PCI_DEVICE_ID names the same as in <linux/pci_ids.h>.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@730 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-02-07 02:33:52 +00:00
Mark D. Studebaker
da8174c4db
(mds) Add i810 dual-bus (I2C/DDC) driver using algo-bit.
...
The i801 driver is for the standard I2C bus on an i810 board.
This driver adds the support for the DDC and TV-out busses.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@729 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-02-07 02:03:33 +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
4f8725ec23
(mds) fix request_region() call. Was requesting xx00 - xx07, now
...
correctly requesting xxE0 - xxEF. Should resolve conflict with
ACPI.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@726 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-02-04 00:16:44 +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
afcc0fe82f
(mds) updated adapter name to add Banshee and remove 0000 address.
...
Add warning if > 1 voodoo3/banshee found.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@718 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-30 01:24:37 +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
7a6897b949
(mds) additions for ddcmon.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@715 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-30 01:16:08 +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
dac07447b9
(mds) Fix broken send_byte_data() for I2C and DDC.
...
Wasn't used by bt869 so wasn't found before.
i2cdump now works and sensors_detect will find ddc monitor.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@711 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-28 01:05:40 +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
267a60f254
Guarded all {get,put}_user and copy_{to,from}_user calls
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@708 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-26 14:41:10 +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