Commit Graph
696 Commits
Author SHA1 Message Date
Mark D. Studebaker 7a7a07c6a3 (mds) Referenced ddcmon driver. Commented out 0x51-0x57 checking for ddcmon,
not working for me. Have to ask Petr.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@714 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-30 01:15:29 +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 d6c9ee0be1 (mds) fixed troff macro typo at end. (, changed to .)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@712 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-30 01:04:39 +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
Frodo Looijaard 83d5845df5 Removal of kernel 2.0 and 2.1 compatibility: pass three
Modified mkpatch and documentation


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@706 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-24 20:17:49 +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
Frodo Looijaard 7e0cd89eec Fixed a small bug - return code not returned.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@703 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-23 21:32:31 +00:00
Philip Edelbrock 1045ef2cd9 (Phil) Prep for 2.4.5 release.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@701 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-17 22:04:21 +00:00
Frodo Looijaard c70db36b68 Updated CHANGES file
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@700 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-16 22:38:30 +00:00
Mark D. Studebaker bbdcd94a3d (mds) add Banshee and DDC information.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@699 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-15 19:10:07 +00:00
Mark D. Studebaker b2cde3487e (mds) Add Banshee support and DDC bus support.
Simultaneous DDC and I2C access may cause errors.
      No support for multiple Voodoo3/Banshee chips, only first one
      is handled.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@698 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-15 19:01:54 +00:00
Mark D. Studebaker 2d35888ed8 (mds) add bus list to help() routine, like was previously
done to i2cdump.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@697 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-15 18:59:20 +00:00
Mark D. Studebaker 8f25a91438 (mds) add Voodoo3 and Banshee recognition.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@696 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-15 18:55:55 +00:00
Frodo Looijaard 77875f184c And yet another sensors.config.eg correction, thanks to Arvids
(arvids@vendomar.lv).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@695 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-12 20:21:14 +00:00
Frodo Looijaard b21eb11f02 LM80 sensors.conf corrections
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@694 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-12 16:28:47 +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 13f7d150e0 (mds) Change ioctl from I2C_SLAVE to I2C_SLAVE_FORCE so that
you can run i2cdump even when a driver is installed.
      Add a cat of /proc/bus/i2c to the help function to help
      users with the bus number argument.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@690 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-09 22:45:57 +00:00
Mark D. Studebaker 136a65eede (mds) change my email addr.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@689 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-08 16:53:46 +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
Mark D. Studebaker 0ead31aaf1 (mds) Some helpful hints on setting fan divisors.
I always forget whether to increase or decrease so I figured
      it out and wrote it down.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@685 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-08 03:42:38 +00:00
Frodo Looijaard 8250fb4ed7 Fixed voodoo3 for kernel 2.3.37.
Please test. Changes in voodoo3_setup:

* Use pci_find_device instead of traversing the list ourselves;
* Eliminate flag, testing v3_num is just as good;
* Elimiate result, it was not used anyway.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@684 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-07 17:16:27 +00:00
Frodo Looijaard bbbcc3ec2d Better INSTALL instructions about compiling the package when
you have already patched your kernel.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@683 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-04 21:37:30 +00:00
Frodo Looijaard 9fd2dc740e Changed W83783D detection as noted by Andreas Kurt Wege
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@682 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-03 16:51:37 +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 d92cb07a98 Two bug fixes
* DDC only looked for on 0x50, as other addresses are treated as
  sub-addrs;
* LM78-J again displays right driver (oops...)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@680 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-30 02:07:24 +00:00
Frodo Looijaard 31bb93646b Applied Petr Vandrovec's patch for matrox cards and DDC detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@679 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-29 23:10:48 +00:00
Frodo Looijaard 90bc2835e6 Fixed a problem when the same address was used on different adapters
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@678 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-29 20:13:25 +00:00
Frodo Looijaard 8ffd490521 Slight formatting correction for ADM1021 chips, as committed by
Klaus Woltereck


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@677 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-25 00:40:44 +00:00
Frodo Looijaard 8199abde46 New sensors.conf keyword 'ignore'
This often-asked for, long-planned and somewhat-forgotten feature
makes it possible to tell libsensors-linked applications (like
the sensors program) that certain features should not be displayed.
This is very nice for things like unconnected temperature sensors
or fans.

Modifications to the library code, to the sensors program and to
the documentation and example sensors.conf file.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@676 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-24 22:44:41 +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
Frodo Looijaard 258c8dd869 Olaf Titz <olaf@bigred.inka.de> patches for the SIS5595 driver
It still does not work - but I need more feedback to determine what
is happening.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@674 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-24 19:44:34 +00:00
Frodo Looijaard 406af47121 Update in INSTALL and README to reflect the new i2c code in kernels
2.3.34 and newer.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@673 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-21 23:40:26 +00:00
Frodo Looijaard 1c3ed32ebd Added entry in the MAINTAINERS file
Please check the data below; for now, I have listed myself and Phil as
maintainers. If you would like that changed, Phil, please feel free.

# P: Person
# M: Mail patches to
# L: Mailing list that is relevant to this area
# W: Web-page with status/info
# S: Status, one of the following:

SENSORS DRIVERS
P:      Frodo Looijaard
M:      frodol@dds.nl
P:      Philip Edelbrock
M:      phil@netroedge.com
L:      lm78@stimpy.netroedge.com
W:      http://www.lm-sensors.nu/
S:      Maintained


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@672 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-21 23:27:15 +00:00
Philip Edelbrock 77ce5b9fed (Phil) Slight update to the I2C download/kernel integration info.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@671 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-21 17:29:30 +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 0e3dc7204e Added warning if i2c patches were not applied first.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@669 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-13 12:29:07 +00:00
Frodo Looijaard f8ed5fc6ce Adrian's cosmetic newline
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@668 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-10 19:44:00 +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
Frodo Looijaard 6ee1e9f4bd Fixed sensors-detect croak, I hope
Forgot to put in a few braces :-(


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@665 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-05 23:54:23 +00:00
Frodo Looijaard d14ecfa522 sensors-detect now shows aliases
Could somebody with a LM78 or W83781D on both SMBus and ISA bus please test
this? It should say `Alias of the chip on I2C bus `...' address `...''
when scanning the ISA bus.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@664 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-05 20:15:43 +00:00