Commit Graph
182 Commits
Author SHA1 Message Date
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
Kyosti Malkki d4fe780d20 (Kyösti)
- SiS 5595 patches, thanks to Olaf Titz


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@632 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-11-18 23:42:12 +00:00
Mark D. Studebaker 431bc93826 (mds) fix as99127f detection again.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@630 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-11-14 17:45:29 +00:00
Mark D. Studebaker 7397fcbf24 (mds) add detection for AMD-756 Athlon chip. No I'm not writing the driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@629 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-11-14 17:29:50 +00:00
Frodo Looijaard c34175d0a2 Changed sensors-detect to understand i2c-isa.o and other dummy
adapters.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@627 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-11-13 22:57:17 +00:00
Mark D. Studebaker b2a1ac6622 (mds) Try again for as99127f detection. Remove verification of
address register 0x48.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@625 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-11-12 03:13:22 +00:00
Mark D. Studebaker bce5bc715f (mds) Fix detection for as99127f (hopefully)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@620 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-11-05 04:08:07 +00:00
Mark D. Studebaker 5ba1006fbb (mds) add libsensors and sensors support for:
lm84, gl523, thmc10, lm81, thmc50, adm1022.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@616 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-10-30 23:31:39 +00:00
Mark D. Studebaker f6edfe75bd (mds) Add support for the Asus AS99127F. Treat as an I2C-only W83782D for now.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@614 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-10-30 21:26:21 +00:00
Mark D. Studebaker dee0c2529a (mds) remove bomb-causing commas I put in at lines 249,255 (gl520/525)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@613 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-10-30 19:51:37 +00:00
Mark D. Studebaker 34f4db93a2 (mds) fix lm84/gl523 syntax errors. Add gl525 detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@605 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-10-20 02:53:38 +00:00
Mark D. Studebaker d23580c058 (mds) fix LM84 detection. Mfr ID in different place than the other chips.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@604 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-10-20 02:13:51 +00:00
Mark D. Studebaker d5f72aebac (mds) add support for gl523sm (adm1021 clone) to adm1021.c and sensors-detect.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@603 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-10-20 02:00:43 +00:00
Mark D. Studebaker 129e08cc94 (mds) Add support for LM84 (ADM1021 clone) to adm1021.c and sensors-detect.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@602 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-10-20 01:51:27 +00:00
Mark D. Studebaker 96f1a50f69 (mds) add in name of thmc50/adm1022 driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@590 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-10-02 14:24:07 +00:00
Frodo Looijaard ffc59b8de5 Added some warnings in sensors-detect
It now warns you about built-in drivers, and should always work. It will
still give a too long list of modules if some things are built into the
kernel. There is no real solution to this; the best thing to do would
probably be to ask the user where the kernel tree is located, and use
.config to determine what is built into the kernel. But not everybody
has such a kernel tree - especially once we get to the point where
people will distribute binary versions.

I also updated the list of undetectable adapter.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@589 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-09-30 15:59:13 +00:00
Frodo Looijaard fc20445e02 Surer `make clean' implementation
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@581 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-09-27 10:52:50 +00:00
Mark D. Studebaker b44bd6f578 (mds) Added adm1022/thmc50 detection. Confidence 8. No driver though.
Changed adm9240 confidence from 8 to 7 to let adm1022 win,
      not sure about register 0x3F in adm1022.
      Removed 0x69 from i2c range on all drivers, that address
      looks entrenched for clock chips.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@540 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-08-28 19:10:27 +00:00
Mark D. Studebaker 5b90d68570 (mds) fixed formatting for Mfr. JEDEC code, part number. Added ASCII
output for JEDEC code since it sometimes is actually Mfr. name.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@534 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-08-23 00:14:56 +00:00
Mark D. Studebaker 0208181806 (mds) add support for TI THMC10 to the adm1021 driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@533 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-08-22 22:58:52 +00:00
Mark D. Studebaker 5f77505190 (mds) add lm81 support to the adm9240 driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@532 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-08-22 17:52:38 +00:00
Mark D. Studebaker b69137b355 (mds) add detection for Intel 82801AA and 82801AB I/O Controller Hubs
(part of the 810 chipset for Celeron processors)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@527 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-08-16 01:42:28 +00:00
Mark D. Studebaker 9e81117fbf (mds) Add support for w83627hf to 'sensors' program.
Assumed at this time to be identical to w83782d.
      No 627hf datasheet yet.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@526 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-08-15 21:34:21 +00:00
Mark D. Studebaker 253e0f1e38 (mds) Corrected W83782D detection (added ISA).
Corrected W83783S detection (removed ISA).
      Added W83627HF detection (chip ID = 0x20).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@524 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-08-15 20:23:31 +00:00
Kyosti Malkki 8861601cc2 (Kyösti)
* removed algorithm registration in i2c-isa
 * renamed i2c-via2.o to i2c-viapro.o in the driver messages
 * added detection for new drivers in sensors-detect script
 * minor gl518sm fix


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@522 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-07-27 16:51:00 +00:00