Commit Graph
61 Commits
Author SHA1 Message Date
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 7fe47c13ba Made the reference to SENSORS_W83782D_FAN3_DIV - it referenced
SENSORS_W83781D_FAN3_DIV before (copy&paste error...)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@660 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-02 23:14:53 +00:00
Merlin Hughes dc8c852723 (Merlin) Took the liberty of adding SENSORS_W83782D_FAN3_DIV, copied W83781D.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@659 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-02 21:26:55 +00:00
Frodo Looijaard 296ac5f517 Oops, corrupted access.c in the last commit...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@650 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-01 21:12:03 +00:00
Frodo Looijaard 59bd758cd7 Something in the README about ways to determine your chips
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@649 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-12-01 21:07:51 +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
Frodo Looijaard 68a31e3480 Some code cleanups
* Removed several superfluous (struct i2c_client *) casts (they were left
  from the time we had separate structs for smbus and isa)
* Removed the internal lists of registered clients
  They have not been used for quite some time now, took memory space,
  and limited the maximum number of clients that could be registered.

Also removed two small Makefile errors - I am happy I caught them before
the next release!


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@582 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-09-27 13:20:45 +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 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
Kyosti Malkki c9e71cd9df (Kyösti)
* gl518sm document simplified for rev 0x00 & 0x80
 * gl518sm & gl520sm libsensors interface updates

 BTW: Revision is no longer part of the name, so old sensors.conf
      will not work at all with gl518sm.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@511 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-07-22 21:19:14 +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
Frodo Looijaard f48a2146db SIS5595 documentation and library updates
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@407 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-21 15:57:06 +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
Frodo Looijaard bc05162c08 GL518SM documentation and library support update
* The library can now read GL518SM revision 0x00 voltages (in the worst case,
  it will read zeros if the module was not inserted with readall=1)
* The readall parameter is now documented through MODULE_PARM_DESC
* Note my remarks in the TODO file


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@403 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-20 16:16:25 +00:00
Frodo Looijaard 084ee510ab ADM9240/DS1780 documentation and library support
* Readings for the ADM9240 are now updated every 0.5 seconds; for the
  DS1780, every 2.0 seconds.
* I still think it likely that voltage readings will be far-off in the
  current implementation


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@401 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-20 15:33:04 +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
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
Mark D. Studebaker 5ae6221d14 fixed fan3 for w83782d for sensors program.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@321 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-03-18 01:01:59 +00:00
Mark D. Studebaker 8a23e0cf04 Added initial support for 83782d/83783s.
No alarms for in7/in8 yet.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@305 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-03-11 03:19:54 +00:00
Kyosti Malkki 14e5a602c5 (Kyösti) Small fixes for GL518.
Fan1 causes now alarm when rpm drops.
Fixed libsensors displaying incorrect temperature limits for rev 80.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@293 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-03-02 14:12:42 +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
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
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
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 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 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
Frodo Looijaard 634cb32ac0 Update to the latest (mod-19990118) kernel archive
I really hope I did not forget an add or remove. If strange things happen
when you compile, please let me know.

There may still be problems with the EXPORT_* stuff; it seems to work now
for kernel 2.0.36pre19, but it may give trouble for earlier kernels. We
need to check that.

Some i2c modules may be a bit verbose at this moment.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@184 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-01-29 13:40:25 +00:00
Philip Edelbrock ce7aea9a5a (Phil) Made slight adjustments so the new file arrangement will build.
I added two new make file 'includes': busses/Module.mk and chips/Module.mk
Frodo- You may want to review the makefile structure to make sure that
the system works as you intended.

Note: The docs still need to be updated to reflect the new file arrangement,
but at least it builds!


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@176 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-01-27 06:10:00 +00:00
Philip Edelbrock bf7943bb69 (Phil) Added adm9240 and adm1021 entries into the lib and added VID
output to ADM9240.  Status/alarms values need to be implemented instead
of a raw output, but I'll do that too.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@173 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-01-24 00:15:12 +00:00
Frodo Looijaard d96873ab52 gl518sm alarms fix, more things TODO and a new useful address
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@171 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-01-18 23:14:07 +00:00
Frodo Looijaard 33269d5252 Small fixes to make all programs compile cleanly with libc6.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@168 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-01-14 00:41:44 +00:00
Frodo Looijaard a5f164aca5 Made 'make install' first make everything; disabled the installation
of the old i2c i2c-dev now we have our own.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@161 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-01-13 19:14:38 +00:00
Frodo Looijaard 14992732d9 GL518SM fixes
* Better VDD internal computation, as described in the data sheet;
* Fixed the config file to reflect the above change;
* The library read the wrong file to get its gl518sm alarm data.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@150 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-01-08 20:21:32 +00:00
Frodo Looijaard a59e9abc8b Several small GL518SM fixes
* (module) VIN limits are now set to sane values (3V instead of 30V, which
  caused nasty overflows)
* (module) VIN limits had min/max swapped in gl518_attach_adapter
* (lib) TEMP_HYST used the VID sysctl instead of the TEMP sysctl, leading
  to bogus readings
* (sensors) print n/a for gl518 not available readings.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@145 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-01-03 16:21:51 +00:00
Frodo Looijaard 566c22c058 Command-line chip specifications introduced in prog/sensors; minor
lib problem resolved.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@140 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-29 20:33:34 +00:00
Frodo Looijaard c2b1fec9fc Library and application support for 'set' statements
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@138 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-29 19:48:43 +00:00
Frodo Looijaard 4de2f33a67 Corrected Winbond temperature problem
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@129 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-27 20:13:24 +00:00
Frodo Looijaard 20065b3dee Missing conf file, containing conf-lex and conf-parse externally
used symbols (sorry for forgetting to 'cvs add' it!)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@124 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-27 19:30:06 +00:00
Frodo Looijaard a1b75bd20c Winbond library support
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@122 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-26 01:39:10 +00:00
Frodo Looijaard 1654f21fc5 Some library cleanup; no interface changes
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@120 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-25 22:15:48 +00:00
Frodo Looijaard faa996f454 Moved some library functions around, to put them in more logical files.
No external changes.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@119 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-25 21:51:59 +00:00
Frodo Looijaard 9c3958f7e8 Library LM80 support
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@116 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-25 19:37:17 +00:00
Frodo Looijaard f3cfdfa7a5 Added 'beep' file for GL518SM chips
This file consists of two numbers: the first is either 0 (global sound
alarm disable) or 1 (enable), the second is in the same encoding as the
'alarm' file and determines for which alarms the speaker will sound.

The new file was added to the module, the library and the sensors application.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@112 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-24 23:17:55 +00:00
Frodo Looijaard 2b415b8690 Unknown chip support
Some basic support, in the form of sensors_get_all_features(), for chips that
are known to the library, but unknown to the application. prog/sensors has
a demo of how to use this, in function print_unknown_chip in chips.c.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@110 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-24 18:40:58 +00:00
Frodo Looijaard 1c12665831 Expanded expressions, slightly new syntax
An expression can now refer to the value it has to compute (@), but also to
other values. This is now perfectly valid as an expression:
  vid + in_min - in_max * 2 / @
Not that this is very sensible, but you get the idea. Please install the
new example config file, or replace all old 'val' occurences with '@'.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@107 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-24 01:13:44 +00:00
Frodo Looijaard eb21cf98d5 Corrected sensors_get_feature expression search
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@105 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-23 01:05:45 +00:00
Frodo Looijaard 3a6f543366 Library/program updates.
YES! It now pretty-prints the LM75 and LM78 data.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@104 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-23 00:25:53 +00:00