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

Linux 6.18.37 · Hardware Monitoring

Kernel driver max6639

MAX6639의 2채널 온도와 THERM·ALERT·OT 경보, 이중 PWM 팬 제어입니다.

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

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

1. 요약·해설

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

요약·해설

max6639.rst:1-55

두 온도 채널의 세 단계 임계값과 다이오드 고장을 감시하면서 팬 두 개의 PWM·RPM을 제어합니다.

문서 개요
항목
SourceDocumentation/hwmon/max6639.rst
분량55 source lines
온도2채널
2개

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

운영 흐름
온도 구성임계값 설정경보 확인PWM 조정팬 RPM·fault 확인

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

2. 영어 원문 전체

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

원문 전체 펼치기
1 Kernel driver max6639
2 =====================
3
4 Supported chips:
5
6 * Maxim MAX6639
7
8 Prefix: 'max6639'
9
10 Addresses scanned: I2C 0x2c, 0x2e, 0x2f
11
12 Datasheet: https://datasheets.maximintegrated.com/en/ds/MAX6639-MAX6639F.pdf
13
14 Authors:
15 - He Changqing <hechangqing@semptian.com>
16 - Roland Stigge <stigge@antcom.de>
17
18 Description
19 -----------
20
21 This driver implements support for the Maxim MAX6639. This chip is a 2-channel
22 temperature monitor with dual PWM fan speed controller. It can monitor its own
23 temperature and one external diode-connected transistor or two external
24 diode-connected transistors.
25
26 The following device attributes are implemented via sysfs:
27
28 ====================== ==== ===================================================
29 Attribute R/W Contents
30 ====================== ==== ===================================================
31 temp1_input R Temperature channel 1 input (0..150 C)
32 temp2_input R Temperature channel 2 input (0..150 C)
33 temp1_fault R Temperature channel 1 diode fault
34 temp2_fault R Temperature channel 2 diode fault
35 temp1_max RW Set THERM temperature for input 1
36 (in C, see datasheet)
37 temp2_max RW Set THERM temperature for input 2
38 temp1_crit RW Set ALERT temperature for input 1
39 temp2_crit RW Set ALERT temperature for input 2
40 temp1_emergency RW Set OT temperature for input 1
41 (in C, see datasheet)
42 temp2_emergency RW Set OT temperature for input 2
43 pwm1 RW Fan 1 target duty cycle (0..255)
44 pwm2 RW Fan 2 target duty cycle (0..255)
45 fan1_input R TACH1 fan tachometer input (in RPM)
46 fan2_input R TACH2 fan tachometer input (in RPM)
47 fan1_fault R Fan 1 fault
48 fan2_fault R Fan 2 fault
49 temp1_max_alarm R Alarm on THERM temperature on channel 1
50 temp2_max_alarm R Alarm on THERM temperature on channel 2
51 temp1_crit_alarm R Alarm on ALERT temperature on channel 1
52 temp2_crit_alarm R Alarm on ALERT temperature on channel 2
53 temp1_emergency_alarm R Alarm on OT temperature on channel 1
54 temp2_emergency_alarm R Alarm on OT temperature on channel 2
55 ====================== ==== ===================================================
56

3. 한국어 전문 번역

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

2채널 온도 감시와 이중 PWM 팬 제어

1-22

He Changqing과 Roland Stigge가 작성한 이 드라이버는 Maxim MAX6639를 `max6639` 접두사로 지원하며 I2C 주소 `0x2c`, `0x2e`, `0x2f`를 검색합니다.

MAX6639는 2채널 온도 모니터와 이중 PWM 팬 속도 컨트롤러입니다. 자체 온도와 외부 다이오드 연결 트랜지스터 하나를 감시하거나, 외부 다이오드 연결 트랜지스터 두 개를 감시할 수 있습니다.

MAX6639 센서·팬 구성
기능채널
온도자체 + 외부 1 또는 외부 2
PWM 팬2
타코미터2
검색 주소0x2c, 0x2e, 0x2f

두 온도 채널과 팬 두 개를 함께 관리합니다.

MAX6639 감시 경로
온도 센서 구성 선택두 채널 온도 읽기THERM·ALERT·OT 비교PWM 듀티 적용RPM·팬 고장 확인

온도 임계값과 팬 출력을 한 장치에서 연결합니다.

Kernel driver max6639
=====================

Supported chips:

  * Maxim MAX6639

    Prefix: 'max6639'

    Addresses scanned: I2C 0x2c, 0x2e, 0x2f

    Datasheet: https://datasheets.maximintegrated.com/en/ds/MAX6639-MAX6639F.pdf

Authors:
    - He Changqing <hechangqing@semptian.com>
    - Roland Stigge <stigge@antcom.de>

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

This driver implements support for the Maxim MAX6639. This chip is a 2-channel
temperature monitor with dual PWM fan speed controller. It can monitor its own

THERM·ALERT·OT 임계값과 팬 상태

23-55

`temp1_input`과 `temp2_input`은 0-150°C 온도이고 `temp1_fault`, `temp2_fault`는 다이오드 고장입니다.

`temp1_max`, `temp2_max`는 THERM 온도, `temp1_crit`, `temp2_crit`는 ALERT 온도, `temp1_emergency`, `temp2_emergency`는 OT 온도를 설정합니다. 각 단계는 `max_alarm`, `crit_alarm`, `emergency_alarm`으로 채널별 경보를 제공합니다.

`pwm1`, `pwm2`는 0-255 목표 듀티입니다. `fan1_input`, `fan2_input`은 TACH1·TACH2의 RPM이며 `fan1_fault`, `fan2_fault`는 팬 고장입니다.

MAX6639 임계 단계
단계설정 속성경보 속성
THERMtemp1-2_maxtemp1-2_max_alarm
ALERTtemp1-2_crittemp1-2_crit_alarm
OTtemp1-2_emergencytemp1-2_emergency_alarm
pwm1-2fan1-2_fault

세 온도 단계와 대응 경보를 구분합니다.

MAX6639 보호 처리
temp1·temp2와 diode fault 읽기THERM 임계 비교ALERT·OT 임계 비교pwm1·pwm2 조정fan RPM·fault 확인

온도 심각도와 팬 상태를 함께 평가합니다.

temperature and one external diode-connected transistor or two external
diode-connected transistors.

The following device attributes are implemented via sysfs:

====================== ==== ===================================================
Attribute              R/W  Contents
====================== ==== ===================================================
temp1_input            R    Temperature channel 1 input (0..150 C)
temp2_input            R    Temperature channel 2 input (0..150 C)
temp1_fault            R    Temperature channel 1 diode fault
temp2_fault            R    Temperature channel 2 diode fault
temp1_max              RW   Set THERM temperature for input 1
                            (in C, see datasheet)
temp2_max              RW   Set THERM temperature for input 2
temp1_crit             RW   Set ALERT temperature for input 1
temp2_crit             RW   Set ALERT temperature for input 2
temp1_emergency        RW   Set OT temperature for input 1
                            (in C, see datasheet)
temp2_emergency        RW   Set OT temperature for input 2
pwm1                   RW   Fan 1 target duty cycle (0..255)
pwm2                   RW   Fan 2 target duty cycle (0..255)
fan1_input             R    TACH1 fan tachometer input (in RPM)
fan2_input             R    TACH2 fan tachometer input (in RPM)
fan1_fault             R    Fan 1 fault
fan2_fault             R    Fan 2 fault
temp1_max_alarm        R    Alarm on THERM temperature on channel 1
temp2_max_alarm        R    Alarm on THERM temperature on channel 2
temp1_crit_alarm       R    Alarm on ALERT temperature on channel 1
temp2_crit_alarm       R    Alarm on ALERT temperature on channel 2
temp1_emergency_alarm  R    Alarm on OT temperature on channel 1
temp2_emergency_alarm  R    Alarm on OT temperature on channel 2
====================== ==== ===================================================