mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-06 15:51:34 +00:00
libsensors: Add support for temp[1-*]_min_hyst and temp[1-*]_lcrit_hyst
Add support for sysfs attributes temp[1-*]_min_hyst (already implemented by drivers adt7x10, lm77 and lm92) and temp[1-*]_lcrit_hyst (no known users yet.)
This commit is contained in:
1 parent
eb5cf8b2ec
commit
f09b1c6483
4 files changed
+8
No files matched your search
@@ -4,6 +4,7 @@ lm-sensors CHANGES file
|
||||
SVN HEAD
|
||||
sensors.conf.default: Add support for NCT6779 and NCT6791
|
||||
libsensors: Get rid of arbitrary limit on per-type sensor count
|
||||
Add support for temperature min and critical min hysteresis
|
||||
fancontrol: Deal with moving hwmon attributes
|
||||
sensors-detect: Add detection of ADC128D818
|
||||
Add detection of AMD family 16h Kabini and Mullins
|
||||
|
||||
@@ -9,6 +9,9 @@ given new feature.
|
||||
0x440 lm-sensors 3.4.0
|
||||
* Defined SENSORS_FEATURE_MAX
|
||||
enum sensors_feature_type SENSORS_FEATURE_MAX
|
||||
* Added support for temp min and temp critical min hysteresis
|
||||
enum sensors_subfeature_type SENSORS_SUBFEATURE_TEMP_MIN_HYST
|
||||
enum sensors_subfeature_type SENSORS_SUBFEATURE_TEMP_LCRIT_HYST
|
||||
|
||||
0x432 lm-sensors 3.3.2 to 3.3.5
|
||||
* Added support for new sysfs attributes
|
||||
|
||||
@@ -190,6 +190,8 @@ typedef enum sensors_subfeature_type {
|
||||
SENSORS_SUBFEATURE_TEMP_EMERGENCY_HYST,
|
||||
SENSORS_SUBFEATURE_TEMP_LOWEST,
|
||||
SENSORS_SUBFEATURE_TEMP_HIGHEST,
|
||||
SENSORS_SUBFEATURE_TEMP_MIN_HYST,
|
||||
SENSORS_SUBFEATURE_TEMP_LCRIT_HYST,
|
||||
SENSORS_SUBFEATURE_TEMP_ALARM = (SENSORS_FEATURE_TEMP << 8) | 0x80,
|
||||
SENSORS_SUBFEATURE_TEMP_MAX_ALARM,
|
||||
SENSORS_SUBFEATURE_TEMP_MIN_ALARM,
|
||||
|
||||
@@ -214,9 +214,11 @@ static const struct subfeature_type_match temp_matches[] = {
|
||||
{ "max", SENSORS_SUBFEATURE_TEMP_MAX },
|
||||
{ "max_hyst", SENSORS_SUBFEATURE_TEMP_MAX_HYST },
|
||||
{ "min", SENSORS_SUBFEATURE_TEMP_MIN },
|
||||
{ "min_hyst", SENSORS_SUBFEATURE_TEMP_MIN_HYST },
|
||||
{ "crit", SENSORS_SUBFEATURE_TEMP_CRIT },
|
||||
{ "crit_hyst", SENSORS_SUBFEATURE_TEMP_CRIT_HYST },
|
||||
{ "lcrit", SENSORS_SUBFEATURE_TEMP_LCRIT },
|
||||
{ "lcrit_hyst", SENSORS_SUBFEATURE_TEMP_LCRIT_HYST },
|
||||
{ "emergency", SENSORS_SUBFEATURE_TEMP_EMERGENCY },
|
||||
{ "emergency_hyst", SENSORS_SUBFEATURE_TEMP_EMERGENCY_HYST },
|
||||
{ "lowest", SENSORS_SUBFEATURE_TEMP_LOWEST },
|
||||
|
||||
Reference in new issue
Block a user