← Documents Documentation/hwmon/lm75.rst GitHub 원문 ↗

Linux 6.18.37 · Hardware Monitoring

Kernel driver lm75

산업 표준 LM75 호환 온도 센서의 제한·히스테리시스·모델별 캐시입니다.

Source pathDocumentation/hwmon/lm75.rst
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

요약·해설

lm75.rst:1-180

여러 제조사의 LM75 호환품을 지원하고 과온 종료·히스테리시스 경보, 최대 16비트 분해능과 모델별 캐시를 적용합니다.

문서 개요
항목
SourceDocumentation/hwmon/lm75.rst
분량180 source lines
온도 범위-55~+125 C
캐시125ms~1초

원문 분량과 핵심 인터페이스입니다.

동작 흐름
칩 유형 선택필요 시 명시적 등록제한값 설정온도·경보 감시

장치 감지부터 측정값 사용까지의 핵심 순서입니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
1 Kernel driver lm75
2 ==================
3
4 Supported chips:
5
6 * National Semiconductor LM75
7
8 Prefix: 'lm75'
9
10 Addresses scanned: I2C 0x48 - 0x4f
11
12 Datasheet: Publicly available at the National Semiconductor website
13
14 http://www.national.com/
15
16 * National Semiconductor LM75A
17
18 Prefix: 'lm75a'
19
20 Addresses scanned: I2C 0x48 - 0x4f
21
22 Datasheet: Publicly available at the National Semiconductor website
23
24 http://www.national.com/
25
26 * Dallas Semiconductor (now Maxim) DS75, DS1775, DS7505
27
28 Prefixes: 'ds75', 'ds1775', 'ds7505'
29
30 Addresses scanned: none
31
32 Datasheet: Publicly available at the Maxim website
33
34 https://www.maximintegrated.com/
35
36 * Maxim MAX6625, MAX6626, MAX31725, MAX31726
37
38 Prefixes: 'max6625', 'max6626', 'max31725', 'max31726'
39
40 Addresses scanned: none
41
42 Datasheet: Publicly available at the Maxim website
43
44 http://www.maxim-ic.com/
45
46 * Microchip (TelCom) TCN75
47
48 Prefix: 'tcn75'
49
50 Addresses scanned: none
51
52 Datasheet: Publicly available at the Microchip website
53
54 http://www.microchip.com/
55
56 * Microchip MCP9800, MCP9801, MCP9802, MCP9803
57
58 Prefix: 'mcp980x'
59
60 Addresses scanned: none
61
62 Datasheet: Publicly available at the Microchip website
63
64 http://www.microchip.com/
65
66 * Analog Devices ADT75
67
68 Prefix: 'adt75'
69
70 Addresses scanned: none
71
72 Datasheet: Publicly available at the Analog Devices website
73
74 https://www.analog.com/adt75
75
76 * ST Microelectronics STDS75
77
78 Prefix: 'stds75'
79
80 Addresses scanned: none
81
82 Datasheet: Publicly available at the ST website
83
84 http://www.st.com/internet/analog/product/121769.jsp
85
86 * ST Microelectronics STLM75
87
88 Prefix: 'stlm75'
89
90 Addresses scanned: none
91
92 Datasheet: Publicly available at the ST website
93
94 https://www.st.com/resource/en/datasheet/stlm75.pdf
95
96 * Texas Instruments TMP100, TMP101, TMP105, TMP112, TMP75, TMP75B, TMP75C, TMP175, TMP275, TMP1075
97
98 Prefixes: 'tmp100', 'tmp101', 'tmp105', 'tmp112', 'tmp175', 'tmp75', 'tmp75b', 'tmp75c', 'tmp275', 'tmp1075'
99
100 Addresses scanned: none
101
102 Datasheet: Publicly available at the Texas Instruments website
103
104 https://www.ti.com/product/tmp100
105
106 https://www.ti.com/product/tmp101
107
108 https://www.ti.com/product/tmp105
109
110 https://www.ti.com/product/tmp112
111
112 https://www.ti.com/product/tmp75
113
114 https://www.ti.com/product/tmp75b
115
116 https://www.ti.com/product/tmp75c
117
118 https://www.ti.com/product/tmp175
119
120 https://www.ti.com/product/tmp275
121
122 https://www.ti.com/product/TMP1075
123
124 * NXP LM75B, P3T1750, P3T1755, PCT2075
125
126 Prefix: 'lm75b', 'p3t1750', 'p3t1755', 'pct2075'
127
128 Addresses scanned: none
129
130 Datasheet: Publicly available at the NXP website
131
132 https://www.nxp.com/docs/en/data-sheet/LM75B.pdf
133
134 https://www.nxp.com/docs/en/data-sheet/P3T1750DP.pdf
135
136 https://www.nxp.com/docs/en/data-sheet/P3T1755.pdf
137
138 https://www.nxp.com/docs/en/data-sheet/PCT2075.pdf
139
140 * AMS OSRAM AS6200
141
142 Prefix: 'as6200'
143
144 Addresses scanned: none
145
146 Datasheet: Publicly available at the AMS website
147
148 https://ams.com/documents/20143/36005/AS6200_DS000449_4-00.pdf
149
150 Author: Frodo Looijaard <[email protected]>
151
152 Description
153 -----------
154
155 The LM75 implements one temperature sensor. Limits can be set through the
156 Overtemperature Shutdown register and Hysteresis register. Each value can be
157 set and read to half-degree accuracy.
158 An alarm is issued (usually to a connected LM78) when the temperature
159 gets higher then the Overtemperature Shutdown value; it stays on until
160 the temperature falls below the Hysteresis value.
161 All temperatures are in degrees Celsius, and are guaranteed within a
162 range of -55 to +125 degrees.
163
164 The driver caches the values for a period varying between 1 second for the
165 slowest chips and 125 ms for the fastest chips; reading it more often
166 will do no harm, but will return 'old' values.
167
168 The original LM75 was typically used in combination with LM78-like chips
169 on PC motherboards, to measure the temperature of the processor(s). Clones
170 are now used in various embedded designs.
171
172 The LM75 is essentially an industry standard; there may be other
173 LM75 clones not listed here, with or without various enhancements,
174 that are supported. The clones are not detected by the driver, unless
175 they reproduce the exact register tricks of the original LM75, and must
176 therefore be instantiated explicitly. Higher resolution up to 16-bit
177 is supported by this driver, other specific enhancements are not.
178
179 The LM77 is not supported, contrary to what we pretended for a long time.
180 Both chips are simply not compatible, value encoding differs.
181

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

LM75 표준과 지원 호환품

1-151

`lm75` 드라이버는 원형 LM75·LM75A뿐 아니라 여러 제조사의 호환 온도 센서를 지원합니다. LM75와 LM75A는 I2C 주소 `0x48`부터 `0x4f`까지 검색하며, 나머지 호환품은 자동 검색하지 않아 명시적으로 등록해야 합니다.

Dallas/Maxim 계열은 DS75·DS1775·DS7505와 MAX6625·MAX6626·MAX31725·MAX31726, Microchip 계열은 TCN75와 MCP9800·MCP9801·MCP9802·MCP9803, Analog Devices는 ADT75, ST는 STDS75와 STLM75를 지원합니다.

TI 계열은 TMP100·TMP101·TMP105·TMP112·TMP75·TMP75B·TMP75C·TMP175·TMP275·TMP1075를 지원합니다. NXP 계열은 LM75B·P3T1750·P3T1755·PCT2075, AMS OSRAM 계열은 AS6200을 지원하며 원문의 제조사별 데이터시트 링크를 모두 보존합니다. 작성자는 Frodo Looijaard입니다.

LM75 호환 계열
제조사접두사
National SemiconductorLM75, LM75Alm75, lm75a
Dallas/MaximDS75, DS1775, DS7505, MAX6625/26, MAX31725/26모델별 접두사
MicrochipTCN75, MCP9800/1/2/3tcn75, mcp980x
Analog Devices / STADT75, STDS75, STLM75adt75, stds75, stlm75
Texas InstrumentsTMP100/101/105/112/75/75B/75C/175/275/1075모델별 접두사
NXP / AMS OSRAMLM75B, P3T1750/55, PCT2075, AS6200모델별 접두사

제조사별 대표 칩과 드라이버 접두사입니다.

LM75 호환품 연결
실장 센서 모델 확인LM75·LM75A이면 지원 주소 검색호환품이면 모델별 접두사 선택검색하지 않는 칩은 명시적으로 등록온도와 제한 속성 확인

자동 검색 여부와 정확한 칩 유형을 구분합니다.

Kernel driver lm75
==================

Supported chips:

  * National Semiconductor LM75

    Prefix: 'lm75'

    Addresses scanned: I2C 0x48 - 0x4f

    Datasheet: Publicly available at the National Semiconductor website

               http://www.national.com/

  * National Semiconductor LM75A

    Prefix: 'lm75a'

    Addresses scanned: I2C 0x48 - 0x4f

    Datasheet: Publicly available at the National Semiconductor website

               http://www.national.com/

  * Dallas Semiconductor (now Maxim) DS75, DS1775, DS7505

    Prefixes: 'ds75', 'ds1775', 'ds7505'

    Addresses scanned: none

    Datasheet: Publicly available at the Maxim website

               https://www.maximintegrated.com/

  * Maxim MAX6625, MAX6626, MAX31725, MAX31726

    Prefixes: 'max6625', 'max6626', 'max31725', 'max31726'

    Addresses scanned: none

    Datasheet: Publicly available at the Maxim website

               http://www.maxim-ic.com/

  * Microchip (TelCom) TCN75

    Prefix: 'tcn75'

    Addresses scanned: none

    Datasheet: Publicly available at the Microchip website

               http://www.microchip.com/

  * Microchip MCP9800, MCP9801, MCP9802, MCP9803

    Prefix: 'mcp980x'

    Addresses scanned: none

    Datasheet: Publicly available at the Microchip website

               http://www.microchip.com/

  * Analog Devices ADT75

    Prefix: 'adt75'

    Addresses scanned: none

    Datasheet: Publicly available at the Analog Devices website

               https://www.analog.com/adt75

  * ST Microelectronics STDS75

    Prefix: 'stds75'

    Addresses scanned: none

    Datasheet: Publicly available at the ST website

               http://www.st.com/internet/analog/product/121769.jsp

  * ST Microelectronics STLM75

    Prefix: 'stlm75'

    Addresses scanned: none

    Datasheet: Publicly available at the ST website

               https://www.st.com/resource/en/datasheet/stlm75.pdf

  * Texas Instruments TMP100, TMP101, TMP105, TMP112, TMP75, TMP75B, TMP75C, TMP175, TMP275, TMP1075

    Prefixes: 'tmp100', 'tmp101', 'tmp105', 'tmp112', 'tmp175', 'tmp75', 'tmp75b', 'tmp75c', 'tmp275', 'tmp1075'

    Addresses scanned: none

    Datasheet: Publicly available at the Texas Instruments website

               https://www.ti.com/product/tmp100

               https://www.ti.com/product/tmp101

               https://www.ti.com/product/tmp105

               https://www.ti.com/product/tmp112

               https://www.ti.com/product/tmp75

               https://www.ti.com/product/tmp75b

               https://www.ti.com/product/tmp75c

               https://www.ti.com/product/tmp175

               https://www.ti.com/product/tmp275

         https://www.ti.com/product/TMP1075

  * NXP LM75B, P3T1750, P3T1755, PCT2075

    Prefix: 'lm75b', 'p3t1750', 'p3t1755', 'pct2075'

    Addresses scanned: none

    Datasheet: Publicly available at the NXP website

               https://www.nxp.com/docs/en/data-sheet/LM75B.pdf

               https://www.nxp.com/docs/en/data-sheet/P3T1750DP.pdf

               https://www.nxp.com/docs/en/data-sheet/P3T1755.pdf

               https://www.nxp.com/docs/en/data-sheet/PCT2075.pdf

  * AMS OSRAM AS6200

    Prefix: 'as6200'

    Addresses scanned: none

    Datasheet: Publicly available at the AMS website

               https://ams.com/documents/20143/36005/AS6200_DS000449_4-00.pdf

Author: Frodo Looijaard <[email protected]>

온도 제한과 히스테리시스 경보

152-163

LM75는 온도 센서 하나를 구현합니다. 과온 종료 레지스터와 히스테리시스 레지스터로 제한값을 설정하며, 각 값은 0.5도 정확도로 읽고 쓸 수 있습니다.

온도가 과온 종료값보다 높아지면 보통 연결된 LM78 쪽으로 경보가 발생합니다. 온도가 히스테리시스 값 아래로 떨어질 때까지 경보는 유지됩니다. 모든 온도는 섭씨이며 보장 범위는 -55도부터 +125도까지입니다.

LM75 온도 경보
항목동작
과온 종료값온도가 초과하면 경보 설정
히스테리시스 값온도가 아래로 내려가면 경보 해제
설정 정확도0.5 C
보장 범위-55~+125 C

두 제한 레지스터가 경보 설정과 해제를 결정합니다.

과온 경보 상태
과온 종료값과 히스테리시스 설정현재 온도 측정과온 종료값 초과 시 경보히스테리시스 값 아래까지 유지하강 경계 통과 시 해제

상승과 하강 경계가 다른 히스테리시스 동작입니다.

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.

캐시 주기·산업 표준 호환·LM77 비호환

164-180

드라이버의 값 캐시 시간은 가장 느린 칩의 1초부터 가장 빠른 칩의 125ms까지 모델에 따라 달라집니다. 그보다 자주 읽어도 문제는 없지만 이전 값이 반환됩니다.

원형 LM75는 PC 메인보드에서 LM78 계열 칩과 함께 프로세서 온도를 재는 용도로 흔히 쓰였고, 현재 호환품은 다양한 임베디드 설계에 사용됩니다.

LM75는 사실상 산업 표준이어서 목록 밖의 호환품도 지원될 수 있습니다. 그러나 원형 LM75의 정확한 레지스터 식별 기법을 재현하지 않는 호환품은 자동 감지되지 않으므로 명시적으로 생성해야 합니다. 최대 16비트의 높은 분해능은 지원하지만 그 밖의 칩 고유 확장 기능은 지원하지 않습니다.

LM77은 값 인코딩이 달라 LM75와 호환되지 않으며 이 드라이버가 지원하지 않습니다.

LM75 운용 제약
항목내용
캐시모델에 따라 125ms~1초
고분해능최대 16비트 지원
추가 확장칩 고유 기능은 지원하지 않음
호환품 감지대부분 명시적 등록 필요
LM77값 인코딩 차이로 비호환

캐시와 호환품 처리에서 중요한 차이입니다.

호환품 검증
칩 접두사로 명시적 등록캐시 주기와 갱신 확인온도 해상도 확인기본 LM75 레지스터 동작 검증LM77이면 전용 드라이버 사용

LM75 형식과 실제 칩 동작을 대조합니다.

The driver caches the values for a period varying between 1 second for the
slowest chips and 125 ms for the fastest chips; reading it more often
will do no harm, but will return 'old' values.

The original LM75 was typically used in combination with LM78-like chips
on PC motherboards, to measure the temperature of the processor(s). Clones
are now used in various embedded designs.

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 clones are not detected by the driver, unless
they reproduce the exact register tricks of the original LM75, and must
therefore be instantiated explicitly. Higher resolution up to 16-bit
is supported by this driver, other specific enhancements are not.

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