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

Linux 6.18.37 · Hardware Monitoring

Kernel driver lm80

LM80·LM96080의 독립 HOT·OS 온도 제한, 팬 2개와 전압 7개 감시입니다.

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

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

1. 요약·해설

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

요약·해설

lm80.rst:1-74

두 온도 제한 세트, 팬 분주기, 0~2.55 V 입력과 래치 경보를 서로 다른 갱신 주기에 맞춰 처리합니다.

문서 개요
항목
SourceDocumentation/hwmon/lm80.rst
분량74 source lines
채널온도 1·팬 2·전압 7
온도 갱신1.5초

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

동작 흐름
LM80 계열 감지HOT·OS 제한 적용팬·전압 측정래치 경보 기록

장치 감지부터 측정값 사용까지의 핵심 순서입니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 Kernel driver lm80
2 ==================
3
4 Supported chips:
5
6 * National Semiconductor LM80
7
8 Prefix: 'lm80'
9
10 Addresses scanned: I2C 0x28 - 0x2f
11
12 Datasheet: Publicly available at the National Semiconductor website
13
14 http://www.national.com/
15
16 * National Semiconductor LM96080
17
18 Prefix: 'lm96080'
19
20 Addresses scanned: I2C 0x28 - 0x2f
21
22 Datasheet: Publicly available at the National Semiconductor website
23
24 http://www.national.com/
25
26
27 Authors:
28 - Frodo Looijaard <[email protected]>,
29 - Philip Edelbrock <[email protected]>
30
31 Description
32 -----------
33
34 This driver implements support for the National Semiconductor LM80.
35 It is described as a 'Serial Interface ACPI-Compatible Microprocessor
36 System Hardware Monitor'. The LM96080 is a more recent incarnation,
37 it is pin and register compatible, with a few additional features not
38 yet supported by the driver.
39
40 The LM80 implements one temperature sensor, two fan rotation speed sensors,
41 seven voltage sensors, alarms, and some miscellaneous stuff.
42
43 Temperatures are measured in degrees Celsius. There are two sets of limits
44 which operate independently. When the HOT Temperature Limit is crossed,
45 this will cause an alarm that will be reasserted until the temperature
46 drops below the HOT Hysteresis. The Overtemperature Shutdown (OS) limits
47 should work in the same way (but this must be checked; the datasheet
48 is unclear about this). Measurements are guaranteed between -55 and
49 +125 degrees. The current temperature measurement has a resolution of
50 0.0625 degrees; the limits have a resolution of 1 degree.
51
52 Fan rotation speeds are reported in RPM (rotations per minute). An alarm is
53 triggered if the rotation speed has dropped below a programmable limit. Fan
54 readings can be divided by a programmable divider (1, 2, 4 or 8) to give
55 the readings more range or accuracy. Not all RPM values can accurately be
56 represented, so some rounding is done. With a divider of 2, the lowest
57 representable value is around 2600 RPM.
58
59 Voltage sensors (also known as IN sensors) report their values in volts.
60 An alarm is triggered if the voltage has crossed a programmable minimum
61 or maximum limit. Note that minimum in this case always means 'closest to
62 zero'; this is important for negative voltage measurements. All voltage
63 inputs can measure voltages between 0 and 2.55 volts, with a resolution
64 of 0.01 volt.
65
66 If an alarm triggers, it will remain triggered until the hardware register
67 is read at least once. This means that the cause for the alarm may
68 already have disappeared! Note that in the current implementation, all
69 hardware registers are read whenever any data is read (unless it is less
70 than 2.0 seconds since the last update). This means that you can easily
71 miss once-only alarms.
72
73 The LM80 only updates its values each 1.5 seconds; reading it more often
74 will do no harm, but will return 'old' values.
75

3. 한국어 전문 번역

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

LM80·LM96080 호환 모니터

1-39

드라이버는 National Semiconductor LM80과 LM96080을 지원합니다. 접두사는 `lm80`, `lm96080`이며 둘 다 I2C 주소 `0x28`부터 `0x2f`까지 검색됩니다. 작성자는 Frodo Looijaard와 Philip Edelbrock입니다.

LM80은 직렬 인터페이스 ACPI 호환 마이크로프로세서 시스템 하드웨어 모니터입니다. LM96080은 더 최신 변형으로 핀과 레지스터가 호환되지만 추가 기능 일부는 아직 드라이버에서 지원하지 않습니다.

LM80 계열
접두사특성
LM80lm80기본 ACPI 호환 하드웨어 모니터
LM96080lm96080핀·레지스터 호환, 추가 기능 미지원
검색 주소0x28~0x2f두 칩 공통

두 호환 칩과 현재 지원 범위입니다.

LM80 계열 연결
I2C 지원 주소 검색LM80 또는 LM96080 식별공통 레지스터 기능 초기화미지원 확장 기능 제외hwmon 채널 게시

호환 레지스터 영역을 기반으로 채널을 초기화합니다.

Kernel driver lm80
==================

Supported chips:

  * National Semiconductor LM80

    Prefix: 'lm80'

    Addresses scanned: I2C 0x28 - 0x2f

    Datasheet: Publicly available at the National Semiconductor website

               http://www.national.com/

  * National Semiconductor LM96080

    Prefix: 'lm96080'

    Addresses scanned: I2C 0x28 - 0x2f

    Datasheet: Publicly available at the National Semiconductor website

               http://www.national.com/


Authors:
       - Frodo Looijaard <[email protected]>,
       - Philip Edelbrock <[email protected]>

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

This driver implements support for the National Semiconductor LM80.
It is described as a 'Serial Interface ACPI-Compatible Microprocessor
System Hardware Monitor'. The LM96080 is a more recent incarnation,
it is pin and register compatible, with a few additional features not
yet supported by the driver.

독립 온도 제한과 팬 속도

40-58

LM80은 온도 센서 1개, 팬 회전 센서 2개, 전압 센서 7개, 경보와 기타 기능을 제공합니다.

온도에는 서로 독립적인 두 제한 세트가 있습니다. HOT 온도 제한을 넘으면 경보가 발생하고 온도가 HOT 히스테리시스 아래로 내려갈 때까지 다시 주장됩니다. 과온 종료(OS) 제한도 같은 방식이어야 하지만 데이터시트가 명확하지 않아 확인이 필요합니다.

온도 측정 보장 범위는 -55~+125 C입니다. 현재 온도는 0.0625 C 분해능이고 제한값은 1 C 분해능입니다.

팬 속도는 RPM으로 보고하며 설정한 제한 아래로 떨어지면 경보가 발생합니다. 1·2·4·8 분주기로 범위와 정밀도를 조절하며 표현할 수 없는 RPM은 반올림됩니다. 분주기 2에서 최저 표현값은 약 2600 RPM입니다.

LM80 온도·팬 특성
항목내용
HOT 제한초과 시 경보, HOT 히스테리시스 아래에서 해제
OS 제한같은 동작으로 추정되나 데이터시트 불명확
현재 온도0.0625 C 분해능
온도 제한1 C 분해능
팬 2개RPM, 분주기 1·2·4·8

온도 제한 두 세트와 팬 분주기입니다.

LM80 열·팬 감시
HOT·OS 제한 설정현재 온도 측정팬 분주기 선택팬 RPM 계산온도·팬 경보 판정

독립 온도 경계와 팬 최저 속도를 함께 검사합니다.

The LM80 implements one temperature sensor, two fan rotation speed sensors,
seven voltage sensors, alarms, and some miscellaneous stuff.

Temperatures are measured in degrees Celsius. There are two sets of limits
which operate independently. When the HOT Temperature Limit is crossed,
this will cause an alarm that will be reasserted until the temperature
drops below the HOT Hysteresis. The Overtemperature Shutdown (OS) limits
should work in the same way (but this must be checked; the datasheet
is unclear about this). Measurements are guaranteed between -55 and
+125 degrees. The current temperature measurement has a resolution of
0.0625 degrees; the limits have a resolution of 1 degree.

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 2, the lowest
representable value is around 2600 RPM.

전압 범위와 래치 경보 갱신

59-74

IN 전압 센서는 볼트 단위이며 설정 가능한 최솟값이나 최댓값을 넘으면 경보가 발생합니다. 최솟값은 항상 0에 가장 가까운 값을 뜻하므로 음전압에서 주의해야 합니다. 모든 입력 범위는 0~2.55 V, 분해능은 0.01 V입니다.

경보는 하드웨어 레지스터가 최소 한 번 읽힐 때까지 유지되므로 원인이 사라진 뒤에도 보일 수 있습니다. 현재 구현은 마지막 갱신 후 2.0초 이내가 아니면 어떤 데이터를 읽을 때 모든 하드웨어 레지스터를 읽으므로 한 번만 발생한 경보를 놓칠 수 있습니다.

LM80 자체는 1.5초마다 값을 갱신합니다. 그보다 자주 읽으면 안전하지만 이전 값이 반환됩니다.

LM80 전압·캐시
항목
전압 범위0~2.55 V
전압 분해능0.01 V
경보 해제하드웨어 레지스터 읽기
전체 레지스터 캐시2.0초 이내 재사용
칩 값 갱신1.5초

전압 환산과 서로 다른 읽기·갱신 시간입니다.

LM80 경보 수집
전압 경계 교차경보 레지스터 래치캐시 만료 후 전체 레지스터 읽기경보 상태 기록새 1.5초 측정 주기 대기

래치가 사라지기 전에 소프트웨어가 상태를 보존합니다.

Voltage sensors (also known as IN sensors) report their values in volts.
An alarm is triggered if the voltage has crossed a programmable minimum
or maximum limit. Note that minimum in this case always means 'closest to
zero'; this is important for negative voltage measurements. All voltage
inputs can measure voltages between 0 and 2.55 volts, with a resolution
of 0.01 volt.

If an alarm triggers, it will remain triggered until the hardware register
is read at least once. This means that the cause for the alarm may
already have disappeared! Note that in the current implementation, all
hardware registers are read whenever any data is read (unless it is less
than 2.0 seconds since the last update). This means that you can easily
miss once-only alarms.

The LM80 only updates its values each 1.5 seconds; reading it more often
will do no harm, but will return 'old' values.