Changeset 985

Show
Ignore:
Timestamp:
01/13/01 17:52:42 (8 years ago)
Author:
mds
Message:

update, clarify beep contents.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • lm-sensors/trunk/doc/developers/proc

    r971 r985  
    1 Naming and data standards under /proc 
    2 ------------------------------------- 
     1Naming and data format standards under /proc 
     2-------------------------------------------- 
    33 
    44The libsensors library offers an interface to the raw sensors data 
     
    1212Note that not all chip drivers adhere to this standard. 
    1313We will attempt to migrate older drivers to this standard, 
    14 and ensure that new drivers follow this standard. 
     14and ensure that new drivers follow this standard wherever possible. 
     15If you are developing a userspace application please send us 
     16feedback on this standard. 
     17 
     18Note that motherboards vary widely in the connections to sensor chips. 
     19There is no standard that ensures, for example, that the second 
     20temperature sensor is connected to the CPU, or that the second 
     21fan is on the CPU. Therefore, programs must provide a facility 
     22for the user to label or bind /proc entries for display. 
     23Sensor chips often have unused inputs that should be ignored 
     24by user programs. 
    1525 
    1626As each chip gets its own directory under /proc/sys/dev/sensors. 
    1727The format is either chip-i2c-bus-hexaddress or chip-isa-hexaddress. 
    1828(Exception - chip lm78-j has a '-' in it - should this be changed??) 
     29 
     30All /proc values are integers or floating point numbers. 
     31There is no facility in the lm_sensors package for drivers 
     32to output general strings via /proc. 
     33 
     34------------------------------------------------------------------------- 
    1935 
    2036/proc entries are as follows: 
     
    3046                alarm registers; no standard. 
    3147 
    32 beep      2     Beep or interrupt bitmask. 
    33                 Same format as 'alarms' with same bit locations. 
     48beep      2     Beep/interrupt enable and bitmask. 
     49                The first value is 0 or 1 to globally disable 
     50                or enable the beeps. 
     51                The second value is a bitmask, with the 
     52                same format as 'alarms' with same bit locations. 
    3453                 
    3554fan[1-3]  2     Fan min and input value.