2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-31 14:25:39 +00:00
Commit Graph

4145 Commits

Author SHA1 Message Date
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
Frodo Looijaard
b8ea339ede Minor change in piix4 docs
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@218 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-12 05:44:02 +00:00
Frodo Looijaard
9fb56e78bf More documentation updates
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@217 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-12 05:43:22 +00:00
Frodo Looijaard
8092ca63cf Documented cdrom.o bug and fix.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@216 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-12 05:38:23 +00:00
Frodo Looijaard
17f4d3acdf Updated some documentation files.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@215 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-12 04:56:34 +00:00
Kyosti Malkki
b1f55390ae (Kyösti) Reverted to previous version, with only typos corrected.
Temp and fan alarms yet to be fixed.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@214 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-11 20:06:08 +00:00
Kyosti Malkki
90c8bc2ff6 (Kyösti) Modified gl518sm to use entries in /etc/sensors.conf.
Some small bugfixes, but temperature and fan alarms still don't work
as documented.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@213 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-11 01:18:34 +00:00
Frodo Looijaard
0ee18505f5 Oops?!? the chips.h include file of the library was not installed?!?
I wonder how people using libsensors managed to work without it...


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@212 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-10 14:59:56 +00:00
Philip Edelbrock
25a196faf1 (Phil) Added Mark D. Studebaker's (<mds@eng.paradyne.com>) bus driver
for the SMBus host on Acer Labs Inc. (ALI) M1541 and M1543C South Bridges.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@211 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-10 04:33:01 +00:00
Frodo Looijaard
9f600e9c2c Documentation updates, small bug fixes
I am trying to create a more-or-less standard documentation format for
doc/chips/* files. I am not quite satisfied with the lm75 and lm78 docs
yet, but it is starting to come. Basically, I want as much information
in it as possible, and to generate most of it automatically. But that is
harder than I though it would be.

Also, a small library bugfix (class problem) and a doc-features fix.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@210 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-09 23:57:27 +00:00
Frodo Looijaard
ed5aeab91c Corrected Acer device id; fallback in case a device is unknown to the
kernel.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@209 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-09 22:41:58 +00:00
Frodo Looijaard
5ff3e45aa0 New program: doc-features
This program automatically documents the available features for each chip.
Basically, it translates the data in lib/chips.c back to a human-readable
format.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@208 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-09 15:59:24 +00:00
Frodo Looijaard
24792039f6 Adrian's copyright patch applied
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@207 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-08 22:50:29 +00:00
Frodo Looijaard
ef520b720d Manual page for the sensors(1) command
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@206 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-08 20:13:56 +00:00
Frodo Looijaard
73026248d4 Man-pages
I finally merged in Adrian's man-pages. libsensors.3 is unchanged from his
version; sensors.conf.5 is heavily edited, not because he did a bad job,
but because his source material was not very well written :-). It should
now tell you more about the config file than you ever wanted to know...


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@205 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-08 19:57:30 +00:00
Philip Edelbrock
724d51f5f4 (Phil) Just some minor updates. It probably could benefit from a good
looking over by others, too.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@204 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-07 20:55:27 +00:00
Frodo Looijaard
76363d959e Added Aladdin chipset to detect program.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@203 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-07 19:13:02 +00:00