mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 04:18:39 +08:00
5997eb60f8
Add support for reporting firmware and bootloader version using debugfs. Update documentation accordingly. Signed-off-by: Marius Zachmann <mail@mariuszachmann.de> Link: https://lore.kernel.org/r/20240513194734.43040-2-mail@mariuszachmann.de Signed-off-by: Guenter Roeck <linux@roeck-us.net>
50 lines
1.5 KiB
ReStructuredText
50 lines
1.5 KiB
ReStructuredText
.. 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.
|
|
|
|
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
|
|
======================= ===================
|