Commit Graph
18 Commits
Author SHA1 Message Date
Mark D. Studebaker 5ef460df5c fix access mode checking
reported by Jean Delvare


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1456 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-07-15 01:42:17 +00:00
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 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
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 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 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 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
Frodo Looijaard 6ad35eaa33 Yet more library and prog/sensors stuff. LM75 data is now printed!
* Added sensors_get_algorithm_name and sensors_get_adapter_name to the
  library.
* First application of sensors_get_value is very encouraging; LM75 data is
  now printed.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@103 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-22 17:41:43 +00:00
Frodo Looijaard c9d9c6c682 Library addition (sensors_get_detected_chips), program addition
(print detected chips)

Yes! I am getting somewhere now. The sensors program does at last something
visible: it prints all detected chips. OK, cat /proc/sys/dev/sensors/chips
is faster. But it is a start...


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@102 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-22 02:06:51 +00:00
Frodo Looijaard f26b52021b More library extensions
Most notably, config file line numbers are now stored, so we can now generate
better error messages.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@98 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-21 14:14:25 +00:00
Frodo Looijaard 1779b684c1 More library stuff
Nice init and cleanup functions.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@97 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-20 21:57:39 +00:00
Frodo Looijaard 730efd78ca More library files
This brings the archive into synch with my harddisk...

Everything in the lib directory should compile without problems (yes, even
without warnings even if WARN=1). It is not well-tested, though, and there
are some minor functions which must still be added. It is now almost
usable.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@95 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-20 16:54:03 +00:00