mirror of
https://github.com/Fred78290/nct6687d.git
synced 2025-07-23 07:03:04 +02:00
Add configuration section to the README
This commit is contained in:
22
README.md
22
README.md
@@ -195,6 +195,28 @@ chip "nct6687-*"
|
||||
You can use custom labels and ignore inputs without setting this option if
|
||||
you can figure out their names (see which `*_label` contains builtin label).
|
||||
|
||||
## CONFIGURATION VIA SYSFS
|
||||
|
||||
### `pwm[1-8]`
|
||||
|
||||
Gets/sets PWM duty cycle or DC value that defines fan speed. Which unit is used
|
||||
depends on what was configured by firmware.
|
||||
|
||||
Accepted values: `0`-`255` (slowest to full speed).
|
||||
|
||||
Writing to this file changes fan control to manual mode.
|
||||
|
||||
Example:
|
||||
|
||||
```
|
||||
# slow down a fan as much as possible (will stop it if the fan supports zero RPM mode)
|
||||
echo 0 > pwm6
|
||||
# fix a fan at around half its speed (actual behaviour depends on the fan)
|
||||
echo 128 > pwm6
|
||||
# full speed
|
||||
echo 255 > pwm6
|
||||
```
|
||||
|
||||
## VERIFIED
|
||||
**1. Fan speed control**
|
||||
|
||||
|
Reference in New Issue
Block a user