Changeset 6007 for lm-sensors/trunk/prog

Show
Ignore:
Timestamp:
01/09/12 18:30:10 (5 months 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/prog/sensors/chips.c

    r6006 r6007  
    267267        { SENSORS_SUBFEATURE_TEMP_EMERGENCY, temp_emergency_sensors, 0, 
    268268            "emerg" }, 
     269        { SENSORS_SUBFEATURE_TEMP_LOWEST, NULL, 0, "lowest" }, 
     270        { SENSORS_SUBFEATURE_TEMP_HIGHEST, NULL, 0, "highest" }, 
    269271        { -1, NULL, 0, NULL } 
    270272}; 
     
    358360        { SENSORS_SUBFEATURE_IN_MAX, NULL, 0, "max" }, 
    359361        { SENSORS_SUBFEATURE_IN_CRIT, NULL, 0, "crit max" }, 
     362        { SENSORS_SUBFEATURE_IN_AVERAGE, NULL, 0, "avg" }, 
     363        { SENSORS_SUBFEATURE_IN_LOWEST, NULL, 0, "lowest" }, 
     364        { SENSORS_SUBFEATURE_IN_HIGHEST, NULL, 0, "highest" }, 
    360365        { -1, NULL, 0, NULL } 
    361366}; 
     
    652657        { SENSORS_SUBFEATURE_CURR_MAX, NULL, 0, "max" }, 
    653658        { SENSORS_SUBFEATURE_CURR_CRIT, NULL, 0, "crit max" }, 
     659        { SENSORS_SUBFEATURE_CURR_AVERAGE, NULL, 0, "avg" }, 
     660        { SENSORS_SUBFEATURE_CURR_LOWEST, NULL, 0, "lowest" }, 
     661        { SENSORS_SUBFEATURE_CURR_HIGHEST, NULL, 0, "highest" }, 
    654662        { -1, NULL, 0, NULL } 
    655663};