Commit Graph
503 Commits
Author SHA1 Message Date
Philip Edelbrock 4bc8bc2b96 (Phil) A sync of the keywest driver from what the PPC people are
apparently using these days.  At least it's claimed to work partially.
Here's the info:

2001/7/14  Paul Harrison:
                - got write working sufficient to bring Tumbler audio up,
                  read still untested


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1203 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-10-16 21:02:48 +00:00
Mark D. Studebaker e836047a83 merge it87 separate alarms_* /proc entries to single alarms entry to standardize
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1202 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-10-14 15:18:37 +00:00
Mark D. Studebaker 7bd97f4667 Add MODULE_LICENSE("GPL") to all modules
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1201 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-10-13 17:48:43 +00:00
Mark D. Studebaker ec50f22d9d fix support for rev B0.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1199 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-10-13 03:51:49 +00:00
Mark D. Studebaker f0441d4486 fix detection thinko broken yesterday - thanks martin
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1198 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-10-07 17:02:07 +00:00
Mark D. Studebaker 1deacfd781 add support for Intel 82801CA/CAM to i2c-i801
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1197 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-10-07 02:18:25 +00:00
Mark D. Studebaker 8ee41b7738 add VT8233 support to i2c-viapro.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1196 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-10-06 22:20:41 +00:00
Mark D. Studebaker 5c91c75f11 malloc.h -> slab.h
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1193 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-09-29 18:32:15 +00:00
Mark D. Studebaker e5018b6faf Loop waiting for un-busy at start of transaction.
Fail and printk if still busy.
      Fail and printk if completion timeout at end of transaction.
      Reduce timeout from 5 sec to 1 sec.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1190 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-09-19 17:57:11 +00:00
Mark D. Studebaker 0d36fd10cf Add 440MX and Victory66 support to piix4. Implement a
'supported' table. i2c adapter name and io region will
      always be piix4 now - too hard to do 5 different names.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1188 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-09-19 15:56:20 +00:00
Mark D. Studebaker f2507cd7a5 Change /proc entries to naming standards, update global_event
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1185 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-09-18 20:52:02 +00:00
Mark D. Studebaker 90b82c0b92 allow force and force_fscpos
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1184 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-09-18 20:30:53 +00:00
Mark D. Studebaker 6709a2618b remove temp. ID, volt->in
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1181 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-09-18 15:57:37 +00:00
Mark D. Studebaker d78cb7b93b Fujitsu Poseidon support from Hermann Jung <hej@odn.de>
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1179 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-09-18 15:20:15 +00:00
Mark D. Studebaker 086ace0bf7 add module name to two printk's.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1172 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-09-01 18:14:20 +00:00
Mark D. Studebaker d2e5835634 fix unreliable initialization of limit registers by
adding a rather large delay after resetting the device
      via register 0x40. There is obviously a state machine
      in the chip that takes a while to run after you reset it.
      Figured out the delay time by trial and error.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1168 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-09-01 14:33:41 +00:00
Mark D. Studebaker 162eb2711d add module name to printk's
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1164 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-08-25 14:02:20 +00:00
Mark D. Studebaker 51a168ee4a fix module name in printk.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1163 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-08-25 14:02:01 +00:00
Mark D. Studebaker 147e70c39c Fix rather strange un-parenthesized "if" clause that somebody's
compiler tripped over, even though it shouldn't have.
      Ticket #638.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1162 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-08-18 22:08:03 +00:00
Mark D. Studebaker 2e4ce0fe13 in patched kernel, don't call sensors_init() from sensors.c,
do it from i2c-core in i2c pkg.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1156 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-08-13 01:37:09 +00:00
Mark D. Studebaker d2f8a04ae3 update serverworks match string
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1155 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-08-03 02:06:12 +00:00
Mark D. Studebaker 4af5311969 add support for AMD 766 to i2c-amd756. Appears to be compatible w/ 756.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1154 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-08-03 01:25:11 +00:00
Philip Edelbrock 8498ff5dd8 (Phil) Patches from Mark Rusk to support Serverworks CSB5.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1152 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-07-31 17:01:14 +00:00
Mark D. Studebaker 290bdb74ad Add a "blacklist" to the 5595 drivers so that they refuse to load
when encountering a long list of unsupported chips.
      All these chips have the same 1039/0008 ID as the 5595 but are
      incompatible.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1150 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-07-29 22:48:15 +00:00
Mark D. Studebaker 739a87e785 Apply patch from David Gesswein:
The following patch does the following:

Fixed bug with not all alarms enabled.
Added ability to read battery voltage
Select temperature sensor type at module load time.
Added setting for Inside Technologies 786LCD board to example config file
I also fixed what looked like a typo in the existing it87 section where
in6_min/max was set twice and in7 was not set.  As commented I think
the equation for the negative voltages are wrong but without that motherboard
I can't verify.

With the 786LCD board sensors-detect reports a lm78 which doesn't
exist and a sis5595 which may be part of the SIS630 chip but doesn't
perform the monitoring.  The it8705F/SIS950 which is on the board is
reported as a misdetect.  I didn't know enough about the various chips
to figure out how to get correct detections.

David Gesswein


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1146 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-07-29 00:30:54 +00:00
Mark D. Studebaker 30b9291288 add 12-bit precision mode to ds1621,
patch from Christian Zuckschwerdt:

Hi,

On Fri, 15 Jun 2001, Mark D. Studebaker wrote:

> I looked at the patch and I see there are separate
> /proc entries for the 9 and 12 bit outputs.
> Why not just make the 12 bit output the only output using "temp"??
> I don't understand the need for all the new /proc entries,
> except perhaps for debugging inside #ifdef DEBUG.
> Would you or Jan be willing to develop a patch that way?
> I'm all for increased accuracy as a standard feature - why not?

Ok. I rewrote the patch to support standard (9bit) and enhanced (12bit)
accuracy via the "temp" entry. The "raw" interface is also gone.

There are some quirks needed for the sensors app. It seems that
prog/sensors/chips.c fixes the output to %+3.1f
Thats not good for 12bit mode which gives you 2 decimals and therefor
wrong scaling.

Precision is .062 with 12bit (4 decimal bits) instead of .5 with 9bit (1
decimal bit). That way 2 decimals seem a natural choice.
On the other hand I see no obvious reason not to fix decimals to 1...
I'm lost there -- suggestions anyone?

Another problem is that 12bit is slow and laggy. I don't recommend making
it the default mode.

  cu.
    :
    Christian


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1145 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-07-29 00:17:14 +00:00
Mark D. Studebaker d5de6847ab change ...82801BA_3 to ...82801BA_2 because that's what it was
named in kernel 2.4.6, which broke detection for that chip.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1142 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-07-20 01:20:22 +00:00
Mark D. Studebaker 1abb44a2e3 fixed adm1025 temp2 min/max writes
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1140 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-06-26 01:49:55 +00:00
Mark D. Studebaker 1807068ae1 fix as99127f fan speeds that were 60% low.
This was broken by 2.6.0 because
      2.6.0 didn't reset the fan clock setting at startup.
      Therefore the AS_FAN_* macros were no longer needed to specially
      correct the fan speed. So remove the special handling and the
      AS_FAN_* macros and things should work now.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1135 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-06-17 22:39:13 +00:00
Mark D. Studebaker 0f18b32f8f add force_addr to i2c-ali15x3
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1133 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-06-17 21:11:59 +00:00
Mark D. Studebaker bbe26a7de0 remove #include "i2c-isa.h" which is no longer used (its contents
were copied to i2c.h in the i2c package).
      No harm was done because i2c-isa.h is still in our package, and
      it87 is not included in mkpatch yet.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1132 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-06-16 00:37:20 +00:00
Mark D. Studebaker e7b19fc456 fix duplicate subaddress msg I just put in.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1128 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-06-09 13:40:13 +00:00
Mark D. Studebaker bd63a9d9fc add check for duplicate subclient addresses and add printk's
to report subclient registration failures


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1127 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-06-09 00:36:07 +00:00
Mark D. Studebaker 2c3b57ae83 changed CONFIG_I2C_VOODOO to CONFIG_I2C_VOODOO3 since we
had some of each! Thanks Antonio Mitarotondo <anmitaro@altern.org>


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1123 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-06-08 23:03:21 +00:00
Mark D. Studebaker 82c400f76b more it87 stuff
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1122 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-06-05 01:59:26 +00:00
Mark D. Studebaker c0e033cce8 cleanup to eliminate some compile warnings
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1117 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-06-03 22:02:30 +00:00
Mark D. Studebaker 4c88636964 put #ifdefs around lm87_ain() to eliminate compile warnings
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1116 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-06-03 22:01:49 +00:00
Mark D. Studebaker 7d0c01b309 remove unused swap_bytes() to eliminate compile warning
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1115 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-06-03 22:01:14 +00:00
Mark D. Studebaker 8f5fd797f3 rename /proc entries temp, temp[1-2] to standard temp[1-3]
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1114 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-06-03 22:00:48 +00:00
Mark D. Studebaker 87c529e96d Initial checkin of it87 driver from
Christophe Gauthron <chrisg@0-in.com>


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1112 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-06-03 21:58:26 +00:00
Mark D. Studebaker 375240ab52 i2c-tsunami driver from Oleg Vdovikin <vdovikin@jscc.ru> for the
Alpha architecture. I've made compilation contingent on
      the machine being an Alpha because the driver needs kernel
      include files that are in <asm-alpha>, not <asm>, unless
      you are set up as an Alpha.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1109 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-06-02 03:52:43 +00:00
Mark D. Studebaker 5e63047a24 remove KERN_INFO in printk's - a part of the Alpha compatibility
patch from Oleg Vdovikin <vdovikin@jscc.ru>


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1106 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-06-02 03:06:45 +00:00
Mark D. Studebaker a21694024e Change from sensors_x to i2c_x for x =
_sysctl_real
		_register_entry
		_proc_real
		_detect
		_deregister_entry
		_chips_data
      which were the global symbols renamed in i2c-proc.[ch] in the
      i2c package.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1101 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-05-27 22:49:28 +00:00
Mark D. Studebaker 56f128bf5c Move the drivers which were recently added to mkpatch from the
always-built section to the only-if-not-in-kernel section
      of Module.mk.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1100 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-05-27 19:25:18 +00:00
Mark D. Studebaker 9baa5ceb85 fix broken revision detection I did in April. Thanks David Zaffiro.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1094 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-05-27 16:28:33 +00:00
Mark D. Studebaker 7a6ba966ed Apply tristate patch from Jesus Arias <jesus@ele.uva.es>
which ensures i2c Bus is tristated correctly. It isn't clear from
      the datasheet if the 586's GPIO pins are open drain or not,
      but if they aren't, then the driver was driving the pins high
      rather than letting them get pulled high as the spec requires.
      This is corrected by toggling the direction rather than the
      data register to control the bus.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1093 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-05-26 21:23:40 +00:00
Mark D. Studebaker d431a88833 Initial checkin of adm1024 driver and support in libsensors,
sensors, sensors-detect.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1090 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-05-15 03:18:18 +00:00
Mark D. Studebaker d9108ed634 fix fan min writes, fix spurious 'invalid sensor type' messages.
Patch from Kris Van Hees.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1087 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-05-13 17:09:13 +00:00
Mark D. Studebaker 627466ee11 change upper case LM87 to lower case throughout, again, hopefully
for the last time. Had an undefined LM87_init in the kernel patch.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1081 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-04-22 23:44:27 +00:00
Mark D. Studebaker c5469c2285 change from gl520sm_init() to gl520_init() to match
what is in driver so patched kernel will work with gl520.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1080 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-04-22 23:27:23 +00:00