Debian Codegraph @

Documentation/hwmon/qnap-mcu-hwmon.rst

raw
1 .. SPDX-License-Identifier: GPL-2.0-or-later
2
3 Kernel driver qnap-mcu-hwmon
4 ============================
5
6 This driver enables the use of the hardware monitoring and fan control
7 of the MCU used on some QNAP network attached storage devices.
8
9 Author: Heiko Stuebner <[email protected]>
10
11 Description
12 -----------
13
14 The driver implements a simple interface for driving the fan controlled by
15 setting its PWM output value and exposes the fan rpm and case-temperature
16 to user space through hwmon's sysfs interface.
17
18 The fan rotation speed returned via the optional 'fan1_input' is calculated
19 inside the MCU device.
20
21 The driver provides the following sensor accesses in sysfs:
22
23 =============== ======= =======================================================
24 fan1_input ro fan tachometer speed in RPM
25 pwm1 rw relative speed (0-255), 255=max. speed.
26 temp1_input ro Measured temperature in millicelsius
27 =============== ======= =======================================================