Commit Graph
140 Commits
Author SHA1 Message Date
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
Frodo Looijaard 2212822342 ISA changes
* i2c-isa simplified, by using the addr field in the client structure,
  instead of a new field. This means we do not need `struct isa_*'
  anymore
* All clients changed to reflect the new isa code. Many are much
  simplified now.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@505 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-07-21 22:04:34 +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
Kyosti Malkki 6126040a88 (Kyösti)
* removed separation of GL518SM to revision 0x00 and 0x80


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@502 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-07-21 10:14:59 +00:00
Kyosti Malkki bddf810ebe (Kyösti)
* renamed SMBUS_* to I2C_SMBUS_*


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@501 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-07-21 10:12:21 +00:00
Kyosti Malkki 0bf0482e56 (Kyösti)
*  Use write-address to detect devices on the bus.

 Simple clients that you can't read, don't ack the read address.
 I believe every client has to ack their write address?


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@500 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-07-21 09:35:40 +00:00
Frodo Looijaard 24e547b88e First round of lm_sensors changes for the new I2C tree
* The i2c package can no longer be compiled as part of the lm_sensors tree
* The archive of the i2c package is removed
* smbus, i2c-dev and i2c-proc modules and headers have been removed; they
  are now completely integrated into the i2c package
* The fake i2c.h header has been removed; this also allowed us to remove
  the ugly LM_SENSORS and TBD defines.
* A new variable I2C_HEADERS is introduced in the Makefile. This allows
  us to install the i2c headers in, for example, /usr/local/include/linux.
* All files now include <linux/i2c.h> instead of "i2c.h" and "smbus.h"

Status: 'make dep' works, all the right include files are found. 'make all'
         does not yet work.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@496 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-07-19 11:45:27 +00:00
Philip Edelbrock 949f5199c5 (Phil) Slightly better looking screen updates.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@491 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-06-18 05:07:24 +00:00
Philip Edelbrock 1b4a230a5d (Phil) Improved the speed by a lot.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@490 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-06-18 04:51:16 +00:00
Philip Edelbrock e9c1b45a44 (Phil) This is a simple Perl script which reads standard input and sends
the results to the display.  Only the first four lines are read, and only
the first 20 chars of each line are displayed.

Example use:

echo -e "hi\nthere,\nhow are\nyou?" | displayit.pl

Displays this on the display:

hi
there,
how are
you?


It doesn't get much simpler than this!

TODO: The code isn't very efficient and goes slow for what it is doing.
It assumes that the display is 20x4 (easily changable).  And, it assumes
that there is only one display. This is really more of a simple example
than a feature-rich app.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@483 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-06-16 06:25:31 +00:00
Mark D. Studebaker af28af0259 First cut of Xeon Processor ID ROM decode.
Uses eeprom entries just like decode-dimms.pl.
Untested on real Xeon.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@462 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-05-13 01:19:21 +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 11f2217c4d SIS5595 entry in program sensors
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@438 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-05-01 15:36:27 +00:00
Frodo Looijaard 1725a864ac ADM9240 and DS1780 sensors program entries
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@437 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-05-01 15:28:49 +00:00
Frodo Looijaard 1a88bcd5a0 Added ADM1021/MAX1617/MAX1617A to the sensors program
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@436 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-05-01 15:03:14 +00:00
Frodo Looijaard c2549b34ca Changed hydra stuff from DOS to UNIX fileformat. Fixed bug in isadump.
Thanks, Geert.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@434 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-30 12:30:04 +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 0f2965dbe7 GL518SM: sensors program now prints the voltages if readall=1
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@418 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-22 21:15:09 +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 a8bb8d9d3b Maxilife documentation and library updates
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@406 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-21 15:11:25 +00:00
Mark D. Studebaker d70c450c78 Added sensor[1-3] support for w83782d/783s to 'sensors'.
Now prints out what kind of sensor it is.
Also separated alarms for temp2 and temp3 for 782d/783s (they are
a single bit for 781d).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@400 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-20 01:49:51 +00:00
Frodo Looijaard db7cba03ca ADM1021 documentation
The old documentation of Phil is still present at the bottom of the file.
Phil may decide to remove it.

In the driver, file 'status' is renamed to 'alarms' and masked to display
only the alarm bits. This fits more closely with other drivers, and the
remaining bit was not interesting anyway.

I fixed a problem that made insertion of the module impossible (I made a
typo when I introduced the insmod parameters) *** Someone else seems to
have changed this at almost the same moment?!? Now it is correct. ***

The MAX1617 and MAX1617A are now also supported by the library.

Once more, some slight formatting changes are made in the documentation
generators (some columns were made wider).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@395 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-15 22:19:59 +00:00
Frodo Looijaard 0b3a22ba4c Documentation for the LM80 module
Also a very slight formatting improvement for the module parameters
documentation script, and a typo from the LM78 documentation removed.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@393 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-15 19:10:27 +00:00
Frodo Looijaard 174f451f7a Final slight changes to the documentation generators.
lm75 and lm78 documentation files are now up-to-date.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@392 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-14 21:06:31 +00:00
Frodo Looijaard 51f328e727 Example documentation for the lm78 and lm75 modules
Very slight formatting changes in documentation generators


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@391 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-14 20:50:06 +00:00
Frodo Looijaard b5860b65b0 doc-features now understands command-line given chip prefixes
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@390 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-14 20:44:42 +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 548b2e8b3b Updated TODO, slight correction in doc program
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@385 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-13 02:10:56 +00:00
Frodo Looijaard 56c373e592 Rewrote the doc-features program in Perl.
This program scan the C-sources of the library and all kernel modules and
outputs everything it can find about all features.

To do: sort features and add command-line parameters, implement slightly
       better layout.

The perl program completely replaces the C program and already has
much more functionality.

This program will be very helpful to write the kernel module documentation,
and especially to keep it up-to-date: as the C sources are examined,
updates need only be done at one place, in the source code.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@384 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-13 02:06:36 +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 914d577e9d Small sensors-program bug fixed (Klaus Woltereck's report)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@331 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-03-22 00:40:40 +00:00
Philip Edelbrock 1ac215f6a1 (Phil) Added Fons Rademakers' <Fons.Rademakers@cern.ch> MaxiLife driver.
I've reviewed and applied the patch, but I would like some others to review
these commits too, to be safe.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@327 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-03-19 21:11:33 +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
Philip Edelbrock 9649496dc0 (Phil) Renamed 'detect.pl' to 'sensors-detect'.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@322 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-03-18 05:33:03 +00:00