Commit Graph
261 Commits
Author SHA1 Message Date
Frodo Looijaard 2fd866bf42 Winbond detection fix.
It should now correctly prefer the Winbond above the LM78 for ISA probes.
I hope.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@271 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-24 01:16:40 +00:00
Frodo Looijaard cf8f722ab7 Latest fixes for Adrian's latest bug report (got deja-vu yet?)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@270 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-24 01:12:05 +00:00
Frodo Looijaard 5efb1b0535 Fixed typo.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@269 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-24 00:28:05 +00:00
Frodo Looijaard 4d0315d601 Selective probing of I2C busses added.
All main functionality is now available; please test and send the output
of the summary to me!


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@268 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-24 00:22:52 +00:00
Frodo Looijaard 9392875415 Added Sis5595 detection
All supported chips are now detected, both on the ISA bus and the I2C bus.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@267 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-23 23:16:09 +00:00
Frodo Looijaard 63848afc0b Alias detection completed for Nat. Sem. LM7* and Winbond chips
A few ISA detections must still be added; also, I want to add the option not
to scan certain I2C addresses.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@266 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-23 20:28:05 +00:00
Frodo Looijaard cfece5dd19 ISA detection is completed for LM7x and W8378xx
No alias detection (ie. detection of chips connected to both ISA and I2C bus)
is done yet; but all hooks are in.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@265 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-23 14:14:32 +00:00
Frodo Looijaard 0411f7810c Basic ISA probing added, not yet called
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@264 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-22 20:40:16 +00:00
Frodo Looijaard 0560ad7508 More detect bugfixes, this time before Adrian can find them :-)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@263 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-22 19:51:49 +00:00
Frodo Looijaard c970185246 Several detect things:
* W83782D and W83783S detection added;
* Adrian's latest Winbond detection problem solved;
* inb/outb added (not used yet)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@262 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-22 18:20:35 +00:00
Frodo Looijaard 44d0906e31 Fixed Winbond LM75 emulations non-detect
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@261 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-20 14:40:24 +00:00
Frodo Looijaard 5aa9472f10 ADM1021/MAX1617 now reports the right driver;
Winbond now correctly detected.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@260 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-20 01:15:00 +00:00
Frodo Looijaard 2109930938 Winbond should now overrule the LM75
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@259 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-20 00:54:55 +00:00
Philip Edelbrock 682dc3114e (Phil) Updated the URL for Brendon's KLM software.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@258 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-19 20:40:55 +00:00
Frodo Looijaard 873a6ff023 Fixed small bug, which caused the lowest confidence value to be
selected, instead of the highest (try again now, Adrian)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@257 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-19 20:23:29 +00:00
Frodo Looijaard 4d3a3f5245 Already a small bugfix...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@256 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-19 18:12:27 +00:00
Frodo Looijaard 97a5c5637f Detect now ouputs an overview of what drivers to load and which you
definitely should not load.

Also fixed GL520 detection bug. Some other bugs are probably still there.

The report is generated using a very intricate data structure. There
can easily be hidden problems. Just test, test, test :-)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@255 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-19 18:11:03 +00:00
Frodo Looijaard 6939ff4f80 Ali detection corrected (thanks Mark)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@254 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-19 02:34:53 +00:00
Frodo Looijaard da240f5790 Removed a couple of priority errors, corrected a spelling mistake and
swap_bytes(). I hope no more of these things lurk... Thanks, Adrian!


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@253 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-19 02:30:17 +00:00
Frodo Looijaard 0cc005e76c Detect script with user-interface
It is already very usable, but not quite finished. The final product will
also collect the needed drivers, and output them as modprobe lines and/or
in other formats.

The most important thing right now is to test where possible the detection
algorithms.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@252 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-19 01:52:29 +00:00
Frodo Looijaard 630e144fc9 Detection for all other supported chips added
Still no userinterface; see previous commit


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@251 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-18 21:14:48 +00:00
Frodo Looijaard 0e278ee57f Detect script: actually works for chip detection!
Well, it still takes some tinkering, and I need to create a user-interface.
If you want to play with it already:
  * Uncomment the line beneath test, and put the adapter number (as
    corresponding with /dev/i2c-*) behind it as argument;
  * It only detects LM78, LM78-J, LM79 and LM80 at of this moment;
  * Only LM75 detection is really tested, as I don't have my LM78 connected
    to the SMBus.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@250 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-18 18:09:14 +00:00
Philip Edelbrock bcbf38a511 (Phil) OK, tagging and releasing 2.2.2. I think I might have found the CVS
bug (checked out as one user, and commiting as another to the same checked
out project?).  Anyways, things seem to be OK now (I hope!).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@249 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-18 17:18:47 +00:00
Frodo Looijaard 089481f07d Two insignificant patches to remove 2.0.x kernel compile warnings.
It compiles now cleanly against kernel 2.0.36; I checked, double-checked and
cross-checked.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@247 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-18 14:31:54 +00:00
Frodo Looijaard 1e6a3fb89c Made i2c-core a bit quieter (removed those Transaction logs)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@246 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-18 14:21:37 +00:00
Frodo Looijaard d4ae94bf20 Huh? My ALI patch did not take?!? Let's try again...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@245 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-18 13:19:29 +00:00
Frodo Looijaard 313a5bb78f Latest and greatest detect.pl. Still no user-visible things added; but
I am preparing for the real work now!


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@244 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-18 00:19:19 +00:00
Philip Edelbrock 5c7209e5f0 (Phil) Tag and release 2.2.1
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@243 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-17 23:32:14 +00:00
Frodo Looijaard 0e5d97b61a Recommit of detect.pl; this time it should be right!
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@241 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-17 23:26:04 +00:00
Frodo Looijaard 30cac4b4fb Now all SMBus access functionality of i2c-dev.h is available in this
perl script too.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@240 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-17 23:24:24 +00:00
Frodo Looijaard ae70d90ba1 Updated CHANGES file to prepare for 2.2.1 release
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@239 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-17 23:12:28 +00:00
Frodo Looijaard 58f9fe39aa IOCTL access to /dev/i2c-* files from Perl implemented
It needs to be expanded a bit and tested, but this means I can start to
write chip detection routines from Perl!


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@238 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-17 20:55:23 +00:00
Frodo Looijaard a9cc710cc7 Two small warnings (one to the point) removed when DEBUG=1
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@237 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-17 19:19:23 +00:00
Frodo Looijaard 6e404a91d9 Stupid ADM1021 detection bug fixed (thanks Mark!)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@236 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-17 00:20:36 +00:00
Kyosti Malkki ed83727f04 (Kyösti) For gl518sm-r80 prog/sensors now shows vdd, vin1 and vin2 instead
of error message. The driver itself still uses rev 0 factors for scaling.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@234 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-16 22:13:22 +00:00
Frodo Looijaard d78cd0cb5f Removed some compiler warnings
All our own code (ie. anything not in the i2c directory) compiles now without
warnings, even with WARN=1 (which sets -Wall -Wstrict-prototypes -Wshadow
-Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs
-Winline). There is one exception: the lex code (conf-lex.l) complains about
unused functions. That's flex' fault, not ours!

The i2c code still emits many warnings with the above flags; that's Simon's
problem.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@233 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-16 21:59:05 +00:00
Frodo Looijaard 5402bf4b71 Added MAX1617 support, and documented it.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@232 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-16 21:33:41 +00:00
Frodo Looijaard 28fe392899 Renaming of isa->i2c_isa in INSTALL file
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@231 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-15 21:14:46 +00:00
Frodo Looijaard c2df76f789 Added what programs are needed for compilation to the INSTALL file.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@230 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-15 15:56:45 +00:00
Philip Edelbrock ae4407921d (Phil) Added my little daemon program. For the record, here's some
features of it:

- As long as the 'sensors' program works correctly, healthd.sh is compatible
  with any hardware.

- Very low loading.  Just sleeps (like me) most of the time.

- Easily customizable (very simple and short script).


Todo's/wants:

- Syslogging?  I couldn't figure out how to syslog from bash shell (yet).

- After one test, it failed to be automatically 'spawned' from a rc.local
  script.  I did "healthd.sh &", but that didn't seem to work.  Ideas?

- a history utility for making pretty plots and such.

- Written in 'C' for better functionality and efficiency?


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@229 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-15 05:42:01 +00:00
Mark D. Studebaker e846385f75 clarified documentation on enabling device in BIOS.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@228 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-15 00:59:04 +00:00
Frodo Looijaard a8e06c5456 Added i2c-ali15x3 driver reference to detect script
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@227 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-14 13:58:24 +00:00
Philip Edelbrock b66a69365a (Phil) Moved doc/piix4 to doc/i2c-piix4.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@226 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-14 06:08:42 +00:00
Kyosti Malkki e29c9a7459 (Kyösti) Made sensors program to use print_lm78 function for the
SiS 5595 southbridge.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@225 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-12 08:14:36 +00:00
Kyosti Malkki c28bee6cfd (Kyösti) Copied LM78 entrys to SiS5595 entrys in chips.[ch]
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@224 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-12 08:10:54 +00:00
Mark D. Studebaker f37cfac60f Fixed spelling of 'hysteresis' in printf's
(from the Greek meaning 'shortcoming').
A word electrical engineers like me learn to know and love.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@223 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-12 06:25:38 +00:00
Mark D. Studebaker 491eefbffc removed indent on comment on line 10 which caused my
make (gnu make V3.71) to fail.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@222 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-12 06:14:02 +00:00
Mark D. Studebaker 071877a923 shortened the comments a little since we have a file in the doc directory.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@221 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-12 06:13:34 +00:00
Mark D. Studebaker 3a68d1e116 new file to document ali15x3 driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@220 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-12 06:12:17 +00:00
Frodo Looijaard cf243b3072 Removed offending ISA test. Added warning about renamed modules.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@219 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-12 05:47:07 +00:00