summaryrefslogtreecommitdiff
path: root/lib/access.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Add preliminary sysfs support. Two entries added to struct sensors_chip_feature.Mark D. Studebaker2003-11-161-13/+29
| | | | | | | | chips.c support added only for w83781d as an example. Advance library version to 3.0.0. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2059 7894878c-1315-0410-8ee3-d5d059ff63e0
* Add separate error returns and messages for read and write errors.Mark D. Studebaker2003-08-251-2/+2
| | | | | | | Add missing message for "general parse error" - a nasty bug. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1979 7894878c-1315-0410-8ee3-d5d059ff63e0
* add library support for logarithms and exponents (!) to supportMark D. Studebaker2002-12-091-0/+9
| | | | | | | | vt1211 / vt8235 thermistor calculations. Add such calculations to vt1211/vt8235 section in sensors.conf; bump library version to 1.4.0. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1667 7894878c-1315-0410-8ee3-d5d059ff63e0
* sensors support for ipmi. Includes limited support forMark D. Studebaker2002-11-161-0/+4
| | | | | | | add'l dummy adaps in libsensors git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1606 7894878c-1315-0410-8ee3-d5d059ff63e0
* fix access mode checkingMark D. Studebaker2002-07-151-2/+2
| | | | | | | reported by Jean Delvare git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1456 7894878c-1315-0410-8ee3-d5d059ff63e0
* New sensors.conf keyword 'ignore'Frodo Looijaard1999-12-241-2/+48
| | | | | | | | | | | | | | 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
* Oops, corrupted access.c in the last commit...Frodo Looijaard1999-12-011-18/+2
| | | | git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@650 7894878c-1315-0410-8ee3-d5d059ff63e0
* Something in the README about ways to determine your chipsFrodo Looijaard1999-12-011-2/+18
| | | | git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@649 7894878c-1315-0410-8ee3-d5d059ff63e0
* Adrian's copyright patch appliedFrodo Looijaard1999-02-081-1/+1
| | | | git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@207 7894878c-1315-0410-8ee3-d5d059ff63e0
* Command-line chip specifications introduced in prog/sensors; minorFrodo Looijaard1998-12-291-1/+1
| | | | | | | lib problem resolved. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@140 7894878c-1315-0410-8ee3-d5d059ff63e0
* Library and application support for 'set' statementsFrodo Looijaard1998-12-291-8/+103
| | | | git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@138 7894878c-1315-0410-8ee3-d5d059ff63e0
* Some library cleanup; no interface changesFrodo Looijaard1998-12-251-21/+20
| | | | git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@120 7894878c-1315-0410-8ee3-d5d059ff63e0
* Moved some library functions around, to put them in more logical files.Frodo Looijaard1998-12-251-0/+51
| | | | | | | No external changes. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@119 7894878c-1315-0410-8ee3-d5d059ff63e0
* Unknown chip supportFrodo Looijaard1998-12-241-2/+33
| | | | | | | | | 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
* Expanded expressions, slightly new syntaxFrodo Looijaard1998-12-241-2/+2
| | | | | | | | | | | 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
* Corrected sensors_get_feature expression searchFrodo Looijaard1998-12-231-6/+19
| | | | git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@105 7894878c-1315-0410-8ee3-d5d059ff63e0
* Library/program updates.Frodo Looijaard1998-12-231-1/+1
| | | | | | | 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
* Yet more library and prog/sensors stuff. LM75 data is now printed!Frodo Looijaard1998-12-221-2/+24
| | | | | | | | | | * 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
* Library addition (sensors_get_detected_chips), program additionFrodo Looijaard1998-12-221-0/+8
| | | | | | | | | | | (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
* More library extensionsFrodo Looijaard1998-12-211-1/+0
| | | | | | | | 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
* More library stuffFrodo Looijaard1998-12-201-2/+4
| | | | | | | Nice init and cleanup functions. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@97 7894878c-1315-0410-8ee3-d5d059ff63e0
* More library filesFrodo Looijaard1998-12-201-0/+207
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