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

Linux 6.18.37 · Hardware Monitoring

Kernel driver max6650

MAX6650/MAX6651 팬 컨트롤러의 개방·폐루프 제어와 BIOS 초기화 매개변수입니다.

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

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

1. 요약·해설

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

요약·해설

max6650.rst:1-74

모델별 팬 입력 수를 구분하고 PWM 모드·RPM 범위와 BIOS 구성 유지 여부를 관리합니다.

문서 개요
항목
SourceDocumentation/hwmon/max6650.rst
분량74 source lines
팬 입력1개 또는 4개
제어 모드전속·개방·폐루프·정지

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

운영 흐름
모델 확인장치 생성초기화 방식 선택팬 제어 설정RPM 확인

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

2. 영어 원문 전체

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

원문 전체 펼치기
1 Kernel driver max6650
2 =====================
3
4 Supported chips:
5
6 * Maxim MAX6650
7
8 Prefix: 'max6650'
9
10 Addresses scanned: none
11
12 Datasheet: http://pdfserv.maxim-ic.com/en/ds/MAX6650-MAX6651.pdf
13
14 * Maxim MAX6651
15
16 Prefix: 'max6651'
17
18 Addresses scanned: none
19
20 Datasheet: http://pdfserv.maxim-ic.com/en/ds/MAX6650-MAX6651.pdf
21
22 Authors:
23 - Hans J. Koch <hjk@hansjkoch.de>
24 - John Morris <john.morris@spirentcom.com>
25 - Claus Gindhart <claus.gindhart@kontron.com>
26
27 Description
28 -----------
29
30 This driver implements support for the Maxim MAX6650 and MAX6651.
31
32 The 2 devices are very similar, but the MAX6550 has a reduced feature
33 set, e.g. only one fan-input, instead of 4 for the MAX6651.
34
35 The driver is not able to distinguish between the 2 devices.
36
37 The driver provides the following sensor accesses in sysfs:
38
39 =============== ======= =======================================================
40 fan1_input ro fan tachometer speed in RPM
41 fan2_input ro "
42 fan3_input ro "
43 fan4_input ro "
44 fan1_target rw desired fan speed in RPM (closed loop mode only)
45 pwm1_enable rw regulator mode, 0=full on, 1=open loop, 2=closed loop
46 3=off
47 pwm1 rw relative speed (0-255), 255=max. speed.
48 Used in open loop mode only.
49 fan1_div rw sets the speed range the inputs can handle. Legal
50 values are 1, 2, 4, and 8. Use lower values for
51 faster fans.
52 =============== ======= =======================================================
53
54 Usage notes
55 -----------
56
57 This driver does not auto-detect devices. You will have to instantiate the
58 devices explicitly. Please see Documentation/i2c/instantiating-devices.rst for
59 details.
60
61 Module parameters
62 -----------------
63
64 If your board has a BIOS that initializes the MAX6650/6651 correctly, you can
65 simply load your module without parameters. It won't touch the configuration
66 registers then. If your board BIOS doesn't initialize the chip, or you want
67 different settings, you can set the following parameters:
68
69 voltage_12V: 5=5V fan, 12=12V fan, 0=don't change
70 prescaler: Possible values are 1,2,4,8,16, or 0 for don't change
71 clock: The clock frequency in Hz of the chip the driver should assume [254000]
72
73 Please have a look at the MAX6650/6651 data sheet and make sure that you fully
74 understand the meaning of these parameters before you attempt to change them.
75

3. 한국어 전문 번역

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

MAX6650/MAX6651 팬 컨트롤러와 모델 차이

1-37

이 드라이버는 Maxim MAX6650과 MAX6651을 각각 같은 이름의 접두사로 지원하며 주소 자동 검색은 하지 않습니다. 저자는 Hans J. Koch, John Morris, Claus Gindhart입니다.

두 장치는 매우 비슷하지만 MAX6650은 MAX6651의 네 팬 입력과 달리 팬 입력이 하나뿐인 축소 기능 모델입니다. 원문은 이 지점에서 `MAX6550`이라고 적었으며 문맥상 MAX6650을 뜻하지만, 원문 블록은 수정하지 않고 그대로 보존합니다.

드라이버는 두 장치를 구별할 수 없습니다. 따라서 실제 보드의 모델과 연결된 타코미터 수를 사용자가 알고 있어야 합니다.

MAX6650 계열 비교
모델접두사팬 입력
MAX6650max66501개
MAX6651max66514개

드라이버가 모델을 판별하지 못하므로 채널 구성을 외부에서 확인해야 합니다.

모델별 사용
보드의 칩 모델 확인장치 명시적 생성연결된 타코미터 수 확인유효 fan_input만 사용제어 모드 설정

보드 정보를 기준으로 유효 팬 채널을 선택합니다.

Kernel driver max6650
=====================

Supported chips:

  * Maxim MAX6650

    Prefix: 'max6650'

    Addresses scanned: none

    Datasheet: http://pdfserv.maxim-ic.com/en/ds/MAX6650-MAX6651.pdf

  * Maxim MAX6651

    Prefix: 'max6651'

    Addresses scanned: none

    Datasheet: http://pdfserv.maxim-ic.com/en/ds/MAX6650-MAX6651.pdf

Authors:
    - Hans J. Koch <hjk@hansjkoch.de>
    - John Morris <john.morris@spirentcom.com>
    - Claus Gindhart <claus.gindhart@kontron.com>

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

This driver implements support for the Maxim MAX6650 and MAX6651.

The 2 devices are very similar, but the MAX6550 has a reduced feature
set, e.g. only one fan-input, instead of 4 for the MAX6651.

The driver is not able to distinguish between the 2 devices.

The driver provides the following sensor accesses in sysfs:

팬 속성·제어 모드와 모듈 매개변수

38-74

`fan1_input`부터 `fan4_input`은 RPM 타코미터입니다. `fan1_target`은 폐루프 모드에서만 쓰는 목표 RPM입니다. `pwm1_enable`은 0 전속, 1 개방 루프, 2 폐루프, 3 정지입니다.

`pwm1`은 개방 루프에서만 사용하는 0-255 상대 속도이며 255가 최대입니다. `fan1_div`는 입력 속도 범위를 1, 2, 4, 8 중 하나로 설정하고 빠른 팬에는 더 작은 값을 사용합니다.

자동 검출하지 않으므로 장치를 명시적으로 생성합니다. BIOS가 칩을 올바르게 초기화했다면 매개변수 없이 모듈을 로드해 구성 레지스터를 건드리지 않습니다.

다른 설정이 필요하면 `voltage_12V`를 5(5V 팬), 12(12V 팬), 0(변경 없음)으로, `prescaler`를 1·2·4·8·16 또는 0(변경 없음)으로 정합니다. `clock`은 드라이버가 가정할 칩 클록 Hz이며 기본값은 `254000`입니다. 변경 전에 데이터시트 의미를 충분히 이해해야 합니다.

MAX6650 제어값
항목
pwm1_enable0 전속 / 1 개방 / 2 폐루프 / 3 정지
pwm10-255, 개방 루프 전용
fan1_div1,2,4,8; 빠른 팬은 작은 값
voltage_12V5 / 12 / 0 변경 없음
prescaler1,2,4,8,16 / 0 변경 없음
clock기본 254000Hz

모드와 보드 초기화 매개변수를 구분합니다.

안전한 초기화
BIOS 초기화 상태 확인정상이면 매개변수 없이 로드필요할 때만 전압·분주·클록 지정개방/폐루프 모드 선택RPM과 목표값 확인

BIOS 설정 유지 여부를 먼저 결정합니다.


=============== ======= =======================================================
fan1_input        ro        fan tachometer speed in RPM
fan2_input        ro        "
fan3_input        ro        "
fan4_input        ro        "
fan1_target        rw        desired fan speed in RPM (closed loop mode only)
pwm1_enable        rw        regulator mode, 0=full on, 1=open loop, 2=closed loop
                        3=off
pwm1                rw        relative speed (0-255), 255=max. speed.
                        Used in open loop mode only.
fan1_div        rw        sets the speed range the inputs can handle. Legal
                        values are 1, 2, 4, and 8. Use lower values for
                        faster fans.
=============== ======= =======================================================

Usage notes
-----------

This driver does not auto-detect devices. You will have to instantiate the
devices explicitly. Please see Documentation/i2c/instantiating-devices.rst for
details.

Module parameters
-----------------

If your board has a BIOS that initializes the MAX6650/6651 correctly, you can
simply load your module without parameters. It won't touch the configuration
registers then. If your board BIOS doesn't initialize the chip, or you want
different settings, you can set the following parameters:

voltage_12V: 5=5V fan, 12=12V fan, 0=don't change
prescaler: Possible values are 1,2,4,8,16, or 0 for don't change
clock: The clock frequency in Hz of the chip the driver should assume [254000]

Please have a look at the MAX6650/6651 data sheet and make sure that you fully
understand the meaning of these parameters before you attempt to change them.