File: lm92

package info (click to toggle)
lm-sensors 1%3A2.10.7-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 5,324 kB
  • ctags: 10,814
  • sloc: ansic: 63,969; perl: 8,111; sh: 1,823; makefile: 399; lex: 371; yacc: 312; python: 11
file content (89 lines) | stat: -rw-r--r-- 3,415 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
Kernel driver `lm92.o'
======================

Status: Complete and somewhat tested

Supported chips:
  * National Semiconductor LM92
    Prefix: 'lm92'
    Addresses scanned: I2C 0x48 - 0x4b
  * National Semiconductor LM76
    Prefix: 'lm92'
    Addresses scanned: none, force parameter needed
  * Maxim MAX6633/MAX6634/MAX6635
    Prefix: 'lm92'
    Addresses scanned: I2C 0x48 - 0x4f
    MAX6633 with address in 0x40 - 0x47 needs force parameter

Author: Abraham van der Merwe <abraham@2d3d.co.za>

License: GPL


Module Parameters
-----------------

* force: short array (min = 1, max = 48)
  List of adapter,address pairs to boldly assume to be present
* force_lm92: short array (min = 1, max = 48)
  List of adapter,address pairs which are unquestionably assumed to contain
  a `lm92' chip
* probe: short array (min = 1, max = 48)
  List of adapter,address pairs to scan additionally
* probe_range: short array (min = 1, max = 48)
  List of adapter,start-addr,end-addr triples to scan additionally
* ignore: short array (min = 1, max = 48)
  List of adapter,address pairs not to scan
* ignore_range: short array (min = 1, max = 48)
  List of adapter,start-addr,end-addr triples not to scan


Description
-----------

This driver implements support for the National Semiconductor LM92
temperature sensor.

Each LM92 temperature sensor supports a single temperature sensor.
Temperatures are exported to proc in degrees Celsius * 10000 (in other
words temperatures are accurate to 4 decimal places). There are alarms
for high, low, and critical thresholds. There's also an hysteresis to
control the thresholds for resetting alarms.

At the moment the driver controls these sensors in comparator mode and the
interrupt pins (INT, T_CRIT_A) are ignored.

Support was added later for the LM76 and Maxim MAX6633/MAX6634/MAX6635,
which are mostly compatible. They have not all been tested, so you
may need to use the force parameter.


Hardware Configurations
-----------------------

The only thing that can be changed is enabling of the fault queue. Doing so
ensures that alarms will only be triggered if 4 consecutive readings all
cross the alarm thresholds. You can enable this behaviour by uncommenting
the #define in the driver source, and then recompile/reinstall.


Chip Features
-------------

Chip 'lm92'

LABEL                 LABEL CLASS           COMPUTE CLASS          MODE  MAGN
temp                  -                     -                       R-     4
temp_high             temp                  temp                    RW     4
temp_low              temp                  temp                    RW     4
temp_crit             temp                  temp                    RW     4
temp_hyst             temp                  temp                    RW     4
alarms                -                     -                       R-     0

LABEL                 FEATURE SYMBOL                              SYSCTL FILE:N
temp                  SENSORS_LM92_TEMP                                  temp:1
temp_high             SENSORS_LM92_TEMP_HIGH                             temp:2
temp_low              SENSORS_LM92_TEMP_LOW                              temp:3
temp_crit             SENSORS_LM92_TEMP_CRIT                             temp:4
temp_hyst             SENSORS_LM92_TEMP_HYST                             temp:5
alarms                SENSORS_LM92_ALARMS                              alarms:1