File: lm75

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 (107 lines) | stat: -rw-r--r-- 3,979 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
Kernel driver `lm75.o'
=====================

Status: Complete and well-tested

Supported chips: 
  * National Semiconductor LM75
    Prefix: 'lm75'
    Addresses scanned: I2C 0x48 - 0x4f
    Datasheet: Publicly available at the National Semiconductor website
               http://www.national.com/
  * Dallas Semiconductor DS75
    Prefix: 'lm75'
    Addresses scanned: I2C 0x48 - 0x4f
    Datasheet: Publicly available at the Maxim website
               http://www.maxim-ic.com/
  * Dallas Semiconductor DS1775
    Prefix: 'lm75'
    Addresses scanned: I2C 0x48 - 0x4f
    Datasheet: Publicly available at the Maxim website
               http://www.maxim-ic.com/
  * Maxim MAX6625, MAX6626
    Prefix: 'lm75'
    Addresses scanned: I2C 0x48 - 0x4b
    Datasheet: Publicly available at the Maxim website
               http://www.maxim-ic.com/
  * Microchip (TelCom) TCN75
    Prefix: 'lm75'
    Addresses scanned: I2C 0x48 - 0x4f
    Datasheet: Publicly available at the Microchip website
               http://www.microchip.com/
  * Texas Instruments TMP100, TMP101
    Prefix: 'lm75'
    Addresses scanned: I2C 0x48 - 0x4f
    Datasheet: Publicly available at the TI website
               http://www.ti.com/

Author: Frodo Looijaard <frodol@dds.nl>


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

* force: short array (min = 1, max = 48)
  List of adapter,address pairs to boldly assume to be present
* force_lm75: short array (min = 1, max = 48)
  List of adapter,address pairs which are unquestionably assumed to contain
  a `lm75' chip
* 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
* 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


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

The LM75 implements one temperature sensor. Limits can be set through the
Overtemperature Shutdown register and Hysteresis register. Each value can be 
set and read to half-degree accuracy.
An alarm is issued (usually to a connected LM78) when the temperature
gets higher then the Overtemperature Shutdown value; it stays on until
the temperature falls below the Hysteresis value.
All temperatures are in degrees Celsius, and are guaranteed within a 
range of -55 to +125 degrees.

The LM75 only updates its values each 1.5 seconds; reading it more often
will do no harm, but will return 'old' values.

The LM75 is usually used in combination with LM78-like chips, to measure
the temperature of the processor(s).

The DS75, DS1775, MAX6625, MAX6626, and others are supported as well.
They are not distinguished from an LM75. While most of these chips
have three additional bits of accuracy (12 vs. 9 for the LM75),
the additional bits are not supported. Not only that, but these chips will
not be detected if not in 9-bit precision mode (use the force parameter if
needed).
The prefix in the /proc directory is still 'lm75'.

The LM75 is essentially an industry standard; there may be other
LM75 clones not listed here, with or without various enhancements,
that are supported.

The LM77 is not supported, contrary to what we pretended for a long time.
Both chips are simply not compatible, value encoding differs.


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

Chip `lm75'
          LABEL     LABEL CLASS   COMPUTE CLASS ACCESS MAGNITUDE
           temp            NONE            NONE      R     1
      temp_hyst            temp            temp      RW    1
      temp_over            temp            temp      RW    1

          LABEL                           FEATURE SYMBOL     SYSCTL FILE:OFFSET
           temp                        SENSORS_LM75_TEMP            temp:3
      temp_hyst                   SENSORS_LM75_TEMP_HYST            temp:2
      temp_over                   SENSORS_LM75_TEMP_OVER            temp:1