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

Linux 6.18.37 · Hardware Monitoring

Kernel driver jc42

JEDEC JC 42.4 DDR3 메모리 온도 센서의 임계값, 공통 히스테리시스, 경보 속성입니다.

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

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

1. 요약·해설

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

요약·해설

jc42.rst:1-152

여러 제조사의 JC 42.4 호환 메모리 온도 센서를 자동 탐색하고 최소·최대·임계값과 공통 히스테리시스, 세 경보를 제공합니다.

문서 개요
항목
SourceDocumentation/hwmon/jc42.rst
분량152 source lines
주소I2C 0x18~0x1f
센서온도 1개

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

동작 흐름
I2C 센서 탐색온도·한계 읽기히스테리시스 설정경보 감시

하드웨어 측정에서 hwmon 게시까지의 핵심 순서입니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 Kernel driver jc42
2 ==================
3
4 Supported chips:
5
6 * Analog Devices ADT7408
7
8 Datasheets:
9
10 https://www.analog.com/static/imported-files/data_sheets/ADT7408.pdf
11
12 * Atmel AT30TS00, AT30TS002A/B, AT30TSE004A
13
14 Datasheets:
15
16 http://www.atmel.com/Images/doc8585.pdf
17
18 http://www.atmel.com/Images/doc8711.pdf
19
20 http://www.atmel.com/Images/Atmel-8852-SEEPROM-AT30TSE002A-Datasheet.pdf
21
22 http://www.atmel.com/Images/Atmel-8868-DTS-AT30TSE004A-Datasheet.pdf
23
24 * IDT TSE2002B3, TSE2002GB2, TSE2004GB2, TS3000B3, TS3000GB0, TS3000GB2,
25
26 TS3001GB2
27
28 Datasheets:
29
30 Available from IDT web site
31
32 * Maxim MAX6604
33
34 Datasheets:
35
36 http://datasheets.maxim-ic.com/en/ds/MAX6604.pdf
37
38 * Microchip MCP9804, MCP9805, MCP9808, MCP98242, MCP98243, MCP98244, MCP9843
39
40 Datasheets:
41
42 https://ww1.microchip.com/downloads/en/DeviceDoc/22203C.pdf
43
44 https://ww1.microchip.com/downloads/en/DeviceDoc/21977b.pdf
45
46 https://ww1.microchip.com/downloads/en/DeviceDoc/25095A.pdf
47
48 https://ww1.microchip.com/downloads/en/DeviceDoc/21996a.pdf
49
50 https://ww1.microchip.com/downloads/en/DeviceDoc/22153c.pdf
51
52 https://ww1.microchip.com/downloads/en/DeviceDoc/22327A.pdf
53
54 * NXP Semiconductors SE97, SE97B, SE98, SE98A
55
56 Datasheets:
57
58 https://www.nxp.com/documents/data_sheet/SE97.pdf
59
60 https://www.nxp.com/documents/data_sheet/SE97B.pdf
61
62 https://www.nxp.com/documents/data_sheet/SE98.pdf
63
64 https://www.nxp.com/documents/data_sheet/SE98A.pdf
65
66 * ON Semiconductor CAT34TS02, CAT6095
67
68 Datasheet:
69
70 https://www.onsemi.com/pub_link/Collateral/CAT34TS02-D.PDF
71
72 https://www.onsemi.com/pub/Collateral/CAT6095-D.PDF
73
74 * ST Microelectronics STTS424, STTS424E02, STTS2002, STTS2004, STTS3000
75
76 Datasheets:
77
78 http://www.st.com/web/en/resource/technical/document/datasheet/CD00157556.pdf
79
80 http://www.st.com/web/en/resource/technical/document/datasheet/CD00157558.pdf
81
82 http://www.st.com/web/en/resource/technical/document/datasheet/CD00266638.pdf
83
84 http://www.st.com/web/en/resource/technical/document/datasheet/CD00225278.pdf
85
86 http://www.st.com/web/en/resource/technical/document/datasheet/DM00076709.pdf
87
88 * JEDEC JC 42.4 compliant temperature sensor chips
89
90 Datasheet:
91
92 http://www.jedec.org/sites/default/files/docs/4_01_04R19.pdf
93
94
95 Common for all chips:
96
97 Prefix: 'jc42'
98
99 Addresses scanned: I2C 0x18 - 0x1f
100
101 Author:
102 Guenter Roeck <linux@roeck-us.net>
103
104
105 Description
106 -----------
107
108 This driver implements support for JEDEC JC 42.4 compliant temperature sensors,
109 which are used on many DDR3 memory modules for mobile devices and servers. Some
110 systems use the sensor to prevent memory overheating by automatically throttling
111 the memory controller.
112
113 The driver auto-detects the chips listed above, but can be manually instantiated
114 to support other JC 42.4 compliant chips.
115
116 Example: the following will load the driver for a generic JC 42.4 compliant
117 temperature sensor at address 0x18 on I2C bus #1::
118
119 # modprobe jc42
120 # echo jc42 0x18 > /sys/bus/i2c/devices/i2c-1/new_device
121
122 A JC 42.4 compliant chip supports a single temperature sensor. Minimum, maximum,
123 and critical temperature can be configured. There are alarms for high, low,
124 and critical thresholds.
125
126 There is also an hysteresis to control the thresholds for resetting alarms.
127 Per JC 42.4 specification, the hysteresis threshold can be configured to 0, 1.5,
128 3.0, and 6.0 degrees C. Configured hysteresis values will be rounded to those
129 limits. The chip supports only a single register to configure the hysteresis,
130 which applies to all limits. This register can be written by writing into
131 temp1_crit_hyst. Other hysteresis attributes are read-only.
132
133 If the BIOS has configured the sensor for automatic temperature management, it
134 is likely that it has locked the registers, i.e., that the temperature limits
135 cannot be changed.
136
137 Sysfs entries
138 -------------
139
140 ======================= ===========================================
141 temp1_input Temperature (RO)
142 temp1_min Minimum temperature (RO or RW)
143 temp1_max Maximum temperature (RO or RW)
144 temp1_crit Critical high temperature (RO or RW)
145
146 temp1_crit_hyst Critical hysteresis temperature (RO or RW)
147 temp1_max_hyst Maximum hysteresis temperature (RO)
148
149 temp1_min_alarm Temperature low alarm
150 temp1_max_alarm Temperature high alarm
151 temp1_crit_alarm Temperature critical alarm
152 ======================= ===========================================
153

3. 한국어 전문 번역

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

JC 42.4 지원 칩과 공통 식별 정보

1-104

`jc42` 드라이버는 JEDEC JC 42.4 규격을 따르는 여러 제조사의 메모리 온도 센서를 지원합니다. 모든 칩은 공통 접두사 `jc42`를 사용하며 I2C 주소 `0x18`부터 `0x1f`까지 검색합니다. 작성자는 Guenter Roeck입니다.

지원 목록에는 Analog Devices ADT7408, Atmel AT30TS00·AT30TS002A/B·AT30TSE004A, IDT TSE2002B3·TSE2002GB2·TSE2004GB2·TS3000B3·TS3000GB0·TS3000GB2·TS3001GB2, Maxim MAX6604가 포함됩니다.

또한 Microchip MCP9804·MCP9805·MCP9808·MCP98242·MCP98243·MCP98244·MCP9843, NXP SE97·SE97B·SE98·SE98A, ON Semiconductor CAT34TS02·CAT6095, ST STTS424·STTS424E02·STTS2002·STTS2004·STTS3000과 기타 JEDEC JC 42.4 호환 센서를 지원합니다. 데이터시트 주소는 원문 링크에 모두 보존되어 있습니다.

JC 42.4 지원 제품군
제조사지원 모델자료
Analog DevicesADT7408원문 Analog Devices 링크
AtmelAT30TS00, AT30TS002A/B, AT30TSE004A원문 4개 링크
IDTTSE2002B3, TSE2002GB2, TSE2004GB2, TS3000B3, TS3000GB0, TS3000GB2, TS3001GB2IDT 웹사이트
MaximMAX6604원문 Maxim 링크
MicrochipMCP9804, MCP9805, MCP9808, MCP98242, MCP98243, MCP98244, MCP9843원문 6개 링크
NXPSE97, SE97B, SE98, SE98A원문 4개 링크
ON SemiconductorCAT34TS02, CAT6095원문 2개 링크
ST MicroelectronicsSTTS424, STTS424E02, STTS2002, STTS2004, STTS3000원문 5개 링크
JEDEC 호환 칩JC 42.4 compliant temperature sensor chipsJEDEC JC 42.4 규격 링크

제조사별 지원 모델과 자료 위치를 묶었습니다.

JC42 센서 탐색
I2C 0x18~0x1f 주소 검색지원 칩 ID 확인jc42 드라이버 결합단일 온도 채널 등록임계값과 경보 속성 게시

공통 I2C 주소 범위에서 호환 칩을 식별합니다.

Kernel driver jc42
==================

Supported chips:

  * Analog Devices ADT7408

    Datasheets:

        https://www.analog.com/static/imported-files/data_sheets/ADT7408.pdf

  * Atmel AT30TS00, AT30TS002A/B, AT30TSE004A

    Datasheets:

        http://www.atmel.com/Images/doc8585.pdf

        http://www.atmel.com/Images/doc8711.pdf

        http://www.atmel.com/Images/Atmel-8852-SEEPROM-AT30TSE002A-Datasheet.pdf

        http://www.atmel.com/Images/Atmel-8868-DTS-AT30TSE004A-Datasheet.pdf

  * IDT TSE2002B3, TSE2002GB2, TSE2004GB2, TS3000B3, TS3000GB0, TS3000GB2,

        TS3001GB2

    Datasheets:

        Available from IDT web site

  * Maxim MAX6604

    Datasheets:

        http://datasheets.maxim-ic.com/en/ds/MAX6604.pdf

  * Microchip MCP9804, MCP9805, MCP9808, MCP98242, MCP98243, MCP98244, MCP9843

    Datasheets:

        https://ww1.microchip.com/downloads/en/DeviceDoc/22203C.pdf

        https://ww1.microchip.com/downloads/en/DeviceDoc/21977b.pdf

        https://ww1.microchip.com/downloads/en/DeviceDoc/25095A.pdf

        https://ww1.microchip.com/downloads/en/DeviceDoc/21996a.pdf

        https://ww1.microchip.com/downloads/en/DeviceDoc/22153c.pdf

        https://ww1.microchip.com/downloads/en/DeviceDoc/22327A.pdf

  * NXP Semiconductors SE97, SE97B, SE98, SE98A

    Datasheets:

        https://www.nxp.com/documents/data_sheet/SE97.pdf

        https://www.nxp.com/documents/data_sheet/SE97B.pdf

        https://www.nxp.com/documents/data_sheet/SE98.pdf

        https://www.nxp.com/documents/data_sheet/SE98A.pdf

  * ON Semiconductor CAT34TS02, CAT6095

    Datasheet:

        https://www.onsemi.com/pub_link/Collateral/CAT34TS02-D.PDF

        https://www.onsemi.com/pub/Collateral/CAT6095-D.PDF

  * ST Microelectronics STTS424, STTS424E02, STTS2002, STTS2004, STTS3000

    Datasheets:

        http://www.st.com/web/en/resource/technical/document/datasheet/CD00157556.pdf

        http://www.st.com/web/en/resource/technical/document/datasheet/CD00157558.pdf

        http://www.st.com/web/en/resource/technical/document/datasheet/CD00266638.pdf

        http://www.st.com/web/en/resource/technical/document/datasheet/CD00225278.pdf

        http://www.st.com/web/en/resource/technical/document/datasheet/DM00076709.pdf

  * JEDEC JC 42.4 compliant temperature sensor chips

    Datasheet:

        http://www.jedec.org/sites/default/files/docs/4_01_04R19.pdf


  Common for all chips:

    Prefix: 'jc42'

    Addresses scanned: I2C 0x18 - 0x1f

Author:
        Guenter Roeck <linux@roeck-us.net>

메모리 온도 보호와 히스테리시스

105-136

이 드라이버는 모바일 장치와 서버의 DDR3 메모리 모듈에 널리 사용되는 JEDEC JC 42.4 호환 온도 센서를 지원합니다. 일부 시스템은 메모리 과열을 막기 위해 센서 값을 사용해 메모리 컨트롤러를 자동으로 스로틀링합니다.

목록에 있는 칩은 자동 감지하지만 다른 JC 42.4 호환 칩은 수동으로 인스턴스화할 수 있습니다. I2C 버스 1의 주소 `0x18`에 일반 센서를 등록하는 예는 `modprobe jc42` 후 `/sys/bus/i2c/devices/i2c-1/new_device`에 `jc42 0x18`을 기록하는 것입니다.

호환 칩은 온도 센서 하나를 제공하며 최소, 최대, 임계 고온을 설정할 수 있습니다. 저온·고온·임계 경보가 있고, 경보를 해제할 때 적용되는 히스테리시스도 있습니다.

JC 42.4 규격상 히스테리시스는 0, 1.5, 3.0, 6.0도 C 중 하나이므로 설정값은 이 값으로 반올림됩니다. 칩에는 모든 한계에 공통 적용되는 히스테리시스 레지스터 하나만 있습니다. `temp1_crit_hyst`에 기록해 설정하고 다른 히스테리시스 속성은 읽기 전용입니다.

BIOS가 자동 온도 관리를 구성했다면 레지스터를 잠갔을 가능성이 있으며, 이 경우 온도 한계를 변경할 수 없습니다.

JC42 온도 관리
기능설정·동작
센서 수1
임계값최소, 최대, 임계 고온
경보저온, 고온, 임계
히스테리시스0 / 1.5 / 3.0 / 6.0도 C로 반올림
쓰기 속성temp1_crit_hyst
공통 적용하나의 레지스터가 모든 한계에 적용
BIOS 잠금자동 관리 구성 시 한계 변경 불가 가능

단일 센서의 임계값과 공통 히스테리시스 동작입니다.

경보와 히스테리시스
최소·최대·임계 한계 설정히스테리시스를 지원값으로 반올림temp1_crit_hyst에 공통 값 기록온도 한계 교차 시 경보 설정히스테리시스 복귀점에서 경보 해제

온도 상승과 하강에서 경보 상태를 안정적으로 관리합니다.

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

This driver implements support for JEDEC JC 42.4 compliant temperature sensors,
which are used on many DDR3 memory modules for mobile devices and servers. Some
systems use the sensor to prevent memory overheating by automatically throttling
the memory controller.

The driver auto-detects the chips listed above, but can be manually instantiated
to support other JC 42.4 compliant chips.

Example: the following will load the driver for a generic JC 42.4 compliant
temperature sensor at address 0x18 on I2C bus #1::

        # modprobe jc42
        # echo jc42 0x18 > /sys/bus/i2c/devices/i2c-1/new_device

A JC 42.4 compliant chip supports a single temperature sensor. Minimum, maximum,
and critical temperature can be configured. There are alarms for high, low,
and critical thresholds.

There is also an hysteresis to control the thresholds for resetting alarms.
Per JC 42.4 specification, the hysteresis threshold can be configured to 0, 1.5,
3.0, and 6.0 degrees C. Configured hysteresis values will be rounded to those
limits. The chip supports only a single register to configure the hysteresis,
which applies to all limits. This register can be written by writing into
temp1_crit_hyst. Other hysteresis attributes are read-only.

If the BIOS has configured the sensor for automatic temperature management, it
is likely that it has locked the registers, i.e., that the temperature limits
cannot be changed.

JC42 sysfs 속성

137-152

`temp1_input`은 읽기 전용 현재 온도입니다. `temp1_min`, `temp1_max`, `temp1_crit`은 칩 또는 BIOS 잠금 상태에 따라 읽기 전용이거나 읽기·쓰기가 가능합니다.

`temp1_crit_hyst`는 임계 히스테리시스 온도로 읽기 전용 또는 읽기·쓰기가 가능하고, `temp1_max_hyst`는 최대 히스테리시스 온도로 읽기 전용입니다. `temp1_min_alarm`, `temp1_max_alarm`, `temp1_crit_alarm`은 각각 저온, 고온, 임계 온도 경보입니다.

JC42 속성 권한
속성권한내용
temp1_inputRO현재 온도
temp1_minRO 또는 RW최소 온도
temp1_maxRO 또는 RW최대 온도
temp1_critRO 또는 RW임계 고온
temp1_crit_hystRO 또는 RW임계 히스테리시스 온도
temp1_max_hystRO최대 히스테리시스 온도
temp1_min_alarmRO저온 경보
temp1_max_alarmRO고온 경보
temp1_crit_alarmRO임계 경보

원문의 읽기·쓰기 조건을 그대로 구분했습니다.

sysfs 운용
temp1_input 읽기한계 속성의 쓰기 가능 여부 확인필요하면 min·max·crit 설정공통 히스테리시스 설정세 alarm 속성 감시

권한과 BIOS 잠금 상태를 고려해 한계값을 다룹니다.

Sysfs entries
-------------

======================= ===========================================
temp1_input                Temperature (RO)
temp1_min                Minimum temperature (RO or RW)
temp1_max                Maximum temperature (RO or RW)
temp1_crit                Critical high temperature (RO or RW)

temp1_crit_hyst                Critical hysteresis temperature (RO or RW)
temp1_max_hyst                Maximum hysteresis temperature (RO)

temp1_min_alarm                Temperature low alarm
temp1_max_alarm                Temperature high alarm
temp1_crit_alarm        Temperature critical alarm
======================= ===========================================