| 1 | libsensors API history |
|---|
| 2 | ====================== |
|---|
| 3 | |
|---|
| 4 | SENSORS_API_VERSION tracks the evolutions made to the libsensors API |
|---|
| 5 | over time. This document summarizes these evolutions so that application |
|---|
| 6 | authors can quickly figure out how to test for the availability of a |
|---|
| 7 | given new feature. |
|---|
| 8 | |
|---|
| 9 | 0x430 lm-sensors 3.2.0 |
|---|
| 10 | * License changed from GPL to LGPL |
|---|
| 11 | |
|---|
| 12 | 0x421 lm-sensors 3.1.2 |
|---|
| 13 | * Added bus type "hid": |
|---|
| 14 | #define SENSORS_BUS_TYPE_HID |
|---|
| 15 | |
|---|
| 16 | 0x420 lm-sensors 3.1.1 |
|---|
| 17 | * Added a method to free the memory allocated by sensors_parse_chip_name() |
|---|
| 18 | void sensors_free_chip_name(sensors_chip_name *chip); |
|---|
| 19 | |
|---|
| 20 | 0x410 lm-sensors 3.1.0 |
|---|
| 21 | * Added bus type "acpi": |
|---|
| 22 | #define SENSORS_BUS_TYPE_ACPI |
|---|
| 23 | * Added support for instantaneous power sensors |
|---|
| 24 | enum sensors_subfeature_type SENSORS_SUBFEATURE_POWER_INPUT |
|---|
| 25 | enum sensors_subfeature_type SENSORS_SUBFEATURE_POWER_INPUT_HIGHEST |
|---|
| 26 | enum sensors_subfeature_type SENSORS_SUBFEATURE_POWER_INPUT_LOWEST |
|---|
| 27 | * Added support for current sensors |
|---|
| 28 | enum sensors_feature_type SENSORS_FEATURE_CURR |
|---|
| 29 | enum sensors_subfeature_type SENSORS_SUBFEATURE_CURR_INPUT |
|---|
| 30 | enum sensors_subfeature_type SENSORS_SUBFEATURE_CURR_MIN |
|---|
| 31 | enum sensors_subfeature_type SENSORS_SUBFEATURE_CURR_MAX |
|---|
| 32 | enum sensors_subfeature_type SENSORS_SUBFEATURE_CURR_ALARM |
|---|
| 33 | enum sensors_subfeature_type SENSORS_SUBFEATURE_CURR_MIN_ALARM |
|---|
| 34 | enum sensors_subfeature_type SENSORS_SUBFEATURE_CURR_MAX_ALARM |
|---|
| 35 | enum sensors_subfeature_type SENSORS_SUBFEATURE_CURR_BEEP |
|---|
| 36 | * Added error value for excessive recursion depth |
|---|
| 37 | #define SENSORS_ERR_RECURSION 11 |
|---|
| 38 | * Added parse error reporting function including the configuration file |
|---|
| 39 | name |
|---|
| 40 | extern void (*sensors_parse_error_wfn) (const char *err, |
|---|
| 41 | const char *filename, int lineno); |
|---|
| 42 | |
|---|
| 43 | 0x401 lm-sensors 3.0.2 to 3.0.3 |
|---|
| 44 | * Added bus type "virtual": |
|---|
| 45 | #define SENSORS_BUS_TYPE_VIRTUAL |
|---|
| 46 | * Added support for power and energy sensors |
|---|
| 47 | enum sensors_feature_type SENSORS_FEATURE_POWER |
|---|
| 48 | enum sensors_feature_type SENSORS_FEATURE_ENERGY |
|---|
| 49 | enum sensors_subfeature_type SENSORS_SUBFEATURE_POWER_AVERAGE |
|---|
| 50 | enum sensors_subfeature_type SENSORS_SUBFEATURE_POWER_AVERAGE_HIGHEST |
|---|
| 51 | enum sensors_subfeature_type SENSORS_SUBFEATURE_POWER_AVERAGE_LOWEST |
|---|
| 52 | enum sensors_subfeature_type SENSORS_SUBFEATURE_POWER_AVERAGE_INTERVAL |
|---|
| 53 | enum sensors_subfeature_type SENSORS_SUBFEATURE_ENERGY_INPUT |
|---|
| 54 | |
|---|
| 55 | 0x400 lm-sensors 3.0.0 to 3.0.1 |
|---|
| 56 | * Initial API. |
|---|