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

Linux 6.18.37 · Hardware Monitoring

Kernel driver emc2103

EMC2103의 RPM 기반 fan 제어와 anti-parallel diode 온도 채널입니다.

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

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

1. 요약·해설

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

요약·해설

emc2103.rst:1-37

최대 4개 온도 센서와 단일 fan controller의 divider·target·APD 동작을 설명합니다.

문서 개요
항목
SourceDocumentation/hwmon/emc2103.rst
분량37 source lines
I2C0x2e
Divider1, 2, 4, 8

원문 분량과 핵심 범위입니다.

핵심 흐름
온도·fan 등록Divider 선택RPM target 설정APD 배선 처리

장치 동작의 기본 순서입니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 Kernel driver emc2103
2 ======================
3
4 Supported chips:
5
6 * SMSC EMC2103
7
8 Addresses scanned: I2C 0x2e
9
10 Prefix: 'emc2103'
11
12 Datasheet: Not public
13
14 Authors:
15 Steve Glendinning <steve.glendinning@smsc.com>
16
17 Description
18 -----------
19
20 The Standard Microsystems Corporation (SMSC) EMC2103 chips
21 contain up to 4 temperature sensors and a single fan controller.
22
23 Fan rotation speeds are reported in RPM (rotations per minute). An alarm is
24 triggered if the rotation speed has dropped below a programmable limit. Fan
25 readings can be divided by a programmable divider (1, 2, 4 or 8) to give
26 the readings more range or accuracy. Not all RPM values can accurately be
27 represented, so some rounding is done. With a divider of 1, the lowest
28 representable value is 480 RPM.
29
30 This driver supports RPM based control, to use this a fan target
31 should be written to fan1_target and pwm1_enable should be set to 3.
32
33 The 2103-2 and 2103-4 variants have a third temperature sensor, which can
34 be connected to two anti-parallel diodes. These values can be read
35 as temp3 and temp4. If only one diode is attached to this channel, temp4
36 will show as "fault". The module parameter "apd=0" can be used to suppress
37 this 4th channel when anti-parallel diodes are not fitted.
38

3. 한국어 전문 번역

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

EMC2103 지원 정보

1-18

이 드라이버는 SMSC EMC2103을 지원하며 I2C 주소 `0x2e`를 검색하고 prefix `emc2103`을 사용합니다. Datasheet는 공개되지 않았습니다. 저자는 Steve Glendinning입니다.

EMC2103 metadata
항목
ChipSMSC EMC2103
Prefixemc2103
I2C 주소0x2e
Datasheet비공개

장치 등록에 필요한 기본 정보입니다.

EMC2103 등록
I2C 0x2e 검색EMC2103 식별온도 채널 등록Fan controller 등록

I2C 장치를 식별하고 sensor·fan attribute를 게시합니다.

Kernel driver emc2103
======================

Supported chips:

  * SMSC EMC2103

    Addresses scanned: I2C 0x2e

    Prefix: 'emc2103'

    Datasheet: Not public

Authors:
        Steve Glendinning <steve.glendinning@smsc.com>

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

RPM 측정과 목표 속도 제어

19-31

SMSC EMC2103에는 최대 4개의 온도 센서와 fan controller 1개가 있습니다. Fan 회전 속도는 RPM으로 보고되며 속도가 programmable limit 아래로 떨어지면 alarm이 발생합니다.

Fan reading에는 1, 2, 4, 8 중 programmable divider를 적용해 범위 또는 정확도를 조절할 수 있습니다. 모든 RPM 값을 정확히 표현할 수 있는 것은 아니므로 일부 값은 반올림됩니다. Divider가 1일 때 표현 가능한 가장 낮은 값은 480 RPM입니다.

RPM 기반 제어를 사용하려면 원하는 fan target을 `fan1_target`에 쓰고 `pwm1_enable`을 `3`으로 설정해야 합니다.

EMC2103 fan 동작
항목
Fan controller1개
Divider1, 2, 4, 8
Divider 1 최저값480 RPM
Targetfan1_target
RPM modepwm1_enable = 3

Divider와 RPM 제어 조건입니다.

RPM 기반 제어
Divider 선택fan1_target 쓰기pwm1_enable=3 설정RPM 측정·반올림Limit 미달 alarm 확인

측정 범위를 정한 뒤 목표 RPM을 폐루프로 유지합니다.


The Standard Microsystems Corporation (SMSC) EMC2103 chips
contain up to 4 temperature sensors and a single fan controller.

Fan rotation speeds are reported in RPM (rotations per minute). An alarm is
triggered if the rotation speed has dropped below a programmable limit. Fan
readings can be divided by a programmable divider (1, 2, 4 or 8) to give
the readings more range or accuracy. Not all RPM values can accurately be
represented, so some rounding is done. With a divider of 1, the lowest
representable value is 480 RPM.

This driver supports RPM based control, to use this a fan target
should be written to fan1_target and pwm1_enable should be set to 3.

Anti-parallel diode 채널

32-37

EMC2103-2와 EMC2103-4 variant에는 두 개의 anti-parallel diode를 연결할 수 있는 세 번째 온도 센서가 있습니다. 두 값은 `temp3`와 `temp4`로 읽습니다.

이 채널에 diode를 하나만 연결하면 `temp4`는 `fault`로 표시됩니다. Anti-parallel diode를 장착하지 않은 시스템에서는 module parameter `apd=0`으로 네 번째 채널을 숨길 수 있습니다.

Anti-parallel 채널
구성temp3temp4설정
Diode 2개측정값측정값기본
Diode 1개측정값fault기본
APD 미장착측정값숨김apd=0

Diode 구성에 따른 attribute 상태입니다.

APD 채널 처리
2103-2·2103-4 확인Diode 배선 확인temp3·temp4 읽기미장착이면 apd=0

실제 배선에 맞춰 네 번째 노출 여부를 정합니다.


The 2103-2 and 2103-4 variants have a third temperature sensor, which can
be connected to two anti-parallel diodes.  These values can be read
as temp3 and temp4.  If only one diode is attached to this channel, temp4
will show as "fault".  The module parameter "apd=0" can be used to suppress
this 4th channel when anti-parallel diodes are not fitted.