Commit Graph
3924 Commits
Author SHA1 Message Date
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
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
Mark D. Studebaker 8701621657 (mds) minor updates.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@662 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-04 02:49:20 +00:00
Merlin Hughes 8e5830460f (Merlin) Added simple sensord sensory logging daemon. Not installed by
default. Now uses libsensors. Ripped the display formatting code from
sensors (with some modification) but needless to say I've only tested
a single chip. Doesn't support alarms yet. With a bit of work, could
share the display formatting code with sensors so just one source needs
updating. Compiles on my machine.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@661 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-03 00:48:25 +00:00
Frodo Looijaard 7fe47c13ba Made the reference to SENSORS_W83782D_FAN3_DIV - it referenced
SENSORS_W83781D_FAN3_DIV before (copy&paste error...)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@660 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-02 23:14:53 +00:00
Merlin Hughes dc8c852723 (Merlin) Took the liberty of adding SENSORS_W83782D_FAN3_DIV, copied W83781D.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@659 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-02 21:26:55 +00:00
Merlin Hughes 4343e90a9b (Merlin) removed some legacy piix constants and comments.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@658 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-02 21:16:29 +00:00
Frodo Looijaard 1e0cbbe5c7 Hopefully fixed dependencies once and for all...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@657 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-02 14:22:35 +00:00
Philip Edelbrock 6cf56587d1 (Phil) Prep for 2.4.4 release. I also reordered a couple checklist items
in a more logical order (for me anyway).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@656 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-02 03:29:13 +00:00
Frodo Looijaard bf14de051f New SiS5595 SMBus driver
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@654 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-02 02:05:25 +00:00
Frodo Looijaard be2a5407e9 Fixed bug in PIIX4 driver: it claimed to do SMBUS_PROC_CALL.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@653 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-02 01:45:58 +00:00
Philip Edelbrock 5a686e9751 (Phil) Simple Perl script to generate passwords for CVS!
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@652 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-02 01:22:31 +00:00
Frodo Looijaard c158f1b4a6 Moved AMD756 ID to the main i2c-id.h file
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@651 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-02 00:50:47 +00:00
Frodo Looijaard 296ac5f517 Oops, corrupted access.c in the last commit...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@650 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-01 21:12:03 +00:00
Frodo Looijaard 59bd758cd7 Something in the README about ways to determine your chips
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@649 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-01 21:07:51 +00:00
Frodo Looijaard 389f9b89f3 i2c-detect now checks whether SMBus quick write is in the
functionality matrix.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@648 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-01 15:47:11 +00:00
Frodo Looijaard 77051058bb A bit too optimistic in my last commit - still more disagreement
about init function names that needed to be fixed.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@647 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-01 01:08:11 +00:00
Frodo Looijaard b9831fbfcd Fixed the strange compile problems some people had
Reasons varied from typos (_ instead of -) to static declarations that
should have been extern.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@646 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-01 00:57:44 +00:00
Frodo Looijaard 5059c482fd Just to make sure, added `#include <linux/version.h>' at several
other places.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@645 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-01 00:48:34 +00:00
Frodo Looijaard efe7346ff5 Small fix: sis5595.c did not compile into the kernel, because
<linux/version.h> was not included (it was automatically
       included by <linux/module.h> when a module, but that is not good
       enough of course...)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@644 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-01 00:36:38 +00:00
Frodo Looijaard 1238d9ab44 New i2c-amd756 driver by Merlin Hughes <merlin@merlin.org>
sensors-detect detection is now complete; I think nothing else needs
to be done in the tree?!? (except documentation of course)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@643 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-01 00:33:33 +00:00
Frodo Looijaard 100bbc916c Fixed VIA dependency on bit-banging algorithm
For better results, we should restructure the Config dialog, but this will
do for now.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@642 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-11-30 22:51:20 +00:00
Frodo Looijaard 9951d5c9d0 A few files not committed for some reason in the previous run
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@641 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-11-30 20:49:45 +00:00