← Documents Documentation/hwmon/corsair-cpro.rst GitHub 원문 ↗

Linux 6.18.37 · Hardware Monitoring

Kernel driver corsair-cpro

Commander Pro의 fan 6개·temperature 4개·SATA rail과 조건부 control readback입니다.

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

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

1. 요약·해설

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

요약·해설

corsair-cpro.rst:1-49

자동 탐지되는 USB controller에서 fan·temperature·SATA voltage와 firmware 정보를 제공합니다.

문서 개요
항목
SourceDocumentation/hwmon/corsair-cpro.rst
분량49 source lines
Fan6
Temperature4

원문 분량과 핵심 지원 범위입니다.

핵심 흐름
USB 탐지Sensor 읽기Target/PWM 설정조건부 readback

측정과 제어의 기본 순서입니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 .. SPDX-License-Identifier: GPL-2.0-or-later
2
3 Kernel driver corsair-cpro
4 ==========================
5
6 Supported devices:
7
8 * Corsair Commander Pro
9 * Corsair Commander Pro (1000D)
10
11 Author: Marius Zachmann
12
13 Description
14 -----------
15
16 This driver implements the sysfs interface for the Corsair Commander Pro.
17 The Corsair Commander Pro is a USB device with 6 fan connectors,
18 4 temperature sensor connectors and 2 Corsair LED connectors.
19 It can read the voltage levels on the SATA power connector.
20
21 Usage Notes
22 -----------
23
24 Since it is a USB device, hotswapping is possible. The device is autodetected.
25
26 Sysfs entries
27 -------------
28
29 ======================= =====================================================================
30 in0_input Voltage on SATA 12v
31 in1_input Voltage on SATA 5v
32 in2_input Voltage on SATA 3.3v
33 temp[1-4]_input Temperature on connected temperature sensors
34 fan[1-6]_input Connected fan rpm.
35 fan[1-6]_label Shows fan type as detected by the device.
36 fan[1-6]_target Sets fan speed target rpm.
37 When reading, it reports the last value if it was set by the driver.
38 Otherwise returns an error.
39 pwm[1-6] Sets the fan speed. Values from 0-255. Can only be read if pwm
40 was set directly.
41 ======================= =====================================================================
42
43 Debugfs entries
44 ---------------
45
46 ======================= ===================
47 firmware_version Firmware version
48 bootloader_version Bootloader version
49 ======================= ===================
50

3. 한국어 전문 번역

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

Commander Pro 지원

1-25

이 GPL-2.0-or-later driver는 Corsair Commander Pro와 Commander Pro (1000D)를 지원합니다. 저자는 Marius Zachmann입니다.

Commander Pro는 fan connector 6개, temperature sensor connector 4개, Corsair LED connector 2개가 있는 USB device입니다. SATA power connector의 voltage level도 읽을 수 있습니다.

USB device이므로 hot swapping이 가능하고 자동 탐지됩니다.

Commander Pro I/O
자원수량
Fan connector6
Temperature connector4
Corsair LED connector2
SATA voltage12V, 5V, 3.3V

장치의 connector와 monitoring 자원입니다.

USB hot-swap
Commander Pro USB 연결Driver 자동 탐지Fan·temperature·SATA sensor 등록분리 시 sysfs 제거

자동 탐지 후 connector별 channel을 등록합니다.

.. SPDX-License-Identifier: GPL-2.0-or-later

Kernel driver corsair-cpro
==========================

Supported devices:

  * Corsair Commander Pro
  * Corsair Commander Pro (1000D)

Author: Marius Zachmann

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

This driver implements the sysfs interface for the Corsair Commander Pro.
The Corsair Commander Pro is a USB device with 6 fan connectors,
4 temperature sensor connectors and 2 Corsair LED connectors.
It can read the voltage levels on the SATA power connector.

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

Since it is a USB device, hotswapping is possible. The device is autodetected.

Commander Pro sysfs·debugfs

26-49

`in0_input`, `in1_input`, `in2_input`은 SATA 12V, 5V, 3.3V voltage입니다. `temp[1-4]_input`은 연결된 temperature sensor, `fan[1-6]_input`은 connected fan RPM입니다.

`fan[1-6]_label`은 device가 감지한 fan type을 보여 줍니다. `fan[1-6]_target`은 target RPM을 설정합니다. 읽을 때 driver가 값을 설정한 적이 있으면 마지막 값을 보고하고, 아니면 error를 반환합니다.

`pwm[1-6]`은 0~255 fan speed를 설정합니다. PWM을 직접 설정한 경우에만 읽을 수 있습니다. Debugfs의 `firmware_version`과 `bootloader_version`은 각 version을 제공합니다.

Commander Pro ABI
Attribute의미/조건
in0~2_inputSATA 12V/5V/3.3V
temp1~4_inputConnected temperature
fan1~6_input/labelRPM과 detected fan type
fan1~6_target설정 이력이 있을 때만 마지막 값 read
pwm1~60~255, 직접 설정했을 때만 read
debugfs versionsFirmware와 bootloader version

읽기 조건이 있는 target·PWM 속성을 구분합니다.

Fan target 제어
Fan type과 RPM 읽기Target RPM 또는 PWM 기록Device에 control 전송Driver가 마지막 설정값 저장Read 시 이력이 없으면 error 반환

Driver가 설정한 값만 신뢰할 수 있는 readback으로 유지합니다.

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

======================= =====================================================================
in0_input                Voltage on SATA 12v
in1_input                Voltage on SATA 5v
in2_input                Voltage on SATA 3.3v
temp[1-4]_input                Temperature on connected temperature sensors
fan[1-6]_input                Connected fan rpm.
fan[1-6]_label                Shows fan type as detected by the device.
fan[1-6]_target                Sets fan speed target rpm.
                        When reading, it reports the last value if it was set by the driver.
                        Otherwise returns an error.
pwm[1-6]                Sets the fan speed. Values from 0-255. Can only be read if pwm
                        was set directly.
======================= =====================================================================

Debugfs entries
---------------

======================= ===================
firmware_version        Firmware version
bootloader_version        Bootloader version
======================= ===================