Commit Graph
206 Commits
Author SHA1 Message Date
Merlin Hughes ae68e2238c Made a few changes to nonstandard sensord:
. added support for via686a and other new chips
. added support for alarms and beeps
. updated to log through syslog instead of a custom logfile
. updated so when run as "sensors" (ln -s sensord sensors) it
  mimics the existing sensors command except for formatting
. modularized a bit
Yet to do:
. complete support for alarm checking without sensor logging
. signal alarms through syslog level ALERT
. add final support for multivalued alarms
. check up on some questions about existing sensors command
. update manual page inc. notes on syslog usage
. test more fully
-- merlin


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@828 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-07-02 22:49:34 +00:00
Frodo Looijaard 93f3a9f7ac All tools now understand both /dev/i2c-* and /dev/i2c*
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@827 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-07-02 18:11:31 +00:00
Frodo Looijaard e72953e4fc Even better reporting for unknown adapters
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@826 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-06-25 18:34:30 +00:00
Frodo Looijaard 8b1076786d sensors-detect patches
* W83783S now correctly assumes only one LM75-like chip address
* No more runtime-errors if an unknown adapter was found.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@825 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-06-25 18:25:52 +00:00
Frodo Looijaard 66434a0213 Updated version numbers, as well as the release checklist.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@820 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-06-18 16:45:12 +00:00
Mark D. Studebaker 8451f2c415 (mds) adm1025 temp1 printf cleanup.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@817 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-05-27 14:57:35 +00:00
Mark D. Studebaker 7b714e3c02 (mds) add w83697hf detection. No driver support yet.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@810 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-05-20 19:45:13 +00:00
Mark D. Studebaker 3bcef963d5 (mds) fix as99127f "(beep)" inversion for real this time.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@808 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-05-14 18:43:36 +00:00
Mark D. Studebaker a1e9951ac6 (mds) For as99127f, remove some entries and invert beep bits.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@806 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-05-13 17:28:52 +00:00
Mark D. Studebaker 7f86b419d6 (mds) add Winbond-style bank selection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@805 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-05-12 00:16:08 +00:00
Mark D. Studebaker 8b860eef24 (mds) add adm1025 support.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@804 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-05-11 02:04:30 +00:00
Mark D. Studebaker 7430b0b9ec (mds) add driver name for adm1025 detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@802 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-05-11 01:44:14 +00:00
Mark D. Studebaker a2aaaa6608 (mds) added Winbond-style bank selection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@798 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-05-06 17:49:53 +00:00
Mark D. Studebaker 460b9b858d (mds) new Maxilife tools from Fons R.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@791 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-04-15 17:26:58 +00:00
Mark D. Studebaker d3383e4082 (mds) add ADM1025 detection. No driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@784 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-03-19 22:06:54 +00:00
Mark D. Studebaker f1c7367ebf (mds) also fix the description for the Intel ICH0 (2423) so it will match.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@776 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-03-15 02:45:51 +00:00
Frodo Looijaard 60851c96e3 Fixed previous sensors-detect correction :-(
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@775 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-03-15 00:26:50 +00:00
Frodo Looijaard 9d2d3b4c91 Steve Beer's sensors-detect fixes for i2c-i801, with a twist
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@773 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-03-14 23:55:39 +00:00
Mark D. Studebaker 27a40250d5 (mds) Change via686a temp prints from %3.0f to %3.1f (0.1 C precision)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@760 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-03-08 02:23:30 +00:00
Mark D. Studebaker 88d984681d (mds) add Via 686A integrated sensors detection. Untested.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@743 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-03-04 16:21:48 +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 8be410c1fa Fixed SIS5595 detection
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@739 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-02-29 15:28:42 +00:00
Mark D. Studebaker f16d591d45 (mds) -Wall cleanup.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@732 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-02-07 03:16:03 +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
Frodo Looijaard 247b6a7ded Fixed two slight errors regarding the new bus handling code for
sensors-detect.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@723 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-02-02 20:57:46 +00:00
Frodo Looijaard 0aedf2d5d1 sensors-detect should cope better now with adapters with multiple
busses

The changes are large and tricky, so it is almost certain there are
many bugs. Please run sensors-detect and tell me whether it works
correctly or not.

All changes are in the routines that print the modprobe statements at
the end, so if it fails, it will fail there.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@720 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-02-01 21:12:43 +00:00
Mark D. Studebaker 8fe6d49887 (mds) added simple eeprom and ddcmon support to sensors and libsensors.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@716 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-01-30 01:20:51 +00:00
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 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
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
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
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 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
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 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 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 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
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 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 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 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 3a48853a5e Some additional things to do when releasing.
Added/changed:
- Update, if necessary, the version number of `sensors'
  (edit prog/sensors/sensors.c and change the VERSION define)
- Update if necessary, the version number of libsensors
  (edit lib/Module.mk and change LIBMAINVER and/or LIBMINORVER)
  Remember: update main number when interface changes, minor if new
  functionality is added, and patch if only bugs are fixed.
- Update lm_sensors.lsm and send it to the LSM by mailing it to
  lsm@execpc.com with the subject `add' (no quotes).

Also bumped up the `sensors' version number (should have done that
long ago), it is now at 1.0.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@636 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-11-20 19:45:47 +00:00