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

Linux 6.18.37 · Hardware Monitoring

Kernel driver max1668

MAX1668/MAX1805/MAX1989의 로컬·원격 온도 채널과 임계값 쓰기 차단 기능을 설명합니다.

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

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

1. 요약·해설

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

요약·해설

max1668.rst:1-70

모델별 두 개 또는 네 개 원격 온도 채널과 최소·최대 경보, 읽기 전용 임계값 모드를 다룹니다.

문서 개요
항목
SourceDocumentation/hwmon/max1668.rst
분량70 source lines
로컬 채널1개
원격 채널2개 또는 4개

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

운영 흐름
I2C 장치 식별모델별 채널 생성온도·임계값 읽기경보 확인필요 시 쓰기 차단

장치 등록부터 측정·경보 처리까지의 순서입니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 Kernel driver max1668
2 =====================
3
4 Supported chips:
5
6 * Maxim MAX1668, MAX1805 and MAX1989
7
8 Prefix: 'max1668'
9
10 Addresses scanned: I2C 0x18, 0x19, 0x1a, 0x29, 0x2a, 0x2b, 0x4c, 0x4d, 0x4e
11
12 Datasheet: http://datasheets.maxim-ic.com/en/ds/MAX1668-MAX1989.pdf
13
14 Author:
15
16 David George <[email protected]>
17
18 Description
19 -----------
20
21 This driver implements support for the Maxim MAX1668, MAX1805 and MAX1989
22 chips.
23
24 The three devices are very similar, but the MAX1805 has a reduced feature
25 set; only two remote temperature inputs vs the four available on the other
26 two ICs.
27
28 The driver is able to distinguish between the devices and creates sysfs
29 entries as follows:
30
31 - MAX1805, MAX1668 and MAX1989:
32
33 =============== == ============================================================
34 temp1_input ro local (ambient) temperature
35 temp1_max rw local temperature maximum threshold for alarm
36 temp1_max_alarm ro local temperature maximum threshold alarm
37 temp1_min rw local temperature minimum threshold for alarm
38 temp1_min_alarm ro local temperature minimum threshold alarm
39 temp2_input ro remote temperature 1
40 temp2_max rw remote temperature 1 maximum threshold for alarm
41 temp2_max_alarm ro remote temperature 1 maximum threshold alarm
42 temp2_min rw remote temperature 1 minimum threshold for alarm
43 temp2_min_alarm ro remote temperature 1 minimum threshold alarm
44 temp3_input ro remote temperature 2
45 temp3_max rw remote temperature 2 maximum threshold for alarm
46 temp3_max_alarm ro remote temperature 2 maximum threshold alarm
47 temp3_min rw remote temperature 2 minimum threshold for alarm
48 temp3_min_alarm ro remote temperature 2 minimum threshold alarm
49 =============== == ============================================================
50
51 - MAX1668 and MAX1989 only:
52
53 =============== == ============================================================
54 temp4_input ro remote temperature 3
55 temp4_max rw remote temperature 3 maximum threshold for alarm
56 temp4_max_alarm ro remote temperature 3 maximum threshold alarm
57 temp4_min rw remote temperature 3 minimum threshold for alarm
58 temp4_min_alarm ro remote temperature 3 minimum threshold alarm
59 temp5_input ro remote temperature 4
60 temp5_max rw remote temperature 4 maximum threshold for alarm
61 temp5_max_alarm ro remote temperature 4 maximum threshold alarm
62 temp5_min rw remote temperature 4 minimum threshold for alarm
63 temp5_min_alarm ro remote temperature 4 minimum threshold alarm
64 =============== == ============================================================
65
66 Module Parameters
67 -----------------
68
69 * read_only: int
70 Set to non-zero if you wish to prevent write access to alarm thresholds.
71

3. 한국어 전문 번역

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

MAX1668 계열과 원격 온도 채널 구성

1-30

이 문서는 Maxim MAX1668, MAX1805, MAX1989를 지원하는 `max1668` 커널 드라이버를 설명합니다. 드라이버는 I2C 주소 `0x18`, `0x19`, `0x1a`, `0x29`, `0x2a`, `0x2b`, `0x4c`, `0x4d`, `0x4e`를 검색하며, 저자는 David George입니다.

세 장치는 매우 비슷하지만 MAX1805는 기능이 축소되어 원격 온도 입력이 두 개뿐입니다. MAX1668과 MAX1989에는 원격 입력이 네 개 있습니다. 드라이버는 장치를 구별한 뒤 실제 채널 수에 맞는 sysfs 항목을 만듭니다.

MAX1668 계열 비교
모델접두사원격 온도 입력
MAX1805max16682개
MAX1668max16684개
MAX1989max16684개

로컬 센서는 공통이며 원격 입력 수가 모델을 구분합니다.

채널 생성 과정
지원 I2C 주소 검색MAX1805 또는 MAX1668/MAX1989 식별로컬 temp1 생성공통 원격 temp2-temp3 생성지원 모델이면 temp4-temp5 추가

검출된 모델에 따라 노출할 원격 채널 수를 결정합니다.

Kernel driver max1668
=====================

Supported chips:

  * Maxim MAX1668, MAX1805 and MAX1989

    Prefix: 'max1668'

    Addresses scanned: I2C 0x18, 0x19, 0x1a, 0x29, 0x2a, 0x2b, 0x4c, 0x4d, 0x4e

    Datasheet: http://datasheets.maxim-ic.com/en/ds/MAX1668-MAX1989.pdf

Author:

    David George <[email protected]>

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

This driver implements support for the Maxim MAX1668, MAX1805 and MAX1989
chips.

The three devices are very similar, but the MAX1805 has a reduced feature
set; only two remote temperature inputs vs the four available on the other
two ICs.

The driver is able to distinguish between the devices and creates sysfs
entries as follows:

온도 입력·임계값·경보와 읽기 전용 모드

31-70

모든 모델에서 `temp1_input`은 로컬 주변 온도입니다. `temp1_max`와 `temp1_min`은 경보용 최대·최소 임계값이고, 각각 `temp1_max_alarm`과 `temp1_min_alarm`이 해당 임계값 경보를 읽기 전용으로 보고합니다.

`temp2`와 `temp3`은 첫 번째와 두 번째 원격 온도입니다. 각 채널은 현재값, 쓰기 가능한 최대·최소 임계값, 읽기 전용 최대·최소 경보를 제공합니다. MAX1668과 MAX1989에만 있는 `temp4`와 `temp5`도 세 번째·네 번째 원격 온도에 같은 속성 집합을 제공합니다.

모듈 매개변수 `read_only`를 0이 아닌 값으로 설정하면 경보 임계값에 대한 쓰기 접근을 막습니다. 읽기 전용 배포에서 임계값이 의도치 않게 변경되지 않도록 할 때 사용합니다.

MAX1668 sysfs 속성
채널대상속성
temp1로컬 주변 온도input, max, max_alarm, min, min_alarm
temp2-temp3모든 모델의 원격 1-2input, max, max_alarm, min, min_alarm
temp4-temp5MAX1668/MAX1989의 원격 3-4input, max, max_alarm, min, min_alarm
read_only모듈 매개변수0이 아니면 임계값 쓰기 차단

채널마다 입력과 두 방향 임계값·경보를 제공합니다.

온도 경보 확인
로컬 temp1 현재값 확인지원되는 원격 채널 현재값 확인최소·최대 임계값 비교min_alarm·max_alarm 확인필요하면 read_only로 쓰기 차단

현재값과 임계값을 채널별로 함께 읽습니다.

- MAX1805, MAX1668 and MAX1989:

=============== == ============================================================
temp1_input     ro local (ambient) temperature
temp1_max       rw local temperature maximum threshold for alarm
temp1_max_alarm ro local temperature maximum threshold alarm
temp1_min       rw local temperature minimum threshold for alarm
temp1_min_alarm ro local temperature minimum threshold alarm
temp2_input     ro remote temperature 1
temp2_max       rw remote temperature 1 maximum threshold for alarm
temp2_max_alarm ro remote temperature 1 maximum threshold alarm
temp2_min       rw remote temperature 1 minimum threshold for alarm
temp2_min_alarm ro remote temperature 1 minimum threshold alarm
temp3_input     ro remote temperature 2
temp3_max       rw remote temperature 2 maximum threshold for alarm
temp3_max_alarm ro remote temperature 2 maximum threshold alarm
temp3_min       rw remote temperature 2 minimum threshold for alarm
temp3_min_alarm ro remote temperature 2 minimum threshold alarm
=============== == ============================================================

- MAX1668 and MAX1989 only:

=============== == ============================================================
temp4_input     ro remote temperature 3
temp4_max       rw remote temperature 3 maximum threshold for alarm
temp4_max_alarm ro remote temperature 3 maximum threshold alarm
temp4_min       rw remote temperature 3 minimum threshold for alarm
temp4_min_alarm ro remote temperature 3 minimum threshold alarm
temp5_input     ro remote temperature 4
temp5_max       rw remote temperature 4 maximum threshold for alarm
temp5_max_alarm ro remote temperature 4 maximum threshold alarm
temp5_min       rw remote temperature 4 minimum threshold for alarm
temp5_min_alarm ro remote temperature 4 minimum threshold alarm
=============== == ============================================================

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

* read_only: int
  Set to non-zero if you wish to prevent write access to alarm thresholds.