2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-28 12:57:51 +00:00

97 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
Frodo Looijaard
abf15cf902 sensors-detect now use smbus_quick command for probes. sensors-detect
no longer tries to load i2c-proc. TODO list updates.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@504 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-07-21 20:11:27 +00:00
Frodo Looijaard
300b6bd6d7 Removed 'bit 0-6 of LM75 word read must be zero' detection check, as
it is not necessary true, as proved by Ben Jarvis


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@445 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-05-05 15:51:42 +00:00
Frodo Looijaard
6e95f32c93 Fixed small merging bug in sensors-detect
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@432 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-29 19:18:39 +00:00
Frodo Looijaard
1ade24f919 Geert's PPC support and Hydra driver
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@430 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-28 18:18:12 +00:00
Frodo Looijaard
a30f405e6e Added warning about addresses 0x69 and 0x6a on the PIIX4 before
probing it for connected chips.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@410 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-22 13:08:59 +00:00
Frodo Looijaard
2c4f8804a5 New program doc-insmod.pl to automatically document the insmod
parameters of a module.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@389 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-14 20:05:16 +00:00
Frodo Looijaard
647ad6e2b7 MAX1617A chip support (both driver and detect)
This one was easy. A MAX1617 is just a MAX1617A with better detection.
Life is beautiful!


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@375 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-10 00:05:10 +00:00
Frodo Looijaard
67689f6f5d Added detection and insmod parameters for the LTC1710
Detection is completely impossible, but sensors-detect now assumes with a
confidence of 1 (the lowest possible) that any chip in the LTC1710 address
range is a real LTC1710. Perhaps I should remove this again, as I don't
think this chip will be encountered 'in the wild' if your name is not Phil -
in which case you would have soldered it to your SMBus yourself, so you
should know what you are doing...


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@372 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-08 19:33:03 +00:00
Frodo Looijaard
5aebed32c6 Corrected ADM1021 and MAX1617 detection
Address 0x2b was also scanned, though it was not in the address range


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@366 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-07 19:08:47 +00:00
Frodo Looijaard
18f0aa90cd Corrected gl5*sm detection error: it looked for it on address 0x4[cd]
instead of 0x2[cd]


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@364 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-07 18:37:36 +00:00
Frodo Looijaard
70a35fa068 Solved a bug which made the detect program unrunnable, as reported by
Mark.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@355 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-02 22:38:47 +00:00
Mark D. Studebaker
1067bc4d69 added ds1780 recognition/support. untested.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@349 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-03-29 00:58:55 +00:00
Frodo Looijaard
15cf77b3b4 Taught the w83781d module about insmod parameters
Also fixed a small lm78 problem and synchronised the detect script with
the Winbond detection.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@341 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-03-24 21:28:22 +00:00
Frodo Looijaard
bdb8f575b7 sensors-detect new feature
The detection program can now be told that it should probe for more
addresses than the kernel driver module; it automatically generates
the necessary insmod parameters for the module if chips are found on
these non-standard addresses. Very useful for the LM78, for instance;
the driver still only check 0x20-0x2f, but the probe program checks
all addresses.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@336 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-03-23 21:48:41 +00:00
Frodo Looijaard
b4b1293b25 LM78 insmod parameters and better detection
Supported insmod parameters:
  ignore, ignore_range
  probe, probe_range
  force, force_lm78, force_lm78j, force_lm79

force* overrules ignore* overrules probe*

The *_range parameters need three elements for each specification:
  bus,start_addr,end_addr
The address ranges are inclusive.
The other parameters need two elements for each specification:
  bus,addr
In each case, '-1' stands for 'any I2C bus', and 9191 stands for
'the ISA bus' (Bonus question: who can figure out why I choose 9191?)
In each case, just append if you want several specification, for example:
  insmod lm78 probe=9191,0x2a0,1,0x56

force_* does no detection, not even chip detection; it blindly assumes
you know what you are doing. plain force does the chip detection, but
nothing else; but it can still fail if the register read-out does not
match a chip type.

Detection is done in exactly the same way as sensors-detect, except that
only the range 0x20-0x2f is examined by default. This needs to be
synchronized somehow with the detect script. I would rather scan the whole
I2C address range, but with those clueless PIIX4 hangs when clock chips
are read, that would simply give too much trouble.

The detect script has slightly better ISA detection now, too.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@325 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-03-19 06:25:02 +00:00
Frodo Looijaard
96ac13566f Finished renaming of detect.pl
* Either Phil had not done a 'cvs update', or I forgot a 'cvs commit'; anyway,
  the last changes to detect.pl have been ported to sensors-detect.
* Added a rule to the Makefile fragment to install it in $(SBINDIR).
* Added SBINDIR to the main Makefile.
* Deleted detect.pl


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@323 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-03-18 15:12:01 +00:00
Frodo Looijaard
a9a3659fe9 Minor fixes
* No more redefined complaints of MODULE_* symbols for 2.0 kernels
  This was introduced by the last archive of Simon
* Correct load order of adapters in detect script modprobe report
  You can't assume things come out of a hash in the same order as you
  put them in, of course :-(


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@303 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-03-10 20:31:58 +00:00
Frodo Looijaard
64c192a880 Updated CONTRIBUTORS file. Phil, you may want to synchronize it
with your web version.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@301 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-03-10 01:17:15 +00:00
Frodo Looijaard
d415d98250 Now modprobe line printing handles alias detections too.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@299 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-03-09 18:11:26 +00:00