Show
Ignore:
Timestamp:
12/25/98 00:17:55 (14 years ago)
Author:
frodo
Message:

Added 'beep' file for GL518SM chips

This file consists of two numbers: the first is either 0 (global sound
alarm disable) or 1 (enable), the second is in the same encoding as the
'alarm' file and determines for which alarms the speaker will sound.

The new file was added to the module, the library and the sensors application.

Files:
1 modified

Legend:

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

    r110 r112  
    361361                               SENSORS_NO_MAPPING, SENSORS_MODE_R, 
    362362                               GL518_SYSCTL_FAN_DIV, VALUE(3), 0 }, 
     363    { SENSORS_GL518R00_BEEP_ENABLE, "beep_enable", SENSORS_GL518R00_ALARMS, 
     364                               SENSORS_NO_MAPPING, SENSORS_MODE_RW, 
     365                               GL518_SYSCTL_BEEP, VALUE(1), 0 }, 
     366    { SENSORS_GL518R00_BEEPS, "beeps", SENSORS_GL518R00_ALARMS, 
     367                               SENSORS_GL518R00_ALARMS, SENSORS_MODE_RW, 
     368                               GL518_SYSCTL_BEEP, VALUE(2), 0 }, 
    363369    { 0 } 
    364370  }; 
     
    430436                               SENSORS_NO_MAPPING, SENSORS_MODE_R, 
    431437                               GL518_SYSCTL_FAN_DIV, VALUE(3), 0 }, 
     438    { SENSORS_GL518R80_BEEP_ENABLE, "beep_enable", SENSORS_GL518R80_ALARMS, 
     439                               SENSORS_NO_MAPPING, SENSORS_MODE_RW, 
     440                               GL518_SYSCTL_BEEP, VALUE(1), 0 }, 
     441    { SENSORS_GL518R80_BEEPS, "beeps", SENSORS_GL518R80_ALARMS, 
     442                               SENSORS_GL518R80_ALARMS, SENSORS_MODE_RW, 
     443                               GL518_SYSCTL_BEEP, VALUE(2), 0 }, 
    432444    { 0 } 
    433445  };