Changeset 985
- Timestamp:
- 01/13/01 17:52:42 (12 years ago)
- Files:
-
- 1 modified
-
lm-sensors/trunk/doc/developers/proc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/doc/developers/proc
r971 r985 1 Naming and data standards under /proc2 ------------------------------------- 1 Naming and data format standards under /proc 2 -------------------------------------------- 3 3 4 4 The libsensors library offers an interface to the raw sensors data … … 12 12 Note that not all chip drivers adhere to this standard. 13 13 We will attempt to migrate older drivers to this standard, 14 and ensure that new drivers follow this standard. 14 and ensure that new drivers follow this standard wherever possible. 15 If you are developing a userspace application please send us 16 feedback on this standard. 17 18 Note that motherboards vary widely in the connections to sensor chips. 19 There is no standard that ensures, for example, that the second 20 temperature sensor is connected to the CPU, or that the second 21 fan is on the CPU. Therefore, programs must provide a facility 22 for the user to label or bind /proc entries for display. 23 Sensor chips often have unused inputs that should be ignored 24 by user programs. 15 25 16 26 As each chip gets its own directory under /proc/sys/dev/sensors. 17 27 The format is either chip-i2c-bus-hexaddress or chip-isa-hexaddress. 18 28 (Exception - chip lm78-j has a '-' in it - should this be changed??) 29 30 All /proc values are integers or floating point numbers. 31 There is no facility in the lm_sensors package for drivers 32 to output general strings via /proc. 33 34 ------------------------------------------------------------------------- 19 35 20 36 /proc entries are as follows: … … 30 46 alarm registers; no standard. 31 47 32 beep 2 Beep or interrupt bitmask. 33 Same format as 'alarms' with same bit locations. 48 beep 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. 34 53 35 54 fan[1-3] 2 Fan min and input value.
