Commit Graph
483 Commits
Author SHA1 Message Date
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
Mark D. Studebaker 43500d6139 fix off-by-one bug in sensor type reads/writes in mtp008.
you would get the wrong sensor.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1079 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-04-21 22:52:34 +00:00
Mark D. Studebaker 79c341d475 add support for force_addr to i2c-sis5595.
Also automatically enable ACPI if it was disabled.
      Forcing address doesn't work on my test system, but hey,
      at least I tried to test it...


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1077 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-04-21 21:57:40 +00:00
Mark D. Studebaker 25d40a14dd add force_addr param to sis5595. Tested, however on my
test system I can't write the enable bit. Don't know why.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1076 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-04-21 20:54:47 +00:00
Mark D. Studebaker e4ed326c80 fix comments
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1074 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-04-21 20:03:07 +00:00
Mark D. Studebaker de2652db9e Change base-address-setting parameter from force or force_via686a
to force_addr. It is now consistent with the bus PCI adapters
      that support base address setting (piix4, i801, viapro).
      Other benefit is that via686a_find can now return -ENODEV,
      and module will fail to load when base address is not set and
      parameter is not used.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1073 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-04-21 19:49:15 +00:00
Mark D. Studebaker ffedd9fa93 add back temperature support for version 1 of chip.
The temperature registers are in different places for the two
      versions. Both versions unfortunately have the same PCI ID.
      Apparently the temperature conversion formulas are different
      for the two versions. Neither is yet implemented in the driver.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1070 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-04-14 01:39:10 +00:00
Mark D. Studebaker 0ac4a8d35b in4 fixes + more cleanup
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1068 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-04-10 01:47:56 +00:00
Mark D. Studebaker bea2bbf99e fix sis5595 temp (and temp min, max, alarm). These registers are
in a different place than the LM78, which this driver was copied from,
      so temp was completely broken.
      Temp shares a pin and registers with in4; add in4 support, recognize
      chip configuration and act accordingly.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1067 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-04-09 23:20:13 +00:00
Mark D. Studebaker 28e81cce5a fix sis5595 temp alarm bit location
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1065 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-04-09 22:55:19 +00:00
Mark D. Studebaker 18305cfc54 add in4 for sis5595 to library
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1064 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-04-09 22:52:28 +00:00
Mark D. Studebaker b7ade0b926 fix bug in lm84 and gl523sm support; driver would recognize the
chip and then return an error code anyway.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1058 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-04-04 23:12:34 +00:00
Mark D. Studebaker cddd0a915e Don't reset the as99127f chip at startup. This may improve things
that are configurable as we will count on the BIOS to configure
      the chip correctly. This will likely change fan and temperature
      readings for some users.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1039 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-03-20 01:46:44 +00:00
Mark D. Studebaker 53befd189c use normal_i2c[] instead of normal_i2c_range[] since only one address.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1037 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-03-19 23:56:55 +00:00
Mark D. Studebaker db52f427a6 Change mtp008 temperature reporting from max/min to limit/hyst.
Change initial values in driver from 70/5 to 70/50.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1032 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-02-23 03:23:49 +00:00
Mark D. Studebaker 6b9ce051d3 preserve pin settings from registers 0x57 and 0x58 at startup.
These select fan type (2 or 3 wire) as well as temp sensor type
      (thermistor or diode) and temperature vs. voltage sensing for
      two pins. This should help those on various Tyan mobos.
      Driver used to reset the chip and then program a fixed setting which
      worked for the Tyan S1824D board but not for Tyan 2510.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1030 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-02-23 01:06:07 +00:00
Mark D. Studebaker 11a8bf78fa renamed i2c_i810i2c_init() to i2c_i810_init()
to match what mkpatch patches in patched kernel.
      Affected only kernel patches; standalone build was fine.
      Ticket # 492.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1026 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-02-20 02:12:39 +00:00
Mark D. Studebaker b799b5e41e fix temp2 max initialization (70 instead of 7)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1021 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-02-10 22:07:17 +00:00
Mark D. Studebaker b5d014bd46 Disable sensors.c and i2c-isa.h in the Module.mk files.
Leave the files there for now.
      Remove old installed sensors.o in kernel/Module.mk.
      sensors.c was moved to i2c-proc.c in the i2c package.
      i2c-isa.h was appended to i2c.h in the i2c package.
      Delete all but the SYSCTL and ALARMS definitions in sensors.h,
      as the rest of the file was moved to i2c-proc.h in the i2c package.
      Remove #include "i2c-isa.h" lines in all chip drivers and
      in bus driver i2c-isa.c.
      This all probably breaks mkpatch.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1015 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-02-06 02:53:46 +00:00
Mark D. Studebaker 377be956da PCI chip detection cleanup.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1011 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-02-03 20:48:43 +00:00
Mark D. Studebaker b4b343d74b claim support for Via 686B. Same PCI id as 686A. No driver changes.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1010 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-02-03 19:22:54 +00:00