요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
Kernel driver w83627hf
======================
Supported chips:
* Winbond W83627HF (ISA accesses ONLY)
Prefix: 'w83627hf'
Addresses scanned: ISA address retrieved from Super I/O registers
* Winbond W83627THF
Prefix: 'w83627thf'
Addresses scanned: ISA address retrieved from Super I/O registers
* Winbond W83697HF
Prefix: 'w83697hf'
Addresses scanned: ISA address retrieved from Super I/O registers
* Winbond W83637HF
Prefix: 'w83637hf'
Addresses scanned: ISA address retrieved from Super I/O registers
* Winbond W83687THF
Prefix: 'w83687thf'
Addresses scanned: ISA address retrieved from Super I/O registers
Datasheet: Provided by Winbond on request(http://www.winbond.com/hq/enu)
Authors:
Frodo Looijaard <frodol@dds.nl>,
Philip Edelbrock <phil@netroedge.com>,
Mark Studebaker <mdsxyz123@yahoo.com>,
Bernhard C. Schrenk <clemy@clemy.org>
Module Parameters
-----------------
* force_i2c: int
Initialize the I2C address of the sensors
* init: int
(default is 1)
Use 'init=0' to bypass initializing the chip.
Try this if your computer crashes when you load the module.
Description
-----------
This driver implements support for ISA accesses *only* for
the Winbond W83627HF, W83627THF, W83697HF and W83637HF Super I/O chips.
We will refer to them collectively as Winbond chips.
This driver supports ISA accesses, which should be more reliable
than i2c accesses. Also, for Tyan boards which contain both a
Super I/O chip and a second i2c-only Winbond chip (often a W83782D),
using this driver will avoid i2c address conflicts and complex
initialization that were required in the w83781d driver.
If you really want i2c accesses for these Super I/O chips,
use the w83781d driver. However this is not the preferred method
now that this ISA driver has been developed.
The `w83627_HF_` uses pins 110-106 as VID0-VID4. The `w83627_THF_` uses the
same pins as GPIO[0:4]. Technically, the `w83627_THF_` does not support a
VID reading. However the two chips have the identical 128 pin package. So,
it is possible or even likely for a w83627thf to have the VID signals routed
to these pins despite their not being labeled for that purpose. Therefore,
the w83627thf driver interprets these as VID. If the VID on your board
doesn't work, first see doc/vid in the lm_sensors package[1]. If that still
doesn't help, you may just ignore the bogus VID reading with no harm done.
For further information on this driver see the w83781d driver documentation.
[1] http://www.lm-sensors.org/browser/lm-sensors/trunk/doc/vid
Forcing the address
-------------------
The driver used to have a module parameter named force_addr, which could
be used to force the base I/O address of the hardware monitoring block.
This was meant as a workaround for mainboards with a broken BIOS. This
module parameter is gone for technical reasons. If you need this feature,
you can obtain the same result by using the isaset tool (part of
lm-sensors) before loading the driver:
# Enter the Super I/O config space::
isaset -y -f 0x2e 0x87
isaset -y -f 0x2e 0x87
# Select the hwmon logical device::
isaset -y 0x2e 0x2f 0x07 0x0b
# Set the base I/O address (to 0x290 in this example)::
isaset -y 0x2e 0x2f 0x60 0x02
isaset -y 0x2e 0x2f 0x61 0x90
# Exit the Super-I/O config space::
isaset -y -f 0x2e 0xaa
The above sequence assumes a Super-I/O config space at 0x2e/0x2f, but
0x4e/0x4f is also possible.
Voltage pin mapping
-------------------
Here is a summary of the voltage pin mapping for the W83627THF. This
can be useful to convert data provided by board manufacturers into
working libsensors configuration statements:
- W83627THF
======== =============== =============== ===============
Pin Name Register Sysfs attribute
======== =============== =============== ===============
100 CPUVCORE 20h in0
99 VIN0 21h in1
98 VIN1 22h in2
97 VIN2 24h in4
114 AVCC 23h in3
61 5VSB 50h (bank 5) in7
74 VBAT 51h (bank 5) in8
======== =============== =============== ===============
For other supported devices, you'll have to take the hard path and
look up the information in the datasheet yourself (and then add it
to this document please.)
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
지원 칩과 초기화 옵션
1-37이 드라이버는 ISA 접근 전용 Winbond W83627HF, W83627THF, W83697HF, W83637HF, W83687THF를 지원합니다. 접두사는 각각 `w83627hf`, `w83627thf`, `w83697hf`, `w83637hf`, `w83687thf`이며 ISA 주소는 Super-I/O 레지스터에서 가져옵니다.
W83687THF 데이터시트는 Winbond에 요청할 수 있습니다. 작성자는 Frodo Looijaard, Philip Edelbrock, Mark Studebaker, Bernhard C. Schrenk입니다.
정수형 `force_i2c`는 센서의 I2C 주소를 초기화합니다. 정수형 `init`의 기본값은 1입니다. 모듈을 적재할 때 컴퓨터가 충돌하면 `init=0`으로 칩 초기화를 건너뛰어 볼 수 있습니다.
지원 칩의 접두사와 초기화 매개변수를 정리합니다.
안전한 초기화 옵션을 적용해 ISA 센서를 등록합니다.
Kernel driver w83627hf
======================
Supported chips:
* Winbond W83627HF (ISA accesses ONLY)
Prefix: 'w83627hf'
Addresses scanned: ISA address retrieved from Super I/O registers
* Winbond W83627THF
Prefix: 'w83627thf'
Addresses scanned: ISA address retrieved from Super I/O registers
* Winbond W83697HF
Prefix: 'w83697hf'
Addresses scanned: ISA address retrieved from Super I/O registers
* Winbond W83637HF
Prefix: 'w83637hf'
Addresses scanned: ISA address retrieved from Super I/O registers
* Winbond W83687THF
Prefix: 'w83687thf'
Addresses scanned: ISA address retrieved from Super I/O registers
Datasheet: Provided by Winbond on request(http://www.winbond.com/hq/enu)
Authors:
Frodo Looijaard <frodol@dds.nl>,
Philip Edelbrock <phil@netroedge.com>,
Mark Studebaker <mdsxyz123@yahoo.com>,
Bernhard C. Schrenk <clemy@clemy.org>
Module Parameters
-----------------
* force_i2c: int
Initialize the I2C address of the sensors
* init: int
(default is 1)
Use 'init=0' to bypass initializing the chip.
Try this if your computer crashes when you load the module.
ISA 접근과 기준 주소 강제 설정
38-98이 드라이버는 W83627HF, W83627THF, W83697HF, W83637HF Super-I/O의 ISA 접근만 지원하며 문서에서는 이를 통칭해 Winbond 칩이라고 부릅니다.
ISA 접근은 I2C보다 신뢰성이 높습니다. Super-I/O와 I2C 전용 Winbond 칩, 흔히 W83782D가 함께 있는 Tyan 보드에서도 I2C 주소 충돌과 `w83781d` 드라이버에 필요했던 복잡한 초기화를 피할 수 있습니다. I2C 접근이 꼭 필요하면 `w83781d`를 사용할 수 있지만 권장 방식은 아닙니다.
W83627HF는 핀 110~106을 VID0~VID4로 사용하고 W83627THF는 같은 핀을 GPIO[0:4]로 사용합니다. THF는 공식적으로 VID를 지원하지 않지만 두 칩의 128핀 패키지가 같아 보드에서 VID 신호가 연결됐을 가능성이 있으므로 드라이버는 VID로 해석합니다. 동작하지 않으면 lm_sensors의 `doc/vid`를 확인하고 그래도 안 되면 잘못된 VID 값을 무시해도 됩니다.
이전의 `force_addr` 모듈 매개변수는 기술적 이유로 제거됐습니다. 고장 난 BIOS 때문에 hwmon 기준 I/O 주소를 강제해야 한다면 드라이버를 적재하기 전에 lm-sensors의 `isaset`을 사용합니다.
원문 예시는 Super-I/O 구성 공간 `0x2e/0x2f`에 진입하고 논리 장치 `0x0b`를 선택해 기준 주소를 `0x290`으로 설정한 다음 구성 공간에서 빠져나옵니다. 구성 포트는 `0x4e/0x4f`일 수도 있습니다.
원문의 isaset 절차를 단계별 명령과 함께 보존했습니다.
제거된 force_addr 대신 isaset을 적용하는 순서입니다.
Description
-----------
This driver implements support for ISA accesses *only* for
the Winbond W83627HF, W83627THF, W83697HF and W83637HF Super I/O chips.
We will refer to them collectively as Winbond chips.
This driver supports ISA accesses, which should be more reliable
than i2c accesses. Also, for Tyan boards which contain both a
Super I/O chip and a second i2c-only Winbond chip (often a W83782D),
using this driver will avoid i2c address conflicts and complex
initialization that were required in the w83781d driver.
If you really want i2c accesses for these Super I/O chips,
use the w83781d driver. However this is not the preferred method
now that this ISA driver has been developed.
The `w83627_HF_` uses pins 110-106 as VID0-VID4. The `w83627_THF_` uses the
same pins as GPIO[0:4]. Technically, the `w83627_THF_` does not support a
VID reading. However the two chips have the identical 128 pin package. So,
it is possible or even likely for a w83627thf to have the VID signals routed
to these pins despite their not being labeled for that purpose. Therefore,
the w83627thf driver interprets these as VID. If the VID on your board
doesn't work, first see doc/vid in the lm_sensors package[1]. If that still
doesn't help, you may just ignore the bogus VID reading with no harm done.
For further information on this driver see the w83781d driver documentation.
[1] http://www.lm-sensors.org/browser/lm-sensors/trunk/doc/vid
Forcing the address
-------------------
The driver used to have a module parameter named force_addr, which could
be used to force the base I/O address of the hardware monitoring block.
This was meant as a workaround for mainboards with a broken BIOS. This
module parameter is gone for technical reasons. If you need this feature,
you can obtain the same result by using the isaset tool (part of
lm-sensors) before loading the driver:
# Enter the Super I/O config space::
isaset -y -f 0x2e 0x87
isaset -y -f 0x2e 0x87
# Select the hwmon logical device::
isaset -y 0x2e 0x2f 0x07 0x0b
# Set the base I/O address (to 0x290 in this example)::
isaset -y 0x2e 0x2f 0x60 0x02
isaset -y 0x2e 0x2f 0x61 0x90
# Exit the Super-I/O config space::
isaset -y -f 0x2e 0xaa
The above sequence assumes a Super-I/O config space at 0x2e/0x2f, but
0x4e/0x4f is also possible.
W83627THF 전압 핀 매핑
99-124W83627THF의 전압 핀 매핑은 보드 제조사가 제공한 회로 정보를 실제 libsensors 설정으로 바꾸는 데 유용합니다.
핀 100 CPUVCORE는 레지스터 `20h`와 `in0`, 핀 99 VIN0은 `21h`와 `in1`, 핀 98 VIN1은 `22h`와 `in2`, 핀 97 VIN2는 `24h`와 `in4`에 대응합니다.
핀 114 AVCC는 `23h`와 `in3`, 핀 61 5VSB는 뱅크 5의 `50h`와 `in7`, 핀 74 VBAT는 뱅크 5의 `51h`와 `in8`에 대응합니다. 다른 지원 장치는 데이터시트를 직접 확인해야 하며 확인한 정보는 이 문서에 추가하는 것이 권장됩니다.
원문의 핀·이름·레지스터·sysfs 표를 그대로 구조화했습니다.
회로 핀 정보를 libsensors 채널로 옮깁니다.
Voltage pin mapping
-------------------
Here is a summary of the voltage pin mapping for the W83627THF. This
can be useful to convert data provided by board manufacturers into
working libsensors configuration statements:
- W83627THF
======== =============== =============== ===============
Pin Name Register Sysfs attribute
======== =============== =============== ===============
100 CPUVCORE 20h in0
99 VIN0 21h in1
98 VIN1 22h in2
97 VIN2 24h in4
114 AVCC 23h in3
61 5VSB 50h (bank 5) in7
74 VBAT 51h (bank 5) in8
======== =============== =============== ===============
For other supported devices, you'll have to take the hard path and
look up the information in the datasheet yourself (and then add it
to this document please.)
요약·해설
w83627hf.rst:1-124w83627hf 드라이버는 안정적인 ISA 접근을 사용하고 필요하면 isaset으로 hwmon 기준 주소를 설정하며 THF 핀을 sysfs 전압 채널로 연결합니다.
원문 분량과 핵심 기능을 요약합니다.
장치 초기화부터 측정·상태 제공까지의 순서입니다.