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

Linux 6.18.37 · Hardware Monitoring

Kernel driver via686a

VIA 686A/B 통합 센서의 강제 주소, 온도·팬·전압 경보, 갱신 주기와 미배선 문제를 설명합니다.

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

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

1. 요약·해설

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

요약·해설

via686a.rst:1-84

via686a 드라이버는 온도 3개, 팬 2개, 전압 5개를 1.5초마다 갱신하며 강제 주소가 필요하고 값이 이상하면 센서 미배선을 의심해야 합니다.

문서 개요
항목
SourceDocumentation/hwmon/via686a.rst
분량84 source lines
센서온도 3·팬 2·전압 5
갱신1.5초

원문 분량과 핵심 기능을 요약합니다.

동작 흐름
장치·주소 확인센서 레지스터 읽기한계·경보 평가캐시 갱신값 이상 시 배선 점검

장치 초기화부터 측정·상태 제공까지의 순서입니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 Kernel driver via686a
2 =====================
3
4 Supported chips:
5
6 * Via VT82C686A, VT82C686B Southbridge Integrated Hardware Monitor
7
8 Prefix: 'via686a'
9
10 Addresses scanned: ISA in PCI-space encoded address
11
12 Datasheet: On request through web form (http://www.via.com.tw/en/resources/download-center/)
13
14 Authors:
15 - Kyösti Mälkki <kmalkki@cc.hut.fi>,
16 - Mark D. Studebaker <mdsxyz123@yahoo.com>
17 - Bob Dougherty <bobd@stanford.edu>
18 - (Some conversion-factor data were contributed by
19 - Jonathan Teh Soon Yew <j.teh@iname.com>
20 - and Alex van Kaam <darkside@chello.nl>.)
21
22 Module Parameters
23 -----------------
24
25 ======================= =======================================================
26 force_addr=0xaddr Set the I/O base address. Useful for boards that
27 don't set the address in the BIOS. Look for a BIOS
28 upgrade before resorting to this. Does not do a
29 PCI force; the via686a must still be present in lspci.
30 Don't use this unless the driver complains that the
31 base address is not set.
32 Example: 'modprobe via686a force_addr=0x6000'
33 ======================= =======================================================
34
35 Description
36 -----------
37
38 The driver does not distinguish between the chips and reports
39 all as a 686A.
40
41 The Via 686a southbridge has integrated hardware monitor functionality.
42 It also has an I2C bus, but this driver only supports the hardware monitor.
43 For the I2C bus driver, see <file:Documentation/i2c/busses/i2c-viapro.rst>
44
45 The Via 686a implements three temperature sensors, two fan rotation speed
46 sensors, five voltage sensors and alarms.
47
48 Temperatures are measured in degrees Celsius. An alarm is triggered once
49 when the Overtemperature Shutdown limit is crossed; it is triggered again
50 as soon as it drops below the hysteresis value.
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. Voltages are internally scaled, so each voltage channel
62 has a different resolution and range.
63
64 If an alarm triggers, it will remain triggered until the hardware register
65 is read at least once. This means that the cause for the alarm may
66 already have disappeared! Note that in the current implementation, all
67 hardware registers are read whenever any data is read (unless it is less
68 than 1.5 seconds since the last update). This means that you can easily
69 miss once-only alarms.
70
71 The driver only updates its values each 1.5 seconds; reading it more often
72 will do no harm, but will return 'old' values.
73
74 Known Issues
75 ------------
76
77 This driver handles sensors integrated in some VIA south bridges. It is
78 possible that a motherboard maker used a VT82C686A/B chip as part of a
79 product design but was not interested in its hardware monitoring features,
80 in which case the sensor inputs will not be wired. This is the case of
81 the Asus K7V, A7V and A7V133 motherboards, to name only a few of them.
82 So, if you need the force_addr parameter, and end up with values which
83 don't seem to make any sense, don't look any further: your chip is simply
84 not wired for hardware monitoring.
85

3. 한국어 전문 번역

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

지원 칩과 force_addr

1-34

이 드라이버는 VIA VT82C686A와 VT82C686B 사우스브리지의 통합 하드웨어 모니터를 지원합니다. 접두사는 `via686a`이며 ISA 주소가 PCI 공간에 인코딩된 주소를 검색합니다. 데이터시트는 VIA 웹 양식으로 요청해야 합니다.

작성자는 Kyösti Mälkki, Mark D. Studebaker, Bob Dougherty이며 변환 계수 자료에는 Jonathan Teh Soon Yew와 Alex van Kaam이 기여했습니다.

모듈 매개변수 `force_addr=0xaddr`는 I/O 기준 주소를 강제로 설정합니다. BIOS가 주소를 설정하지 않는 보드에서 유용하지만 먼저 BIOS 업그레이드를 확인해야 합니다. 이 옵션은 PCI 장치를 강제로 만드는 것이 아니므로 `via686a`가 여전히 `lspci`에 보여야 합니다.

드라이버가 기준 주소가 설정되지 않았다고 불평할 때만 이 옵션을 사용합니다. 예시는 `modprobe via686a force_addr=0x6000`입니다.

via686a 식별과 강제 주소
항목내용
지원 칩VT82C686A, VT82C686B
접두사`via686a`
주소PCI 공간에 인코딩된 ISA 주소
강제 주소`force_addr=0xaddr`
사용 조건장치가 `lspci`에 있고 기준 주소 오류가 날 때
예시`modprobe via686a force_addr=0x6000`

지원 범위와 `force_addr` 사용 조건을 정리합니다.

force_addr 판단
드라이버 기준 주소 오류 확인BIOS 업데이트 가능 여부 확인`lspci`에서 VIA 686A/B 존재 확인`force_addr=0xaddr` 지정센서 값의 타당성 점검

불필요한 강제 주소 사용을 피하는 확인 순서입니다.

Kernel driver via686a
=====================

Supported chips:

  * Via VT82C686A, VT82C686B  Southbridge Integrated Hardware Monitor

    Prefix: 'via686a'

    Addresses scanned: ISA in PCI-space encoded address

    Datasheet: On request through web form (http://www.via.com.tw/en/resources/download-center/)

Authors:
        - Kyösti Mälkki <kmalkki@cc.hut.fi>,
        - Mark D. Studebaker <mdsxyz123@yahoo.com>
        - Bob Dougherty <bobd@stanford.edu>
        - (Some conversion-factor data were contributed by
        - Jonathan Teh Soon Yew <j.teh@iname.com>
        - and Alex van Kaam <darkside@chello.nl>.)

Module Parameters
-----------------

======================= =======================================================
force_addr=0xaddr       Set the I/O base address. Useful for boards that
                        don't set the address in the BIOS. Look for a BIOS
                        upgrade before resorting to this. Does not do a
                        PCI force; the via686a must still be present in lspci.
                        Don't use this unless the driver complains that the
                        base address is not set.
                        Example: 'modprobe via686a force_addr=0x6000'
======================= =======================================================

센서·경보·갱신 동작

35-73

드라이버는 두 칩을 구분하지 않고 모두 686A로 보고합니다. VIA 686A 사우스브리지에는 하드웨어 모니터와 I2C 버스가 모두 있지만 이 드라이버는 하드웨어 모니터만 지원합니다. I2C 버스 드라이버는 `Documentation/i2c/busses/i2c-viapro.rst`를 참고합니다.

하드웨어에는 온도 센서 3개, 팬 회전 속도 센서 2개, 전압 센서 5개와 경보가 있습니다. 온도는 섭씨이며 과열 종료 한계를 넘을 때 한 번 경보가 발생하고 히스테리시스 값 아래로 떨어지는 즉시 다시 경보가 트리거됩니다.

팬 속도는 RPM으로 보고되고 프로그램 가능한 최저 한계 아래로 떨어지면 경보가 납니다. 분주기는 1, 2, 4, 8을 선택해 범위 또는 정확도를 조정합니다. 모든 RPM을 정확히 표현할 수 없어 반올림되며 분주기 2에서 표현 가능한 최저값은 약 2600 RPM입니다.

전압 센서는 값을 V로 보고하며 프로그램 가능한 최소 또는 최대 한계를 넘으면 경보가 발생합니다. 입력은 내부에서 스케일링되므로 전압 채널마다 해상도와 범위가 다릅니다.

경보가 트리거되면 하드웨어 레지스터를 한 번 이상 읽을 때까지 유지되므로 읽는 시점에는 원인이 이미 사라졌을 수 있습니다. 현재 구현은 마지막 갱신 후 1.5초가 지나지 않은 경우를 제외하고 어떤 데이터든 읽을 때 모든 레지스터를 읽습니다. 따라서 한 번만 발생하는 경보를 쉽게 놓칠 수 있습니다.

드라이버 값은 1.5초마다 갱신됩니다. 더 자주 읽어도 문제는 없지만 이전 값을 돌려줍니다.

via686a 센서 동작
센서수/단위경보·특성
온도3개, °C과열 종료와 히스테리시스 교차
2개, RPM최저 한계, 분주기 1/2/4/8
전압5개, V채널별 스케일, 최소·최대 한계
경보 래치레지스터 읽기까지 유지한 번만 난 경보를 놓칠 수 있음
갱신1.5초더 자주 읽으면 이전 값 반환

센서 수, 단위, 한계와 갱신 특성을 정리합니다.

via686a 측정과 경보
1.5초 갱신 주기 확인온도·팬·전압 레지스터 일괄 읽기프로그램된 한계와 비교경보 상태 보고 후 읽기로 래치 해제다음 갱신 전 요청에는 이전 값 반환

캐시 갱신과 경보 해제의 관계를 나타냅니다.

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

The driver does not distinguish between the chips and reports
all as a 686A.

The Via 686a southbridge has integrated hardware monitor functionality.
It also has an I2C bus, but this driver only supports the hardware monitor.
For the I2C bus driver, see <file:Documentation/i2c/busses/i2c-viapro.rst>

The Via 686a implements three temperature sensors, two fan rotation speed
sensors, five voltage sensors and alarms.

Temperatures are measured in degrees Celsius. An alarm is triggered once
when the Overtemperature Shutdown limit is crossed; it is triggered again
as soon as it drops below the hysteresis value.

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. Voltages are internally scaled, so each voltage channel
has a different resolution and range.

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 1.5 seconds since the last update). This means that you can easily
miss once-only alarms.

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

배선되지 않은 센서 입력

74-84

이 드라이버는 일부 VIA 사우스브리지에 통합된 센서를 다룹니다. 메인보드 제조사가 VT82C686A/B를 제품에 사용했더라도 하드웨어 감시 기능에 관심이 없었다면 센서 입력을 실제로 배선하지 않았을 수 있습니다.

Asus K7V, A7V, A7V133 메인보드가 그러한 사례입니다. 따라서 `force_addr`가 필요했고 결과 값이 전혀 타당하지 않다면 추가로 원인을 찾기보다 칩의 하드웨어 감시 입력이 배선되지 않았다고 판단해야 합니다.

via686a 알려진 문제
징후해석
VT82C686A/B가 보드에 있음센서 기능이 반드시 배선됐다는 뜻은 아님
`force_addr` 필요BIOS가 감시 주소를 설정하지 않았을 가능성
측정값이 비상식적센서 입력 미배선 가능성이 큼
예시 보드Asus K7V, A7V, A7V133

무의미한 측정값의 대표 원인을 판별합니다.

무의미한 값 진단
`lspci`에서 칩 존재 확인`force_addr`로 드라이버 결합온도·팬·전압 값의 현실성 확인보드 설계와 알려진 사례 대조입력 미배선으로 결론

강제 주소 사용 뒤 값이 이상할 때의 판단 순서입니다.

Known Issues
------------

This driver handles sensors integrated in some VIA south bridges. It is
possible that a motherboard maker used a VT82C686A/B chip as part of a
product design but was not interested in its hardware monitoring features,
in which case the sensor inputs will not be wired. This is the case of
the Asus K7V, A7V and A7V133 motherboards, to name only a few of them.
So, if you need the force_addr parameter, and end up with values which
don't seem to make any sense, don't look any further: your chip is simply
not wired for hardware monitoring.