Show
Ignore:
Timestamp:
01/09/12 18:30:10 (3 years ago)
Author:
groeck
Message:

Add support for additional sysfs attributes to libsensors and to sensors command

inX_average
inX_lowest
inX_highest
tempX_lowest
tempX_highest
currX_average
currX_lowest
currX_highest

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/lib/sysfs.c

    r5938 r6007  
    234234        { "emergency", SENSORS_SUBFEATURE_TEMP_EMERGENCY }, 
    235235        { "emergency_hyst", SENSORS_SUBFEATURE_TEMP_EMERGENCY_HYST }, 
     236        { "lowest", SENSORS_SUBFEATURE_TEMP_LOWEST }, 
     237        { "highest", SENSORS_SUBFEATURE_TEMP_HIGHEST }, 
    236238        { "alarm", SENSORS_SUBFEATURE_TEMP_ALARM }, 
    237239        { "min_alarm", SENSORS_SUBFEATURE_TEMP_MIN_ALARM }, 
     
    253255        { "lcrit", SENSORS_SUBFEATURE_IN_LCRIT }, 
    254256        { "crit", SENSORS_SUBFEATURE_IN_CRIT }, 
     257        { "average", SENSORS_SUBFEATURE_IN_AVERAGE }, 
     258        { "lowest", SENSORS_SUBFEATURE_IN_LOWEST }, 
     259        { "highest", SENSORS_SUBFEATURE_IN_HIGHEST }, 
    255260        { "alarm", SENSORS_SUBFEATURE_IN_ALARM }, 
    256261        { "min_alarm", SENSORS_SUBFEATURE_IN_MIN_ALARM }, 
     
    303308        { "lcrit", SENSORS_SUBFEATURE_CURR_LCRIT }, 
    304309        { "crit", SENSORS_SUBFEATURE_CURR_CRIT }, 
     310        { "average", SENSORS_SUBFEATURE_CURR_AVERAGE }, 
     311        { "lowest", SENSORS_SUBFEATURE_CURR_LOWEST }, 
     312        { "highest", SENSORS_SUBFEATURE_CURR_HIGHEST }, 
    305313        { "alarm", SENSORS_SUBFEATURE_CURR_ALARM }, 
    306314        { "min_alarm", SENSORS_SUBFEATURE_CURR_MIN_ALARM },