← Documents Documentation/hwmon/inspur-ipsps1.rst GitHub 원문 ↗

Linux 6.18.37 · Hardware Monitoring

Kernel driver inspur-ipsps1

Inspur PMBus PSU의 전기·온도·제품 정보와 active·standby 모드 제어입니다.

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

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

1. 요약·해설

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

요약·해설

inspur-ipsps1.rst:1-79

명시적으로 등록한 Inspur PSU를 PMBus에 연결하고 입출력 센서, 경보, 식별 정보, 동작 모드를 제공합니다.

문서 개요
항목
SourceDocumentation/hwmon/inspur-ipsps1.rst
분량79 source lines
CorePMBus
모드active / standby

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

동작 흐름
I2C 장치 등록PMBus 연결입출력 센서 읽기모드·경보 관리

하드웨어 측정에서 hwmon 게시까지의 핵심 순서입니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 Kernel driver inspur-ipsps1
2 ===========================
3
4 Supported chips:
5
6 * Inspur Power System power supply unit
7
8 Author: John Wang <wangzqbj@inspur.com>
9
10 Description
11 -----------
12
13 This driver supports Inspur Power System power supplies. This driver
14 is a client to the core PMBus driver.
15
16 Usage Notes
17 -----------
18
19 This driver does not auto-detect devices. You will have to instantiate the
20 devices explicitly. Please see Documentation/i2c/instantiating-devices.rst for
21 details.
22
23 Sysfs entries
24 -------------
25
26 The following attributes are supported:
27
28 ======================= ======================================================
29 curr1_input Measured input current
30 curr1_label "iin"
31 curr1_max Maximum current
32 curr1_max_alarm Current high alarm
33 curr2_input Measured output current in mA.
34 curr2_label "iout1"
35 curr2_crit Critical maximum current
36 curr2_crit_alarm Current critical high alarm
37 curr2_max Maximum current
38 curr2_max_alarm Current high alarm
39
40 fan1_alarm Fan 1 warning.
41 fan1_fault Fan 1 fault.
42 fan1_input Fan 1 speed in RPM.
43
44 in1_alarm Input voltage under-voltage alarm.
45 in1_input Measured input voltage in mV.
46 in1_label "vin"
47 in2_input Measured output voltage in mV.
48 in2_label "vout1"
49 in2_lcrit Critical minimum output voltage
50 in2_lcrit_alarm Output voltage critical low alarm
51 in2_max Maximum output voltage
52 in2_max_alarm Output voltage high alarm
53 in2_min Minimum output voltage
54 in2_min_alarm Output voltage low alarm
55
56 power1_alarm Input fault or alarm.
57 power1_input Measured input power in uW.
58 power1_label "pin"
59 power1_max Input power limit
60 power2_max_alarm Output power high alarm
61 power2_max Output power limit
62 power2_input Measured output power in uW.
63 power2_label "pout"
64
65 temp[1-3]_input Measured temperature
66 temp[1-2]_max Maximum temperature
67 temp[1-3]_max_alarm Temperature high alarm
68
69 vendor Manufacturer name
70 model Product model
71 part_number Product part number
72 serial_number Product serial number
73 fw_version Firmware version
74 hw_version Hardware version
75 mode Work mode. Can be set to active or
76 standby, when set to standby, PSU will
77 automatically switch between standby
78 and redundancy mode.
79 ======================= ======================================================
80

3. 한국어 전문 번역

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

Inspur Power System PSU 드라이버

1-21

`inspur-ipsps1` 커널 드라이버는 Inspur Power System 전원 공급 장치를 지원하며 작성자는 John Wang입니다. 이 드라이버는 PMBus 코어 드라이버의 클라이언트로 동작합니다.

장치를 자동 감지하지 않으므로 사용자가 명시적으로 인스턴스화해야 합니다. 구체적인 방법은 `Documentation/i2c/instantiating-devices.rst`를 참고해야 합니다.

Inspur IPSPS1 기본 정보
항목
지원 장치Inspur Power System power supply unit
드라이버inspur-ipsps1
기반PMBus core client
자동 감지지원하지 않음
등록 참고Documentation/i2c/instantiating-devices.rst

지원 장치와 등록 조건입니다.

Inspur PSU 등록
Inspur PSU 확인I2C 장치 명시적 등록inspur-ipsps1 바인딩PMBus 레지스터 읽기hwmon 속성 게시

명시적으로 만든 장치를 PMBus와 hwmon에 연결합니다.

Kernel driver inspur-ipsps1
===========================

Supported chips:

  * Inspur Power System power supply unit

Author: John Wang <wangzqbj@inspur.com>

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

This driver supports Inspur Power System power supplies. This driver
is a client to the core PMBus driver.

Usage Notes
-----------

This driver does not auto-detect devices. You will have to instantiate the
devices explicitly. Please see Documentation/i2c/instantiating-devices.rst for
details.

전류·팬·전압·전력 속성

22-63

입력 전류 채널은 `curr1_input`, 레이블 `iin`, 최대 전류, high 경보를 제공합니다. 출력 전류 채널은 mA 단위 `curr2_input`, 레이블 `iout1`, critical 최대·일반 최대 전류와 각각의 경보를 제공합니다.

팬 1에는 warning `fan1_alarm`, fault `fan1_fault`, RPM 속도 `fan1_input`이 있습니다. 입력 전압은 저전압 경보, mV 측정값, 레이블 `vin`을 제공합니다.

출력 전압은 mV 측정값과 레이블 `vout1`, critical 최소·최대·최소 한계와 각각의 경보를 제공합니다. 입력 전력은 uW 측정값, 레이블 `pin`, 입력 고장·경보, 입력 전력 한계를 제공합니다. 출력 전력은 uW 측정값, 레이블 `pout`, 출력 전력 한계와 high 경보를 제공합니다.

Inspur PSU 전기 속성
센서군속성의미
입력 전류curr1_input / curr1_label / curr1_max / curr1_max_alarm측정값, iin, 최대·high 경보
출력 전류curr2_input / curr2_label / curr2_crit / curr2_crit_alarm / curr2_max / curr2_max_alarmmA, iout1, critical·maximum
fan1_alarm / fan1_fault / fan1_inputWarning·fault·RPM
입력 전압in1_alarm / in1_input / in1_label저전압 경보, mV, vin
출력 전압in2_input / in2_label / in2_lcrit / in2_lcrit_alarm / in2_max / in2_max_alarm / in2_min / in2_min_alarmmV, vout1, 하한·상한 경보
입력 전력power1_alarm / power1_input / power1_label / power1_max고장·경보, uW, pin, 한계
출력 전력power2_input / power2_label / power2_max / power2_max_alarmuW, pout, 한계·high 경보

입출력 rail과 팬의 측정·경보를 구조화했습니다.

PSU 전력 경로 감시
입력 전압·전류·전력 읽기출력 전압·전류·전력 읽기팬 속도와 fault 확인최소·최대·critical 한계 비교경보 상태 게시

입력부터 출력까지 현재값과 다단계 경보를 확인합니다.


Sysfs entries
-------------

The following attributes are supported:

======================= ======================================================
curr1_input                Measured input current
curr1_label                "iin"
curr1_max                Maximum current
curr1_max_alarm                Current high alarm
curr2_input                Measured output current in mA.
curr2_label                "iout1"
curr2_crit                Critical maximum current
curr2_crit_alarm        Current critical high alarm
curr2_max                Maximum current
curr2_max_alarm                Current high alarm

fan1_alarm                Fan 1 warning.
fan1_fault                Fan 1 fault.
fan1_input                Fan 1 speed in RPM.

in1_alarm                Input voltage under-voltage alarm.
in1_input                Measured input voltage in mV.
in1_label                "vin"
in2_input                Measured output voltage in mV.
in2_label                "vout1"
in2_lcrit                Critical minimum output voltage
in2_lcrit_alarm                Output voltage critical low alarm
in2_max                        Maximum output voltage
in2_max_alarm                Output voltage high alarm
in2_min                        Minimum output voltage
in2_min_alarm                Output voltage low alarm

power1_alarm                Input fault or alarm.
power1_input                Measured input power in uW.
power1_label                "pin"
power1_max                Input power limit
power2_max_alarm        Output power high alarm
power2_max                Output power limit
power2_input                Measured output power in uW.
power2_label                "pout"

온도·제품 정보와 PSU 모드

64-79

온도 1~3 채널은 측정값을 제공하고, 온도 1~2는 최대 한계를 제공하며, 온도 1~3은 high 경보를 제공합니다.

제품 정보 속성은 제조사명 `vendor`, 제품 모델 `model`, 부품 번호 `part_number`, 일련 번호 `serial_number`, 펌웨어 버전 `fw_version`, 하드웨어 버전 `hw_version`입니다.

`mode`는 동작 모드로 `active` 또는 `standby`를 설정할 수 있습니다. `standby`로 설정하면 PSU가 standby 모드와 redundancy 모드 사이를 자동으로 전환합니다.

온도·식별·모드 속성
범주속성의미
온도temp[1-3]_input측정 온도
온도 한계temp[1-2]_max최대 온도
온도 경보temp[1-3]_max_alarmHigh 경보
식별vendor / model / part_number / serial_number제조사·모델·부품·일련 번호
버전fw_version / hw_version펌웨어·하드웨어 버전
동작modeactive 또는 standby

운영 상태와 제품 식별 정보를 구분했습니다.

PSU 모드 제어
현재 mode 읽기active 또는 standby 선택standby 기록PSU가 standby·redundancy 자동 전환온도와 전력 경보 재확인

Standby 설정에서 장치가 redundancy 전환을 자동 관리합니다.


temp[1-3]_input                Measured temperature
temp[1-2]_max                Maximum temperature
temp[1-3]_max_alarm        Temperature high alarm

vendor                        Manufacturer name
model                        Product model
part_number                Product part number
serial_number                Product serial number
fw_version                Firmware version
hw_version                Hardware version
mode                        Work mode. Can be set to active or
                        standby, when set to standby, PSU will
                        automatically switch between standby
                        and redundancy mode.
======================= ======================================================