root/lm-sensors/trunk/doc/chips/gl518sm @ 112

Revision 112, 4.1 KB (checked in by frodo, 14 years ago)

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.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1This file documents the gl518sm directories.
2
3There will be one directory created for each detected GL518SM chip. Chips
4can only be connected to the SMBus. Directories are called
5gl518sm-r??-i2c-?-??, where the first two question marks are the revision
6number, the question mark after i2c equals the I2C bus number, and the I2C
7address is at the end.
8At this moment, revisions 0x00 and 0x80 are known and supported. Revision
90x00 chips can only display the VIN3 value; revision 0x80 can also
10display the VIN1, VIN2 and VDD values.
11/proc/sys/dev/sensors/chips contains the SYSCTL values for all chip
12directories.
13
14Within each LM78 directory, you can find the following files:
15* alarms (GL518_SYSCTL_ALARMS)
16  A number which indicates which alarms are on. An alarm gets triggered when
17  some limit has been crossed. Even if the cause of the alarm is over, it
18  stays triggered until it has been read at least once. Because the LM78
19  values are updated at most once every 1.5 seconds, this means the alarm
20  can be read several times before it is erased.
21  This file can not be written to.
22  The number is the logical OR of the following components:
23  - GL518_ALARM_VDD
24    Gets triggered when the VDD value is higher or lower than its limits
25  - LM78_ALARM_VIN[1-3]
26    Gets triggered when the corresponding VIN value is higher or lower than
27    its limits.
28  - LM78_ALARM_TEMP
29    Gets triggered when the temp value has crossed its limits. See the
30    description under temp.
31  - LM78_ALARM_FAN[1-2]
32    Gets triggered when the corresponding FAN value drops below its limit.
33  If accessed through sysctl, this value is a long.
34* beep (GL518_SYSCTL_BEEP)
35  Two numbers. The first is 0 if all sound signals are disabled; it is 1 if
36  they are enabled. The second number determines which alarms will cause
37  a sound signal, if the first number is set to 1. The encoding of the
38  second number is the same as that in alarms.
39* fan[1-2] (GL518_SYSCTL_FAN[1-2])
40  A list of two numbers. The first is the minimum fan rotation limit; the
41  second is the current fan rotation speed. Both are in RPM (rotation per
42  minute). An alarm is triggered if the rotation speed drops below the
43  limit. The first value can be changed. Not all RPM values can accurately
44  be represented, so some rounding is done.
45  If accessed through sysctl, this is a list of longs.
46* fan_div (GL518_SYSCTL_FAN_DIV)
47  A list of two numbers, one for each fan. Each number can be either 1, 2,
48  4 or 8. It is the internal scaling factor used for the FAN rotations. If
49  you change this number, the FAN readings get more or less detailed, but
50  the range in which they can be read too. Higher numbers give better
51  resolution, but less range. The first two numbers can be changed, the
52  third not.
53  If accessed through sysctl, this is a list of longs.
54* vin[1-3] and vdd (LM78_SYSCTL_VIN[1-3] and GL518_SYSCTL_VDD)
55  A list of three numbers. The first is the minimum limit, the second is the
56  maximum limit, and the third is the current value. If you have a weird
57  mainboard, all values may be off because some other scaling factor has
58  to be used; user-space programs should compensate for this. Note that
59  minimum means 'closest to zero'; so if the normal value equals -10, a
60  minimum could equal -9, and a maximum -11.
61  On GL518SM revision 0 chips, only VIN3 is readable; for the others,
62  you can set limits, but you can not read the current values.
63  The first two numbers can be changed, the third not.
64  If accessed through sysctl, this is a list of longs, each being the voltage
65  times 100.
66* temp
67  A list of three numbers. The first number is the Overtemperature Shutdown
68  value; the second is the Hysteris value and the third number is the
69  current value. The first two values can be modified. All values are in
70  degrees Celcius.
71  An alarm is issued when the temperature gets higher then the
72  Overtemperature Shutdown value; it stays on until the temperature falls
73  below the Hysteris value.
74  The first two numbers can be changed, the third not.
75  If accessed through sysctl, this is a list of longs, each being the
76  temperature times 10.
77
78The data for each GL518SM is updated each 1.5 seconds, but only if it is
79actually read.
Note: See TracBrowser for help on using the browser.