요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
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 <frodol@dds.nl>,
- Philip Edelbrock <phil@netroedge.com>
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.
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.
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.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
LM80·LM96080 호환 모니터
1-39드라이버는 National Semiconductor LM80과 LM96080을 지원합니다. 접두사는 `lm80`, `lm96080`이며 둘 다 I2C 주소 `0x28`부터 `0x2f`까지 검색됩니다. 작성자는 Frodo Looijaard와 Philip Edelbrock입니다.
LM80은 직렬 인터페이스 ACPI 호환 마이크로프로세서 시스템 하드웨어 모니터입니다. LM96080은 더 최신 변형으로 핀과 레지스터가 호환되지만 추가 기능 일부는 아직 드라이버에서 지원하지 않습니다.
두 호환 칩과 현재 지원 범위입니다.
호환 레지스터 영역을 기반으로 채널을 초기화합니다.
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 <frodol@dds.nl>,
- Philip Edelbrock <phil@netroedge.com>
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-58LM80은 온도 센서 1개, 팬 회전 센서 2개, 전압 센서 7개, 경보와 기타 기능을 제공합니다.
온도에는 서로 독립적인 두 제한 세트가 있습니다. HOT 온도 제한을 넘으면 경보가 발생하고 온도가 HOT 히스테리시스 아래로 내려갈 때까지 다시 주장됩니다. 과온 종료(OS) 제한도 같은 방식이어야 하지만 데이터시트가 명확하지 않아 확인이 필요합니다.
온도 측정 보장 범위는 -55~+125 C입니다. 현재 온도는 0.0625 C 분해능이고 제한값은 1 C 분해능입니다.
팬 속도는 RPM으로 보고하며 설정한 제한 아래로 떨어지면 경보가 발생합니다. 1·2·4·8 분주기로 범위와 정밀도를 조절하며 표현할 수 없는 RPM은 반올림됩니다. 분주기 2에서 최저 표현값은 약 2600 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-74IN 전압 센서는 볼트 단위이며 설정 가능한 최솟값이나 최댓값을 넘으면 경보가 발생합니다. 최솟값은 항상 0에 가장 가까운 값을 뜻하므로 음전압에서 주의해야 합니다. 모든 입력 범위는 0~2.55 V, 분해능은 0.01 V입니다.
경보는 하드웨어 레지스터가 최소 한 번 읽힐 때까지 유지되므로 원인이 사라진 뒤에도 보일 수 있습니다. 현재 구현은 마지막 갱신 후 2.0초 이내가 아니면 어떤 데이터를 읽을 때 모든 하드웨어 레지스터를 읽으므로 한 번만 발생한 경보를 놓칠 수 있습니다.
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.
요약·해설
lm80.rst:1-74두 온도 제한 세트, 팬 분주기, 0~2.55 V 입력과 래치 경보를 서로 다른 갱신 주기에 맞춰 처리합니다.
원문 분량과 핵심 인터페이스입니다.
장치 감지부터 측정값 사용까지의 핵심 순서입니다.